fields method
Returns the fields for the form
Implementation
@override
fields() => [
Field.email("Email",
autofocus: autofocus,
validate: emailValidationRule == null
? null
: FormValidator.rule(emailValidationRule,
message: emailValidationMessage),
style: _style),
Field.password("Password",
viewable: passwordViewable,
validate: passwordValidationRule == null
? null
: FormValidator.rule(passwordValidationRule,
message: passwordValidationMessage),
style: _style),
];