Answers for "how to change snackbar color in flutter"

1

flutter snackbar action button text color

action: SnackBarAction(
              textColor: Colors.white,
              label: 'Action',
              onPressed: () {},
            ),
Posted by: Guest on August-24-2021
5

flutter snackbar 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 "Dart"

Browse Popular Code Answers by Language