GlossButton.filled constructor

const GlossButton.filled(
  1. String label, {
  2. Key? key,
  3. required VoidCallback? onPressed,
  4. Widget? icon,
  5. bool isDestructiveAction = false,
  6. GlossStyle? style,
  7. FocusNode? focusNode,
  8. bool autofocus = false,
  9. VoidCallback? onLongPress,
})

The jade gel key: the one action a screen is for. With isDestructiveAction it is moulded in ruby, for a dialog's confirm.

Implementation

const GlossButton.filled(
  this.label, {
  super.key,
  required this.onPressed,
  this.icon,
  this.isDestructiveAction = false,
  this.style,
  this.focusNode,
  this.autofocus = false,
  this.onLongPress,
}) : _kind = GlossKeyKind.gel;