ButtonStyle enum Null safety

Inheritance

Constructors

ButtonStyle(int value)
const

Values

primary → const ButtonStyle
ButtonStyle(1)
secondary → const ButtonStyle
ButtonStyle(2)
success → const ButtonStyle
ButtonStyle(3)
danger → const ButtonStyle
ButtonStyle(4)
ButtonStyle(5)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ButtonStyle>
A constant List of the values in this enum, in order of their declaration.
[primary, secondary, success, danger, link]