CreateAccount class
Layout for Sign Up
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- CreateAccount
Constructors
-
CreateAccount.new({bool isSignInEnabled = false, bool isUsernameEnabled = false, bool isEmailEnabled = true, bool isPasswordEnabled = false, bool useSafeArea = true, List<
SocialAuthProviderElement> socialAuthProviders = const [], AutovalidateMode autoValidateMode = AutovalidateMode.onUserInteraction, TextEditingController? emailController, TextEditingController? passwordController, RegExp? emailRegExp, RegExp? passwordRegExp, String? emailInvalidText, String? passwordInvalidText, EdgeInsets? contentPadding, Widget? logo, void onCreateAccountTap()?, void onSignUpTap()?, void onPasswordRecoveryTap()?, void onPrivacyPolicyTap()?, void onTermsAndConditionTap()?, ButtonStyle? signInGuestButtonStyle, ButtonStyle? signInButtonStyle, TextStyle? eMailLabelStyle, TextStyle? eMailTextStyle, StrutStyle? eMailStrutStyle, dynamic eMailOnChanged(String)?, GestureTapCallback? eMailOnTap, Widget? eMailPrefixIcon, TextStyle? passwordLabelStyle, TextStyle? passwordTextStyle, StrutStyle? passwordStrutStyle, dynamic passwordOnChanged(String)?, GestureTapCallback? passwordOnTap, Widget? passwordPrefixIcon, String pageTitle = 'Create Account', String createAccountButtonText = 'Create Account', String alreadyHaveAnAccountText = 'Already have an account?', String signInButtonText = 'Sign In', String agreeWithText = 'By proceeding, you agree with', String privacyPolicyText = 'Privacy Policy', String termsAndConditionText = 'Terms and Conditions', String andText = 'and', String? emptyEmailText, String? emptyPasswordText, Key? key}) -
const
Properties
- agreeWithText → String
-
final
- alreadyHaveAnAccountText → String
-
final
- andText → String
-
final
- autoValidateMode → AutovalidateMode
-
final
- contentPadding → EdgeInsets?
-
final
- createAccountButtonText → String
-
final
- emailController → TextEditingController?
-
final
- emailInvalidText → String?
-
If you override emailRegExp parameter, pass here error text for your custom RegExp rules
final
- eMailLabelStyle → TextStyle?
-
final
- eMailOnChanged → dynamic Function(String)?
-
final
- eMailOnTap → GestureTapCallback?
-
final
- eMailPrefixIcon → Widget?
-
final
- emailRegExp → RegExp?
-
Pass this parameter, if you want to override default email validation RegExp
final
- eMailStrutStyle → StrutStyle?
-
final
- eMailTextStyle → TextStyle?
-
final
- emptyEmailText → String?
-
final
- emptyPasswordText → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmailEnabled → bool
-
Enables EmailInput
final
- isPasswordEnabled → bool
-
Enables PasswordInput
final
- isSignInEnabled → bool
-
final
- isUsernameEnabled → bool
-
Enables UsernameInput
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- logo → Widget?
-
Here you can use either the package's Logo component, either custom one
final
- onCreateAccountTap → void Function()?
-
final
- onPasswordRecoveryTap → void Function()?
-
final
- onPrivacyPolicyTap → void Function()?
-
final
- onSignUpTap → void Function()?
-
final
- onTermsAndConditionTap → void Function()?
-
final
- pageTitle → String
-
final
- passwordController → TextEditingController?
-
final
- passwordInvalidText → String?
-
If you override passwordRegExp parameter, pass here error text for your custom RegExp rules
final
- passwordLabelStyle → TextStyle?
-
final
- passwordOnChanged → dynamic Function(String)?
-
final
- passwordOnTap → GestureTapCallback?
-
final
- passwordPrefixIcon → Widget?
-
final
- passwordRegExp → RegExp?
-
Pass this parameter, if you want to override default email validation RegExp
final
- passwordStrutStyle → StrutStyle?
-
final
- passwordTextStyle → TextStyle?
-
final
- privacyPolicyText → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signInButtonStyle → ButtonStyle?
-
final
- signInButtonText → String
-
final
- signInGuestButtonStyle → ButtonStyle?
-
final
-
Pass here the list of needed SocialAuthProviderElement objects.
final
- termsAndConditionText → String
-
final
- useSafeArea → bool
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< CreateAccount> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited