toast 0.3.0 icon indicating copy to clipboard operation
toast: ^0.3.0 copied to clipboard

Platformweb

A Flutter Toast plugin.

Toast #

A Flutter Toast plugin.

pub package

How to Use #

# add this line to your dependencies
toast: ^0.2.9
import 'package:toast/toast.dart';
ToastContext.init(context);
Toast.show("Toast plugin app", duration: Toast.lengthShort, gravity:  Toast.bottom);
propertydescription
msgString (Not Null)(required)
durationToast.lengthShort or Toast.lengthLong (optional)
gravityToast.top (or) Toast.center[not supported on web] (or) Toast.bottom
textStyleTextStyle (default fontSize:15, color: Colors.white)
backgroundColorColor (default Color(0xAA000000))
backgroundRadiusdouble (default 16)
borderBorder (optional)

toast toast

License #

MIT License
231
likes
100
pub points
99%
popularity

Publisher

unverified uploader

A Flutter Toast plugin.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on toast