Toast class
Constructors
Properties
- child → Widget
-
The widget below this widget in the tree.
no setter
- description → String?
-
The description of toast
final
- duration → Duration
-
The duration of toast animation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
This is the ID of the toast, which is used to prevent duplicate toasts.
final
- leading → Widget?
-
The leading of toast
final
- lifeTime → Duration?
-
Toast will be auto close if lifeTime != null.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
The title of toast
final
-
transitionBuilder
→ Widget Function(Animation<
double> , Widget child, bool isRemoving)? -
The custom transition builder
final
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