PrimaryButton constructor
const
PrimaryButton({
- required String label,
- required VoidCallback onPressed,
- Color? color,
- double? borderRadius,
- EdgeInsetsGeometry? padding,
- Key? key,
Implementation
const PrimaryButton({
required this.label,
required this.onPressed,
this.color,
this.borderRadius,
this.padding,
super.key,
});