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
ButtonVariant()
- black → const ButtonVariant
-
Tertiary black button
- Transparent Border
- White Text
- Black Background
ButtonVariant()
- white → const ButtonVariant
-
Tertiary white button
- Transparent Border
- Black Text
- White Background
ButtonVariant()
- blackOutline → const ButtonVariant
-
Secondary black outline button
- Black Border
- Black Text
- Transparent Background
ButtonVariant()
- whiteOutline → const ButtonVariant
-
Secondary white outline button
- White Border
- White Text
- Transparent Background
ButtonVariant()
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]