pushHandleLayers method Null safety

void pushHandleLayers(
  1. LayerLink? startHandle,
  2. LayerLink? endHandle
)

Marks this handler to be responsible for pushing LeaderLayers for the selection handles.

This handler is responsible for pushing the leader layers with the given layer links if they are not null. It is possible that only one layer is non-null if this handler is only responsible for pushing one layer link.

The startHandle needs to be placed at the visual location of selection start, the endHandle needs to be placed at the visual location of selection end. Typically, the visual locations should be the same as SelectionGeometry.startSelectionPoint and SelectionGeometry.endSelectionPoint.

Implementation

void pushHandleLayers(LayerLink? startHandle, LayerLink? endHandle);