AntdButton constructor

const AntdButton({
  1. Key? key,
  2. AntdButtonStyle? style,
  3. AntdStyleBuilder<AntdButtonStyle, AntdButton>? styleBuilder,
  4. bool? block,
  5. AntdColor? color = AntdColor.primary,
  6. bool? disabled,
  7. AntdButtonFill? fill = AntdButtonFill.solid,
  8. AntdButtonShape? shape,
  9. AntdSize size = AntdSize.middle,
  10. FutureVoidCallback? onLoadingTap,
  11. GestureTapCallback? onTap,
  12. Widget? child,
  13. Widget? icon,
  14. bool? loading,
  15. Duration? throttle,
  16. Duration? debounce,
  17. HitTestBehavior? behavior,
})

Implementation

const AntdButton({
  super.key,
  super.style,
  super.styleBuilder,
  this.block,
  this.color = AntdColor.primary,
  this.disabled,
  this.fill = AntdButtonFill.solid,
  this.shape,
  this.size = AntdSize.middle,
  this.onLoadingTap,
  this.onTap,
  this.child,
  this.icon,
  this.loading,
  this.throttle,
  this.debounce,
  this.behavior,
});