isAlphabetOnly property
bool
isAlphabetOnly
Checks if string consist only Alphabet. (No Whitespace)
Implementation
bool get isAlphabetOnly => hasMatch(r'^[a-zA-Z]+$');
Checks if string consist only Alphabet. (No Whitespace)
bool get isAlphabetOnly => hasMatch(r'^[a-zA-Z]+$');