tbib_toast 0.0.2 tbib_toast: ^0.0.2 copied to clipboard
Toast Package.
Toast #
A Flutter Toast plugin.
Toast.show("Toast plugin app", context, duration: Toast.LENGTH_SHORT, gravity: Toast.BOTTOM);
property | description |
---|---|
msg | String (Not Null)(required) |
context | BuildContext (Not Null)(required) |
duration | Toast.LENGTH_SHORT or Toast.LENGTH_LONG (optional) |
gravity | Toast.TOP (or) Toast.CENTER (or) Toast.BOTTOM |
textStyle | TextStyle (default fontSize:15, color: Colors.white) |
backgroundColor | Color (default Color(0xAA000000)) |
backgroundRadius | double (default 16) |
border | Border (optional) |
License #
MIT License