resolveAxis static method

Axis resolveAxis(
  1. String sliverDirection
)

Implementation

static Axis resolveAxis(String sliverDirection) {
  switch (sliverDirection) {
    case ROW:
      return Axis.horizontal;

    case COLUMN:
    default:
      return Axis.vertical;
  }
}