FlutterToast class
the package library class for calling from client end.
Constructors
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
-
show(
String msg, BuildContext context, {Duration? duration = const Duration(seconds: 1), FlutterToastPosition position = FlutterToastPosition.bottom, Color backgroundColor = const Color(0xAA000000), dynamic textStyle = const TextStyle(fontSize: 15, color: Colors.white), double backgroundRadius = 20, Border? border}) → void - a fixed value for toast message position method to show the toast message
Constants
- bottom → const int
- a fixed length to show toast message
- center → const int
- a fixed value for toast message position
- lengthLong → const Duration
- a fixed length to show toast message
- lengthShort → const Duration
- top → const int
- a fixed value for toast message position