LoginFormController class

LoginFormController : controller of login form use it to get email/username value or password value show error in email/password without validator use case use can show error in username/password if auth failed clear all values

Constructors

LoginFormController()

Properties

email String
get current email/username value
no setter
hashCode int
The hash code for this object.
no setterinherited
password String
get current password value
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEmailError(String error) → void
show error in email/username without validator
addPasswordError(String error) → void
show error in password without validator
clearValues() → void
clear value in textFields
init(LoginFormState state) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate() bool
form validation

Operators

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