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