LedgerButton.ink constructor

const LedgerButton.ink(
  1. String label, {
  2. required VoidCallback? onPressed,
  3. IconData? icon,
  4. bool iconAfter = false,
  5. bool expand = false,
  6. bool isDestructiveAction = false,
  7. LedgerButtonSize size = LedgerButtonSize.large,
  8. String? semanticLabel,
  9. FocusNode? focusNode,
  10. bool autofocus = false,
  11. LedgerStyle? style,
  12. 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;