ButtonVariant enum Null safety
This enum specifies the theme that the button should use. The default theme is ButtonVariant.blue.
Options
ButtonVariant.blue
ButtonVariant.black
ButtonVariant.white
ButtonVariant.blackOutline
ButtonVariant.whiteOutline
Constructors
- ButtonVariant()
-
const
Values
- blue → const ButtonVariant
-
Primary blue button
- Transparent Border
- White Text
- Blue Background
const ButtonVariant(0)
- black → const ButtonVariant
-
Tertiary black button
- Transparent Border
- White Text
- Black Background
const ButtonVariant(1)
- white → const ButtonVariant
-
Tertiary white button
- Transparent Border
- Black Text
- White Background
const ButtonVariant(2)
- blackOutline → const ButtonVariant
-
Secondary black outline button
- Black Border
- Black Text
- Transparent Background
const ButtonVariant(3)
- whiteOutline → const ButtonVariant
-
Secondary white outline button
- White Border
- White Text
- Transparent Background
const ButtonVariant(4)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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<
ButtonVariant> -
A constant List of the values in this enum, in order of their declaration.
[blue, black, white, blackOutline, whiteOutline]