Toast class abstract
A lightweight Flutter package for displaying customizable toast messages.
Constructors
- Toast()
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
-
hide(
) → void -
show(
String message, {BuildContext? context, Color backgroundColor = Colors.black87, Color textColor = Colors.white, double fontSize = 16.0, double borderRadius = 10.0, IconData? icon, Color? iconColor, String? image, bool showLeading = false, Duration duration = const Duration(seconds: 2)}) → void