AuthButton constructor

const AuthButton({
  1. Key? key,
  2. required String label,
  3. void onPressed()?,
  4. AuthButtonVariant variant = AuthButtonVariant.primary,
  5. bool loading = false,
  6. bool fullWidth = true,
  7. bool disabled = false,
  8. String type = 'button',
})

Implementation

const AuthButton({
  super.key,
  required this.label,
  this.onPressed,
  this.variant = AuthButtonVariant.primary,
  this.loading = false,
  this.fullWidth = true,
  this.disabled = false,
  this.type = 'button',
});