ArcoSwitchType enum

开关样式类型,对应官方 Switch.type。

Inheritance
Available extensions

Values

circle → const ArcoSwitchType

圆形(默认):胶囊轨道 + 圆形圆点(min-width 40)。

round → const ArcoSwitchType

圆角矩形轨道 + 圆角矩形圆点(min-width 40)。

line → const ArcoSwitchType

线形:6px 细轨道 + 20px 悬浮圆点(min-width 36,不显示文案)。

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