Top UI snackbar for flutter
Modern UI snackbar widget for flutter
Just for Flutter, the modern and smart UI snackbar widget is ready to start.
First of all, the first important thing, you totally can use this package if you want to display the user some pieces of information in an easy way. The API is as simple as API for regular Material method showDialog. In addition, a different important thing, if you need to use your own widget to display, you can pass it into showTopSnackBar function.
In order to display a CustomSnackBar you need to find a showTopSnackBar function. You can pass there any widget you want
but we have a CustomSnackBar for example.
showTopSnackBar( context, CustomSnackBar.success( message: "Good job, your release is successful. Have a nice day", ), );
showTopSnackBar( context, CustomSnackBar.info( message: "There is some information. You need to do something with that", ), );
showTopSnackBar( context, CustomSnackBar.error( message: "Something went wrong. Please check your credentials and try again", ), );