Answers for "custom error snackbar flutter"

2

custom error snackbar flutter

ScaffoldMessenger.of(context).showSnackBar(SnackBar(
   backgroundColor: Colors.red[300],
     content: Row(
       children: [
         Icon(Icons.error),
         Text('Error Message Here')
      ],
   ),
));
Posted by: Guest on March-03-2022

Code answers related to "Dart"

Browse Popular Code Answers by Language