setShorthandFlexFlow static method

void setShorthandFlexFlow(
  1. Map<String, String?> properties,
  2. String shorthandValue
)

Implementation

static void setShorthandFlexFlow(Map<String, String?> properties, String shorthandValue) {
  List<String?>? values = _getFlexFlowValues(shorthandValue);
  if (values == null) return;
  properties[FLEX_DIRECTION] = values[0];
  properties[FLEX_WRAP] = values[1];
}