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
Properties
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