PrimaryButton constructor
const
PrimaryButton({})
Implementation
const PrimaryButton({
Key? key,
required String label,
void Function()? onPressed,
bool isLoading = false,
}) : super(
key: key,
label: label,
backgroundColor: charcoal,
textColor: Colors.white,
onPressed: onPressed,
isLoading: isLoading,
shadowOpacity: 0.5,
);