ZetaIconButton.positive constructor

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

Constructs ZetaIconButton with Positive theme.

Implementation

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