mirror of
https://github.com/Iconica-Development/flutter_login_widget.git
synced 2025-05-19 13:43:44 +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({
|
const ForgotPasswordForm({
|
||||||
super.key,
|
super.key,
|
||||||
required this.options,
|
required this.options,
|
||||||
required this.title,
|
|
||||||
required this.description,
|
required this.description,
|
||||||
required this.onRequestForgotPassword,
|
required this.onRequestForgotPassword,
|
||||||
|
this.title,
|
||||||
this.initialEmail,
|
this.initialEmail,
|
||||||
});
|
});
|
||||||
|
|
||||||
final LoginOptions options;
|
final LoginOptions options;
|
||||||
|
|
||||||
final Widget title;
|
final Widget? title;
|
||||||
final Widget description;
|
final Widget description;
|
||||||
final String? initialEmail;
|
final String? initialEmail;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue