AntdButton constructor
const
AntdButton({
- Key? key,
- bool? block = false,
- bool? danger = false,
- bool? disabled = false,
- bool? ghost = false,
- String? href,
- IconData? icon,
- bool? loading = false,
- AntdButtonShape? shape = AntdButtonShape.normal,
- AntdButtonSize? size = AntdButtonSize.middle,
- AntdButtonType? type = AntdButtonType.normal,
- String? text,
- VoidCallback? onClick,
- String? semanticLabel,
Implementation
const AntdButton({
super.key,
this.block = false,
this.danger = false,
this.disabled = false,
this.ghost = false,
this.href,
this.icon,
this.loading = false,
this.shape = AntdButtonShape.normal,
this.size = AntdButtonSize.middle,
this.type = AntdButtonType.normal,
this.text,
this.onClick,
this.semanticLabel,
});