ZdsButton.muted constructor
- {required Widget child,
- Key? key,
- VoidCallback? onTap,
- bool autofocus = false,
- Clip clipBehavior = Clip.none,
- FocusNode? focusNode,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - EdgeInsets? textPadding,
- Color? customColor,
- String? semanticLabel}
Constructs a muted ZdsButton. (Quaternary button)
The child argument must not be null.
Implementation
const ZdsButton.muted({
required this.child,
super.key,
this.onTap,
this.autofocus = false,
this.clipBehavior = Clip.none,
this.focusNode,
this.onLongPress,
this.onHover,
this.onFocusChange,
this.textPadding,
this.customColor,
this.semanticLabel,
}) : _variant = ZdsButtonVariant.muted,
isOnDarkBackground = false,
isDangerButton = false;