XButtonParams constructor

XButtonParams({
  1. required SSRWidget child,
  2. required XEventTriggerBase? onPressed,
  3. required HubbleButtonState state,
  4. double? width,
  5. double? height,
  6. HubbleButtonSize size = HubbleButtonSize.medium,
  7. bool isGhost = false,
  8. bool isOutlined = false,
  9. 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,
});