clear method

void clear()

Clears the managed whole-line decoration layer.

Implementation

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