PrimaryButton constructor

const PrimaryButton({
  1. Key? key,
  2. required String title,
  3. VoidCallback? onTap,
  4. bool loading = false,
  5. Color? color,
  6. BorderRadiusGeometry? borderRadius,
})

Implementation

const PrimaryButton({
  super.key,
  required this.title,
  this.onTap,
  this.loading = false,
  this.color,
  this.borderRadius,
});