BsButtonStyle constructor

const BsButtonStyle({
  1. required Color color,
  2. required Color backgroundColor,
  3. Color borderColor = Colors.transparent,
  4. BorderRadius borderRadius = BorderRadius.zero,
  5. Color? hoverColor,
  6. Color? hoverBackgroundColor,
  7. Color? disabledBackgroundColor,
  8. Color? disabledColor,
  9. Color? disabledBorderColor,
  10. Color? focusBackgroundColor,
  11. 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;