Answers for "setting backgroundColor for snack bar does not change background color"

5

setting backgroundColor for snack bar does not change background color

ScaffoldMessenger.of(context).showSnackBar(
          SnackBar(
            backgroundColor: Colors.green,
            content: const Text('Awesome Snackbar!'),
          ),
        );
Posted by: Guest on August-21-2021

Code answers related to "setting backgroundColor for snack bar does not change background color"

Code answers related to "Dart"

Browse Popular Code Answers by Language