isAlphabetOnly property

bool get isAlphabetOnly

Checks if string consist only Alphabet. (No Whitespace)

Implementation

bool get isAlphabetOnly => matchesRegex(r'^[a-zA-Z]+$');