FilledButton constructor
FilledButton({
- Key? key,
- required String text,
- ButtonSize size = ButtonSize.l,
- VoidCallback? onClick,
- bool enabled = true,
- ButtonColorType colorType = ButtonColorType.primary,
Implementation
FilledButton({
super.key,
required String text,
this.size = ButtonSize.l,
this.onClick,
this.enabled = true,
this.colorType = ButtonColorType.primary,
}) : content = TextOnlyContent(text);