HubbleButton.small constructor

const HubbleButton.small({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onPressed,
  4. HubbleButtonState state = HubbleButtonState.enabled,
  5. double? width,
  6. double? height,
  7. bool isGhost = false,
  8. bool isOutlined = false,
  9. ButtonTapEvent? tapEvent,
  10. Color? background,
  11. Color? foreground,
})

Implementation

const HubbleButton.small({
  super.key,
  required this.child,
  required this.onPressed,
  this.state = HubbleButtonState.enabled,
  this.width,
  this.height,
  this.isGhost = false,
  this.isOutlined = false,
  this.tapEvent,
  this.background,
  this.foreground,
}) : size = HubbleButtonSize.small;