flexOverflowFromValue function
Implementation
FlexOverflow? flexOverflowFromValue(String? value) {
if (value == null || value.isEmpty) {
return null;
}
switch (value.replaceKey()) {
case 'VISIBLE':
return FlexOverflow.visible;
case 'HIDDEN':
return FlexOverflow.hidden;
case 'SCROLL':
return FlexOverflow.scroll;
default:
_convertError("flexOverflowFromInt Unknown enum value: $value");
return null;
}
}