withSelectionStyles method

TestDocumentConfigurator withSelectionStyles(
  1. SelectionStyles? styles
)

Configures the SuperReader with the given selection styles, which dictate the color of the primary user's selection, and related selection details.

Implementation

TestDocumentConfigurator withSelectionStyles(SelectionStyles? styles) {
  _selectionStyles = styles;
  return this;
}