XButtonParams constructor
XButtonParams({
- required SSRWidget child,
- required XEventTriggerBase? onPressed,
- required HubbleButtonState state,
- double? width,
- double? height,
- HubbleButtonSize size = HubbleButtonSize.medium,
- bool isGhost = false,
- bool isOutlined = false,
- ButtonTapEvent? tapEvent,
Implementation
XButtonParams({
required this.child,
required this.onPressed,
required this.state,
this.width,
this.height,
this.size = HubbleButtonSize.medium,
this.isGhost = false,
this.isOutlined = false,
this.tapEvent,
});