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