ZetaIconButton.negative constructor

const ZetaIconButton.negative({
  1. Key? key,
  2. bool? rounded,
  3. VoidCallback? onPressed,
  4. ZetaWidgetSize size = ZetaWidgetSize.medium,
  5. ZetaWidgetBorder? borderType,
  6. required IconData icon,
  7. String? semanticLabel,
})

Constructs ZetaIconButton with Negative theme.

Implementation

const ZetaIconButton.negative({
  super.key,
  super.rounded,
  this.onPressed,
  this.size = ZetaWidgetSize.medium,
  this.borderType,
  required this.icon,
  this.semanticLabel,
}) : type = ZetaButtonType.negative;