All you need to do to implement it, is to import MScaffold . dart and change your Scaffold s to MScaffold s. I find this method very convenient so helpfully it can help some other people out too, who are also looking for an easy way to show a SnackBar , regardless of which Scaffold is currently showing.
Read moreWhat is Scaffold Flutter?
The Scaffold is a widget in Flutter used to implements the basic material design visual layout structure . It is quick enough to create a general-purpose mobile application and contains almost everything we need to create a functional and responsive Flutter apps. This widget is able to occupy the whole device screen.
Read more