LedgerButton.text constructor
const
LedgerButton.text(
- String label, {
- required VoidCallback? onPressed,
- IconData? icon,
- bool iconAfter = false,
- bool expand = false,
- bool isDestructiveAction = false,
- LedgerButtonSize size = LedgerButtonSize.large,
- String? semanticLabel,
- FocusNode? focusNode,
- bool autofocus = false,
- LedgerStyle? style,
- Key? key,
An act with no frame: its words alone, in the ink.
Implementation
const LedgerButton.text(
this.label, {
required this.onPressed,
this.icon,
this.iconAfter = false,
this.expand = false,
this.isDestructiveAction = false,
this.size = LedgerButtonSize.large,
this.semanticLabel,
this.focusNode,
this.autofocus = false,
this.style,
super.key,
}) : _face = _Face.text;