FUIButton constructor
const
FUIButton({
- Key? key,
- required String label,
- IconData? icon,
- VoidCallback? onPressed,
- FUIButtonVariant variant = FUIButtonVariant.primary,
- bool fullWidth = false,
- bool small = false,
- bool loading = false,
Implementation
const FUIButton({
super.key,
required this.label,
this.icon,
this.onPressed,
this.variant = FUIButtonVariant.primary,
this.fullWidth = false,
this.small = false,
this.loading = false,
});