AntdButton constructor

const AntdButton({
  1. Key? key,
  2. bool? block = false,
  3. bool? danger = false,
  4. bool? disabled = false,
  5. bool? ghost = false,
  6. String? href,
  7. IconData? icon,
  8. bool? loading = false,
  9. AntdButtonShape? shape = AntdButtonShape.normal,
  10. AntdButtonSize? size = AntdButtonSize.middle,
  11. AntdButtonType? type = AntdButtonType.normal,
  12. String? text,
  13. VoidCallback? onClick,
  14. 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,
});