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