BsButtonStyle class
Class for custom BsButton
Constructors
- BsButtonStyle({required Color color, required Color backgroundColor, Color borderColor = Colors.transparent, BorderRadius borderRadius = BorderRadius.zero, Color? hoverColor, Color? hoverBackgroundColor, Color? disabledBackgroundColor, Color? disabledColor, Color? disabledBorderColor, Color? focusBackgroundColor, Color? focusColor})
-
const
Properties
- backgroundColor → Color
-
define backgroundColor of BsButton
final
- borderColor → Color
-
define borderColor of BsButton
final
- borderRadius → BorderRadius
-
define borderRadius of BsButton
final
- color → Color
-
define color of BsButton
final
- disabledBackgroundColor → Color
-
no setter
- disabledBorderColor → Color
-
no setter
- disabledColor → Color
-
no setter
- focusBackgroundColor → Color
-
no setter
- focusColor → Color
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverBackgroundColor → Color?
-
final
- hoverColor → Color
-
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
- danger → const BsButtonStyle
- define style danger button
- dark → const BsButtonStyle
- define style dark button
- info → const BsButtonStyle
- define style info button
- light → const BsButtonStyle
- define style light button
- outlineDanger → const BsButtonStyle
- define style outlineDanger button
- outlineDark → const BsButtonStyle
- define style outlineDark
- outlineInfo → const BsButtonStyle
- define style outlineInfo
- outlineLight → const BsButtonStyle
- define style outlineLight
- outlinePrimary → const BsButtonStyle
- define style outlinePrimary button
- outlineSecondary → const BsButtonStyle
- define style outlineSecondary button
- outlineSuccess → const BsButtonStyle
- define style outlineSuccess button
- outlineWarning → const BsButtonStyle
- define style outlineWarning button
- primary → const BsButtonStyle
- define style primary button
- secondary → const BsButtonStyle
- define style secondary button
- success → const BsButtonStyle
- define style success button
- warning → const BsButtonStyle
- define style warning button