build method
Implementation
@override
Widget build(BuildContext context) {
final handlesDifferentSignInMethod = this
.actions
// ignore: deprecated_member_use_from_same_package
.whereType<AuthStateChangeAction<DifferentSignInMethodsFound>>()
.isNotEmpty;
final actions = [
...this.actions,
if (!handlesDifferentSignInMethod)
AuthStateChangeAction(_signInWithDifferentProvider)
];
return FirebaseUIActions(
actions: actions,
child: LoginScreen(
styles: styles,
loginViewKey: loginViewKey,
action: AuthAction.signIn,
providers: providers,
auth: auth,
headerMaxExtent: headerMaxExtent,
headerBuilder: headerBuilder,
sideBuilder: sideBuilder,
desktopLayoutDirection: desktopLayoutDirection,
oauthButtonVariant: oauthButtonVariant,
email: email,
resizeToAvoidBottomInset: resizeToAvoidBottomInset,
showAuthActionSwitch: showAuthActionSwitch,
subtitleBuilder: subtitleBuilder,
footerBuilder: footerBuilder,
breakpoint: breakpoint,
showPasswordVisibilityToggle: showPasswordVisibilityToggle,
maxWidth: maxWidth,
),
);
}