hasAnchors property

bool get hasAnchors

Whether this line carries any anchors, without building the view anchors returns. Reflow asks this per line and, for a line that has none, that view was the only thing allocated.

Implementation

bool get hasAnchors => _anchors.isNotEmpty;