resolveFlexDirection static method
Implementation
static FlexDirection resolveFlexDirection(String flexDirection) {
switch (flexDirection) {
case 'row-reverse':
return FlexDirection.rowReverse;
case 'column':
return FlexDirection.column;
case 'column-reverse':
return FlexDirection.columnReverse;
case 'row':
default:
return FlexDirection.row;
}
}