determineFlow method
Implementation
RapidFlowType determineFlow(String style) {
if (RapidFlowConfiguration.acceptedFLowTypes.contains(style)) {
return RapidFlowType.flow;
} else if (RapidFlowConfiguration.acceptedJustify.contains(style)) {
return RapidFlowType.justify;
} else if (RapidFlowConfiguration.acceptedItems.contains(style)) {
return RapidFlowType.items;
} else if (RapidFlowConfiguration.acceptedAxisSize.contains(style)) {
return RapidFlowType.axis;
}
return RapidFlowType.none;
}