HubbleButtonStyle constructor

HubbleButtonStyle({
  1. required HubbleButtonStateVariant<Color> color,
  2. required BorderRadius radius,
  3. required HubbleButtonStateVariant<TextStyle> textStyle,
  4. required EdgeInsets padding,
  5. required double height,
  6. required HubbleButtonStateVariant<Border?> border,
  7. HubbleButtonStateVariant<Color> foregroundColor = const HubbleButtonStateVariant<Color>.all(Colors.transparent),
})

Implementation

HubbleButtonStyle({
  required this.color,
  required this.radius,
  required this.textStyle,
  required this.padding,
  required this.height,
  required this.border,
  this.foregroundColor = const HubbleButtonStateVariant<Color>.all(
    Colors.transparent,
  ),
});