clear method

void clear()

Clears the managed range-decoration layer.

Implementation

void clear() {
  if (_disposed) return;
  _lastText = _controller.text;
  _controller.clearDecorationLayer(layerKey);
}