ZetaButton.negative constructor

const ZetaButton.negative({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. ZetaWidgetSize size = ZetaWidgetSize.medium,
  5. ZetaWidgetBorder? borderType,
  6. IconData? leadingIcon,
  7. IconData? trailingIcon,
  8. FocusNode? focusNode,
  9. 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;