ZdsButton constructor
- {required Widget child,
- Key? key,
- VoidCallback? onTap,
- bool isDangerButton = false,
- bool autofocus = false,
- Clip clipBehavior = Clip.none,
- FocusNode? focusNode,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - EdgeInsets? textPadding,
- String? semanticLabel}
Creates a filled ZdsButton. (Primary button). Use ZdsButton.filled until old buttons are fully removed. Currently, this acts as a backward compatible constructor for the old buttons.
Implementation
const ZdsButton