TipType enum
提示类型
Values
- tip → const TipType
-
小贴士
const TipType(Colors.amber, Icons.tips_and_updates)
- warning → const TipType
-
警告
const TipType(Colors.deepOrange, Icons.warning)
- danger → const TipType
-
危险
const TipType(Colors.red, Icons.dangerous)
- info → const TipType
-
信息
const TipType(Colors.blue, Icons.info)
- notice → const TipType
-
提示
const TipType(Colors.orange, Icons.notifications)
Properties
- color → MaterialColor
-
该类型所颜色
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
该类型所对应的图标
final
- 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