Skip to content

Dyanwen/FlutterToast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
border Border (optional)

toast toast

License

MIT License

About

Flutter Toast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 100.0%