检查字符长度
bool exceedLength(String? input, int length) { if (input == null || input.isEmpty) return false; return input.length >= length; }