AntdButton constructor
const
AntdButton({
- Key? key,
- AntdButtonStyle? style,
- AntdStyleBuilder<
AntdButtonStyle, AntdButton> ? styleBuilder, - bool? block,
- AntdColor? color = AntdColor.primary,
- bool? disabled,
- AntdButtonFill? fill = AntdButtonFill.solid,
- AntdButtonShape? shape,
- AntdSize size = AntdSize.middle,
- FutureVoidCallback? onLoadingTap,
- GestureTapCallback? onTap,
- Widget? child,
- Widget? icon,
- bool? loading,
- Duration? throttle,
- Duration? debounce,
- 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,
});