ForgotPasswordTemplate constructor

const ForgotPasswordTemplate({
  1. Key? key,
  2. required Future<void> onSubmit(
    1. String email
    ),
  3. VoidCallback? onBack,
  4. String title = 'Forgot password?',
  5. String subtitle = 'Enter your email and we will send you a reset link',
  6. String submitLabel = 'Send reset link',
  7. bool busy = false,
  8. TextEditingController? emailController,
})

Implementation

const ForgotPasswordTemplate({
  super.key,
  required this.onSubmit,
  this.onBack,
  this.logo,
  this.title = 'Forgot password?',
  this.subtitle = 'Enter your email and we will send you a reset link',
  this.submitLabel = 'Send reset link',
  this.busy = false,
  this.emailController,
});