ToastIconPosition enum

图标位置枚举

定义图标相对于文本的显示位置,支持左右布局 用于创建带有图标的Toast消息

Inheritance
Available extensions

Values

left → const ToastIconPosition

图标在文字前面(左侧)

这是默认设置,符合大多数从左到右阅读习惯

图标在文字后面(右侧)

用于强调操作按钮或次要信息

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<ToastIconPosition>
A constant List of the values in this enum, in order of their declaration.