SFMainButton constructor
const
SFMainButton({
- required String label,
- VoidCallback? onPressed,
- ComponentSize size = ComponentSize.md,
- Color? color,
- bool disabled = false,
- FocusNode? focusNode,
- String? semanticsLabel,
- Key? key,
Implementation
const SFMainButton({
required this.label,
this.onPressed,
this.size = ComponentSize.md,
this.color,
this.disabled = false,
this.focusNode,
this.semanticsLabel,
super.key,
});