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才会显示

last → const SmartToastType

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

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

onlyRefresh → const SmartToastType

When the toast is called continuously, if the previous toast does not disappear, only the toast content is refreshed, and the toast will not be closed and reopened

连续调用toast时, 如果上一条toast未消失, 仅刷新toast内容, 并不会关闭toast重新打开

multi → const SmartToastType

Can display multi toasts at the same time

可同时显示多个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.