flexOverflowFromValue function

FlexOverflow? flexOverflowFromValue(
  1. String? value
)

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;
  }
}