mirror of
https://github.com/Iconica-Development/flutter_login_widget.git
synced 2025-05-19 05:33:45 +02:00
Make the title optional on the ForgotPasswordForm
A title is not always required. For example sometimes you'd want to put the title in an appbar outside the form instead.
This commit is contained in:
parent
92a1af6d72
commit
21deb0e821
1 changed files with 2 additions and 2 deletions
|
@ -7,15 +7,15 @@ class ForgotPasswordForm extends StatefulWidget {
|
|||
const ForgotPasswordForm({
|
||||
super.key,
|
||||
required this.options,
|
||||
required this.title,
|
||||
required this.description,
|
||||
required this.onRequestForgotPassword,
|
||||
this.title,
|
||||
this.initialEmail,
|
||||
});
|
||||
|
||||
final LoginOptions options;
|
||||
|
||||
final Widget title;
|
||||
final Widget? title;
|
||||
final Widget description;
|
||||
final String? initialEmail;
|
||||
|
||||
|
|
Loading…
Reference in a new issue