valid property

bool get valid

Implementation

bool get valid {
  hideKeyBoard();
  bool validValue = true;
  for (var element in keys) {
    if (element.currentState != null &&
        !element.currentState.checkValidate()) {
      validValue = false;
    }
  }
  return validValue;
}