Can I create something similar to Toasts in Flutter?
Just a tiny notification window that is not directly in the face of the user and does not lock or fade the view behind it.
android-toastdartfluttertoast
Can I create something similar to Toasts in Flutter?
Just a tiny notification window that is not directly in the face of the user and does not lock or fade the view behind it.
Best Answer
UPDATE:
Scaffold.of(context).showSnackBar
is deprecated in Flutter 2.0.0 (stable)You can access the parent
ScaffoldMessengerState
usingScaffoldMessenger.of(context)
.Then do something like
Snackbars are the official "Toast" from material design. See Snackbars.
Here is a fully working example: