ComicButton.text constructor
const
ComicButton.text(
- String label, {
- Key? key,
- VoidCallback? onPressed,
- IconData? icon,
- Widget? leading,
- ComicButtonSize size = ComicButtonSize.medium,
- bool busy = false,
- bool? showBusy,
- bool wide = false,
- FocusNode? focusNode,
- bool autofocus = false,
- ComicStyle? style,
- 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;