PrimaryButton constructor

const PrimaryButton({
  1. required String label,
  2. required VoidCallback onPressed,
  3. Color? color,
  4. double? borderRadius,
  5. EdgeInsetsGeometry? padding,
  6. Key? key,
})

Implementation

const PrimaryButton({
  required this.label,
  required this.onPressed,
  this.color,
  this.borderRadius,
  this.padding,
  super.key,
});