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