toast 0.1.5
toast: ^0.1.5 copied to clipboard

Flutter Android iOS Linux macOS web Windows

A Flutter Toast plugin.

Toast #

A Flutter Toast plugin.

How to Use #

# add this line to your dependencies
toast: ^0.1.5
import 'package:toast/toast.dart';"Toast plugin app", context, duration: Toast.LENGTH_SHORT, gravity:  Toast.BOTTOM);
msgString (Not Null)(required)
contextBuildContext (Not Null)(required)
durationToast.LENGTH_SHORT or Toast.LENGTH_LONG (optional)
gravityToast.TOP (or) Toast.CENTER (or) Toast.BOTTOM
textColorColor (default white)
backgroundColorColor (default Color(0xAA000000))
backgroundRadiusdouble (default 16)
borderBorder (optional)

toast toast

License #

MIT License