Android Toast Library for Flutter
# add this line to your dependencies fluttertoast: ^2.1.5
Fluttertoast.showToast( msg: "This is Center Short Toast", toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.CENTER, timeInSecForIos: 1, backgroundColor: Colors.red, textColor: Colors.white );
|msg||String (Not Null)(required)|
|toastLength||Toast.LENGTH_SHORT or Toast.LENGTH_LONG (optional)|
|gravity||ToastGravity.TOP (or) ToastGravity.CENTER (or) ToastGravity.BOTTOM|
|timeInSecForIos||int (only for ios)|
*iOS Color Fix
Demonstrates how to use the fluttertoast plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: fluttertoast: ^2.1.5
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|2.1.5||Dec 12, 2018|
|2.1.4||Dec 9, 2018|
|2.1.3||Dec 8, 2018|
|2.1.2||Dec 1, 2018|
|2.1.1||Nov 17, 2018|
|2.1.0||Nov 6, 2018|
|2.0.9||Oct 10, 2018|
|2.0.8||Sep 28, 2018|
|2.0.7||Jul 24, 2018|
|2.0.6||Jul 10, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
The description is too short. (-20 points)
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.