ForgotPasswordTemplate constructor
const
ForgotPasswordTemplate({
- Key? key,
- required Future<
void> onSubmit(- String email
- VoidCallback? onBack,
- Widget? logo,
- String title = 'Forgot password?',
- String subtitle = 'Enter your email and we will send you a reset link',
- String submitLabel = 'Send reset link',
- bool busy = false,
- 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,
});