quarterTurns property

int get quarterTurns

Clockwise quarter turns that rotate a downward-pointing indicator so it points at the wheel's center from this side.

Implementation

int get quarterTurns => switch (this) {
      IndicatorPosition.top => 0,
      IndicatorPosition.right => 1,
      IndicatorPosition.bottom => 2,
      IndicatorPosition.left => 3,
    };