toEdge method

void toEdge({
  1. Vector3 edge = LEFT,
  2. double buffer = DEFAULT_MOBJECT_TO_EDGE_BUFFER,
})

Implementation

void toEdge(
    {Vector3 edge = LEFT, double buffer = DEFAULT_MOBJECT_TO_EDGE_BUFFER}) {
  alignOnBorder(edge, buffer: buffer);
}