parseDirection static method
Implementation
static TextDirection? parseDirection(String value) {
switch (value) {
case LTR:
return TextDirection.ltr;
case RTL:
return TextDirection.rtl;
case INHERIT:
return TextDirection.ltr;
}
return null;
}