PrimaryButton constructor
const
PrimaryButton({
- Key? key,
- required String label,
- VoidCallback? onPressed,
- bool isLoading = false,
Implementation
const PrimaryButton({
Key? key,
required this.label,
this.onPressed,
this.isLoading = false,
}) : super(key: key);