resolveTextOverflow static method
Implementation
static TextOverflow resolveTextOverflow(String value) {
// Always get text overflow from style cause it is affected by white-space and overflow.
switch(value) {
case 'ellipsis':
return TextOverflow.ellipsis;
case 'fade':
return TextOverflow.fade;
case 'clip':
default:
return TextOverflow.clip;
}
}