flexMeasureModeFromInt function
Implementation
FlexMeasureMode flexMeasureModeFromInt(int value) {
switch (value) {
case 0:
return FlexMeasureMode.undefined;
case 1:
return FlexMeasureMode.exactly;
case 2:
return FlexMeasureMode.atMost;
default:
throw ArgumentError("flexMeasureModeFromInt Unknown enum value: $value");
}
}