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.