Fluttertoast class

Plugin to show a toast message on screen Only for android, ios and Web platforms

Constructors

Fluttertoast()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

cancel() Future<bool?>
Let say you have an active show Use this method to hide the toast immediately
showToast({required String msg, Toast? toastLength, int timeInSecForIosWeb = 1, double? fontSize, String? fontAsset, ToastGravity? gravity, Color? backgroundColor, Color? textColor, bool webShowClose = false, dynamic webBgColor = "linear-gradient(to right, #00b09b, #96c93d)", dynamic webPosition = "right"}) Future<bool?>
Show the msg via native platform's toast.