Answers for "change snackbar background color material"

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 "change snackbar background color material"

Code answers related to "Dart"

Browse Popular Code Answers by Language