GlossButton.filled constructor
const
GlossButton.filled(
- String label, {
- Key? key,
- required VoidCallback? onPressed,
- Widget? icon,
- bool isDestructiveAction = false,
- GlossStyle? style,
- FocusNode? focusNode,
- bool autofocus = false,
- 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;