Toast

A Flutter Toast plugin.

Toast.show("Toast plugin app", context, duration: Toast.LENGTH_SHORT, gravity:  Toast.BOTTOM);
propertydescription
msgString (Not Null)(required)
contextBuildContext (Not Null)(required)
durationToast.LENGTH_SHORT or Toast.LENGTH_LONG (optional)
gravityToast.TOP (or) Toast.CENTER (or) Toast.BOTTOM
textStyleTextStyle (default fontSize:15, color: Colors.white)
backgroundColorColor (default Color(0xAA000000))
backgroundRadiusdouble (default 16)
borderBorder (optional)

toast toast

License

MIT License

Libraries

tbib_toast