Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter snackbar

final snackBar = SnackBar(
            content: const Text('Yay! A SnackBar!'),
            action: SnackBarAction(
              label: 'Undo',
              onPressed: () {},
            ),
          );
ScaffoldMessenger.of(context).showSnackBar(snackBar);
Source by flutter.dev #
 
PREVIOUS NEXT
Tagged: #flutter #snackbar
ADD COMMENT
Topic
Name
9+6 =