softWrap property

bool get softWrap

Whether to wrap text at word boundaries.

Implementation

bool get softWrap => _softWrap;
set softWrap (bool v)

Sets the soft wrap flag and marks the render object as needing layout.

Implementation

set softWrap(bool v) {
  if (_softWrap == v) return;
  _softWrap = v;
  _invalidateLayoutCache();
  markNeedsLayout();
}