PathOrder.byPosition constructor Null safety

  1. {required AxisDirection direction}

The PathSegment order is defined according to its position in the overall bounding box. The position is defined as the center of the respective bounding box of each PathSegment element. The field direction specifies in which direction the position attribute is compared.


PathOrder.byPosition({required AxisDirection direction})
    : _comparator = _byPosition(direction: direction);