length property

set length (int length)

Set the length of the region of text that should be replaced by the selected completion suggestion.

The length can only be set once and applies to all of the suggestions. Hence, this setter throws a StateError if the length has already been set.

Implementation

set length(int length);