ToastAnimation enum
Represents the animation type to be used when displaying the toast.
Values
- none → const ToastAnimation
-
No animation.
- slide → const ToastAnimation
-
Slides the toast into view.
- fade → const ToastAnimation
-
Fades the toast into view.
- scale → const ToastAnimation
-
Scales the toast from a smaller size to its final size.
- bounce → const ToastAnimation
-
Bounces the toast into view.
- rotate → const ToastAnimation
-
Rotates the toast into view.
- zoom → const ToastAnimation
-
Zooms the toast from a smaller size to its final size.
- wobble → const ToastAnimation
-
Wobbles the toast from side to side as it appears.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
ToastAnimation> - A constant List of the values in this enum, in order of their declaration.