SignIn constructor
const
SignIn({
- required AuthType authType,
- bool isResetPasswordEnabled = false,
- bool isSignUpEnabled = false,
- bool isGuestEnabled = false,
- bool useSafeArea = true,
- List<
SocialAuthProviderElement> socialAuthProviders = const [], - TextEditingController? emailController,
- TextEditingController? passwordController,
- EdgeInsets? contentPadding,
- Widget? logo,
- void onCreateAccountTap()?,
- void onSignInTap()?,
- void onSignInAsGuestTap()?,
- void onPasswordRecoveryTap()?,
- TextStyle? eMailLabelStyle,
- TextStyle? eMailTextStyle,
- StrutStyle? eMailStrutStyle,
- dynamic eMailOnChanged()?,
- GestureTapCallback? eMailOnTap,
- Widget? eMailPrefixIcon,
- TextStyle? passwordLabelStyle,
- TextStyle? passwordTextStyle,
- StrutStyle? passwordStrutStyle,
- dynamic passwordOnChanged()?,
- GestureTapCallback? passwordOnTap,
- Widget? passwordPrefixIcon,
- ButtonStyle? signInButtonStyle,
- ButtonStyle? signInGuestButtonStyle,
- Key? key,
- String screenTitle = 'Sign In',
- String signInButtonTitle = 'Sign In',
- String guestSignInButtonTitle = 'Sign in as Guest',
- String dontHaveAnAccountText = 'Don\'t have an account?',
- String createAnAccountText = 'Create an account',
- String? emailHintText,
- String? passwordHintText,
- String? passwordRecoveryText,
Implementation
const SignIn({
required this.authType,
this.isResetPasswordEnabled = false,
this.isSignUpEnabled = false,
this.isGuestEnabled = false,
this.useSafeArea = true,
this.socialAuthProviders = const [],
this.emailController,
this.passwordController,
this.contentPadding,
this.logo,
this.onCreateAccountTap,
this.onSignInTap,
this.onSignInAsGuestTap,
this.onPasswordRecoveryTap,
this.eMailLabelStyle,
this.eMailTextStyle,
this.eMailStrutStyle,
this.eMailOnChanged,
this.eMailOnTap,
this.eMailPrefixIcon,
this.passwordLabelStyle,
this.passwordTextStyle,
this.passwordStrutStyle,
this.passwordOnChanged,
this.passwordOnTap,
this.passwordPrefixIcon,
this.signInButtonStyle,
this.signInGuestButtonStyle,
super.key,
this.screenTitle = 'Sign In',
this.signInButtonTitle = 'Sign In',
this.guestSignInButtonTitle = 'Sign in as Guest',
this.dontHaveAnAccountText = 'Don\'t have an account?',
this.createAnAccountText = 'Create an account',
this.emailHintText,
this.passwordHintText,
this.passwordRecoveryText,
});