showForgotPasswordScreen function
Future<void>
showForgotPasswordScreen({
- required BuildContext context,
- FirebaseAuth? auth,
- String? email,
- WidgetBuilder? subtitleBuilder,
Implementation
Future<void> showForgotPasswordScreen({
required BuildContext context,
FirebaseAuth? auth,
String? email,
WidgetBuilder? subtitleBuilder,
WidgetBuilder? footerBuilder,
}) async {
final route = createPageRoute(
context: context,
builder: (_) => FlutterFireUIActions.inherit(
from: context,
child: ForgotPasswordScreen(
auth: auth,
email: email,
footerBuilder: footerBuilder,
subtitleBuilder: subtitleBuilder,
),
),
);
await Navigator.of(context).push(route);
}