SharedPrimaryButton constructor

const SharedPrimaryButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. bool disabled = false,
  5. bool loading = false,
  6. bool centered = false,
  7. Widget? iconRight,
})

Implementation

const SharedPrimaryButton({
  Key? key,
  required this.label,
  this.onPressed,
  this.disabled = false,
  this.loading = false,
  this.centered = false,
  this.iconRight,
}) : super(key: key);