setSelectionStarted method

void setSelectionStarted(
  1. bool started
)

Sets the selection started state.

When true, the cursor changes to selection cursor to indicate that selection mode is available.

Parameters:

  • started - Whether selection mode has been initiated

Implementation

void setSelectionStarted(bool started) {
  runInAction(() {
    selectionStarted.value = started;
  });
}