EmailConfig class

EmailConfig is responsible for customization of signIn and SignUp fields you can add additonal fields and remove them as well Example remove Confirm Password fields

   final signUpfields = getSignUpFields();
     // Removes Confirm Password fields
     signUpfields.removeLast();
     Email(config: EmailConfig(signUpFields: signUpfields));

Constructors

EmailConfig({List<Function1<GlobalKey<FormBuilderState>, Widget>> signInFields = const [], List<Function1<GlobalKey<FormBuilderState>, Widget>> signUpFields = const [], bool emailVerificationRequired = true})

Properties

emailVerificationRequired bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
signInFields List<Function1<GlobalKey<FormBuilderState>, Widget>>
read / write
signUpFields List<Function1<GlobalKey<FormBuilderState>, Widget>>
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited