setShorthandPlaceItems static method

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

Implementation

static void setShorthandPlaceItems(Map<String, String?> properties, String shorthandValue) {
  final ({String align, String justify})? axes = _parsePlaceShorthandAxes(shorthandValue);
  if (axes == null) return;
  properties[ALIGN_ITEMS] = axes.align;
  properties[JUSTIFY_ITEMS] = axes.justify;
}