LedgerButton.ink constructor
const
LedgerButton.ink(
- 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,
A firm act on a raised surface, filled with the ink.
Implementation
const LedgerButton.ink(
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.ink;