BsButtonStyle constructor
const
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,
Implementation
const BsButtonStyle({
required this.color,
required this.backgroundColor,
this.borderColor = Colors.transparent,
this.borderRadius = BorderRadius.zero,
Color? hoverColor,
this.hoverBackgroundColor,
Color? disabledBackgroundColor,
Color? disabledColor,
Color? disabledBorderColor,
Color? focusBackgroundColor,
Color? focusColor,
}) : _disabledBackgroundColor = disabledBackgroundColor,
_disabledColor = disabledColor,
_disabledBorderColor = disabledBorderColor,
_hoverColor = hoverColor,
_focusBackgroundColor = focusBackgroundColor,
_focusColor = focusColor;