Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

show snackbar without scaffold flutter

void _showToast(BuildContext context) {
  final scaffold = Scaffold.of(context);
  scaffold.showSnackBar(
    SnackBar(
      content: const Text('Updating..'),
    ),
  );

this._showToast(context);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #snackbar #scaffold #flutter
ADD COMMENT
Topic
Name
6+9 =