getTextCapitalization method
Implementation
TextCapitalization getTextCapitalization(String? value) {
value ??= "default";
switch (value) {
case "words":
return TextCapitalization.words;
case "sentences":
return TextCapitalization.sentences;
case "characters":
return TextCapitalization.characters;
default:
return TextCapitalization.none;
}
}