validate method

bool validate()

Validates every FormField that is a descendant of this Form, and returns true if there are no errors.

The form will rebuild to report the results.

See also:

Implementation

bool validate() {
  _hasInteractedByUser = true;
  _forceRebuild();
  return _validate();
}