Skip to content
Flutter Toast
Branch: master
Clone or download
赵舒林
Latest commit fcffcf2 Apr 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example/lib fix ios bug Apr 1, 2019
lib fix ios bug Apr 1, 2019
screenshot update homepage Dec 25, 2018
.gitignore fix ios bug Jan 14, 2019
.metadata first commit Dec 25, 2018
CHANGELOG.md
LICENSE Update LICENSE Dec 25, 2018
README.md Merge remote-tracking branch 'origin/master' Apr 1, 2019
pubspec.yaml fix ios bug Apr 1, 2019

README.md

Toast

A Flutter Toast plugin.

How to Use

# add this line to your dependencies
toast: ^0.1.4
import 'package:toast/toast.dart';
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
textColor Color (default white)
backgroundColor Color (default Color(0xAA000000))
backgroundRadius double (default 16)

toast toast

License

MIT License
You can’t perform that action at this time.