cursorController property

set cursorController (CursorController? v)

The cursor publication this viewport clips.

A descendant editor that scrolls out of the viewport must not publish a terminal cursor there. Without a controller the viewport clips nothing, so a host that builds this render object directly passes the owner's controller to keep that guarantee.

Implementation

set cursorController(CursorController? v) {
  if (identical(_cursorController, v)) return;
  _cursorController = v;
  markNeedsPaint();
}