HubbleButton.smallExpanded constructor

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

Implementation

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