You can write a simple validator, that compares a string to its upper case equivalent
bool isUppercase(String str) {
return str == str.toUpperCase();
}
implementation
void main(){
String str = "Hello World!";
bool startsWithUppercase = isUppercase(str[0]);
print("Starts with upper case: $startsWithUppercase");
}
The docs https://pub.dev/documentation/string_validator/latest/string_validator/isUppercase.html shows how to check if a string is uppercase in dart