HubbleButton constructor
const
HubbleButton({
- Key? key,
- required Widget child,
- required VoidCallback onPressed,
- HubbleButtonState state = HubbleButtonState.enabled,
- double? width,
- double? height,
- HubbleButtonSize size = HubbleButtonSize.medium,
- bool isGhost = false,
- ButtonTapEvent? tapEvent,
- bool isOutlined = false,
- Color? background,
- Color? foreground,
Implementation
const HubbleButton({
super.key,
required this.child,
required this.onPressed,
this.state = HubbleButtonState.enabled,
this.width,
this.height,
this.size = HubbleButtonSize.medium,
this.isGhost = false,
this.tapEvent,
this.isOutlined = false,
this.background,
this.foreground,
});