endForAxis method

int endForAxis(
  1. Axis axis
)

Implementation

int endForAxis(Axis axis) => axis == Axis.horizontal ? columnEnd : rowEnd;