ZetaButton.negative constructor
- Key? key,
- required String label,
- VoidCallback? onPressed,
- ZetaWidgetSize size = ZetaWidgetSize.medium,
- ZetaWidgetBorder? borderType,
- IconData? leadingIcon,
- IconData? trailingIcon,
- FocusNode? focusNode,
- String? semanticLabel,
Constructs ZetaButton with Negative theme.
Implementation
const ZetaButton.negative({
super.key,
required this.label,
this.onPressed,
this.size = ZetaWidgetSize.medium,
this.borderType,
this.leadingIcon,
this.trailingIcon,
this.focusNode,
this.semanticLabel,
}) : type = ZetaButtonType.negative;