ZetaIconButton.secondary constructor

const ZetaIconButton.secondary({
  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 Secondary theme.

Implementation

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