ComicButton.text constructor

const ComicButton.text(
  1. String label, {
  2. Key? key,
  3. VoidCallback? onPressed,
  4. IconData? icon,
  5. Widget? leading,
  6. ComicButtonSize size = ComicButtonSize.medium,
  7. bool busy = false,
  8. bool? showBusy,
  9. bool wide = false,
  10. FocusNode? focusNode,
  11. bool autofocus = false,
  12. ComicStyle? style,
  13. bool isDestructiveAction = false,
})

Creates a text button: the words alone, with no box at rest.

Implementation

const ComicButton.text(
  this.label, {
  super.key,
  this.onPressed,
  this.icon,
  this.leading,
  this.size = ComicButtonSize.medium,
  this.busy = false,
  this.showBusy,
  this.wide = false,
  this.focusNode,
  this.autofocus = false,
  this.style,
  this.isDestructiveAction = false,
}) : _variant = _ButtonVariant.text;