PrimaryButton constructor

const PrimaryButton({
  1. Key? key,
  2. required String title,
  3. required VoidCallback onPressed,
  4. bool? loading = false,
  5. Color? color,
  6. double? height,
  7. double? width,
})

Implementation

const PrimaryButton({
  super.key,
  required this.title,
  required this.onPressed,
  this.loading=false,
  this.color,
  this.height,
  this.width,
});