isValid property

bool isValid

Indicates whether the form associated with the GlobalKey

Implementation

bool get isValid {
  return currentState != null && currentState!.validate();
}