flutter snackbar action button text color

62

ScaffoldMessenger.of(context).showSnackBar(
          SnackBar(
            backgroundColor: Colors.green,
            content: const Text('Awesome Snackbar!'),
          ),
        );

Comments

Submit
0 Comments