isValidFlexDirectionValue static method

bool isValidFlexDirectionValue(
  1. String val
)

Implementation

static bool isValidFlexDirectionValue(String val) {
  return val == 'row' || val == 'row-reverse' || val == 'column' || val == 'column-reverse';
}