LuckyButtonStyleEnum enum
An enumeration of button styles.
Values
- primary → const LuckyButtonStyleEnum
-
primary - A primary button with a primary color background and white text.
- primaryAlternative → const LuckyButtonStyleEnum
-
primaryAlternative - A primary alternative button with a onSurface background and surface text.
- secondary → const LuckyButtonStyleEnum
-
secondary - A secondary button with a surface background, onSurface text and a border.
- secondaryAlternative → const LuckyButtonStyleEnum
-
secondaryAlternative - A secondary alternative button with a n100 background and onSurface text.
- picker → const LuckyButtonStyleEnum
-
picker - A picker button with a surface background, onSurface text and a border.
- transparent → const LuckyButtonStyleEnum
-
transparent - A secondary button with a transparent background and onSurface text.
- glassmorphism → const LuckyButtonStyleEnum
-
glassmorphism - A secondary button with a transparent background with glassmorphism effect and onSurface text.
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<
LuckyButtonStyleEnum> - A constant List of the values in this enum, in order of their declaration.