SnackBar is used to show some quick information to the user in Android app. Flutter allows you to use SnackBar with scaffold or ScaffoldState key / Global key.
The Get Framework, dependency management tool, allows you to use SnackBar and without using scaffold. Get has its own dependency /state management system so we need not feel the pain.
So how how do we use it , add the dependency first at yaml file
dependencies: flutter: sdk: flutter get:
import the package and go on with Snackbar
You can use SnackBar options in case miss something. Forget the Scaffold for a while. Get is lightweight ,secure and fast.
You may also interested in these Get tutorials