PrimaryButton constructor

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

Implementation

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