withSelection method

TestSuperEditorConfigurator withSelection(
  1. DocumentSelection? selection
)

Configures the SuperEditor to use the given selection as its initial selection.

Implementation

TestSuperEditorConfigurator withSelection(DocumentSelection? selection) {
  _config.selection = selection;
  return this;
}