PrimaryButton constructor

const PrimaryButton({
  1. Key? key,
  2. required String title,
  3. VoidCallback? onPressed,
  4. List<BoxShadow>? boxShadow,
  5. bool loading = false,
  6. double borderRadius = 12.0,
})

Implementation

const PrimaryButton({
  Key? key,
  required this.title,
  this.onPressed,
  this.boxShadow,
  this.loading = false,
  this.borderRadius = 12.0,
}) : super(key: key);