isValidStrings static method

bool isValidStrings(
  1. List<String> values, {
  2. int maxLength = 0,
  3. int minLength = 0,
  4. RegExp? regs,
})

Implementation

static bool isValidStrings(
  List<String> values, {
  int maxLength = 0,
  int minLength = 0,
  RegExp? regs,
}) {
  List<bool> list = [];
  for (String value in values) {
    if (Validator.isValidString(
      value,
      maxLength: maxLength,
      minLength: minLength,
      regs: regs,
    )) {
      list.add(true);
    }
  }
  return list.length == values.length;
}