selections property

List<Selection> get selections

The selections in this text editor. The primary selection is always at index 0.

Implementation

_i2.List<_i3.Selection> get selections => (_i5.getProperty(
      this,
      'selections',
    ) as _i2.List)
        .cast();
set selections (List<Selection> value)

Implementation

set selections(_i2.List<_i3.Selection> value) {
  _i5.setProperty(
    this,
    'selections',
    value,
  );
}