valid property Null safety

bool valid

Implementation

bool get valid {
  hideKeyBoard();
  bool _valid = true;
  keys.forEach((element) {
    if (element.currentState != null &&
        !element.currentState.checkValidate()) {
      _valid = false;
    }
  });
  return _valid;
}