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