LoadingButton constructor
const
LoadingButton({
- Key? key,
- required String label,
- required VoidCallback onPressed,
- bool loading = false,
- IconData? icon,
- ButtonVariant variant = ButtonVariant.primary,
- bool expanded = false,
- double? width,
- double height = 48,
- double radius = AppRadius.medium,
Implementation
const LoadingButton({
super.key,
required this.label,
required this.onPressed,
this.loading = false,
this.icon,
this.variant = ButtonVariant.primary,
this.expanded = false,
this.width,
this.height = 48,
this.radius = AppRadius.medium,
});