rangeBehavior property

DecorationRangeBehavior? get rangeBehavior

Customize the growing behavior of the decoration when edits occur at the edges of the decoration's range. Defaults to DecorationRangeBehavior.OpenOpen.

Implementation

_i3.DecorationRangeBehavior? get rangeBehavior => switch (_i5.getProperty(
      this,
      'rangeBehavior',
    )) {
      _i2.String name => _i3.DecorationRangeBehavior.values.byName(name),
      _ => null
    };
set rangeBehavior (DecorationRangeBehavior? value)

Implementation

set rangeBehavior(_i3.DecorationRangeBehavior? value) {
  _i5.setProperty(
    this,
    'rangeBehavior',
    value?.name ?? _i6.undefined,
  );
}