setting backgroundColor for snack bar does not change background color

251

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

Comments

Submit
0 Comments