SmartToastType enum

Inheritance

Constructors

SmartToastType()
const

Values

normal → const SmartToastType

Each toast will be displayed, after the current toast disappears, the next toast will be displayed

每一条toast都会显示,当前toast消失之后,后一条toast才会显示

first → const SmartToastType

Call toast continuously, during the period when the first toast exists on the screen, other toasts called will be invalid

连续调用toast,在第一条toast存在界面的期间内,调用的其它toast都将无效

last → const SmartToastType

Call toast continuously, the next toast will top off the previous toast

连续调用toast,后一条toast会顶掉前一条toast

firstAndLast → const SmartToastType

Call toast continuously, the first toast is displayed normally, and all toasts generated during the first toast display period,only the last toast is valid

连续调用toast,第一条toast正常显示,其显示期间产生的所有toast,仅最后一条toast有效

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<SmartToastType>
A constant List of the values in this enum, in order of their declaration.