static bool minLength(String value, int minLength) { if (value.isEmpty) return false; if (value.length >= minLength) return true; else return false; }