bool isEmailValid(String value) { if (value.isEmpty) return false; return _emailRegex.stringMatch(value) != null; }