hyphens property

Hyphens get hyphens

The behavior of soft hyphens (U+00AD) at a line break.

Defaults to Hyphens.manual, which renders a hyphen glyph at a line break that falls on a soft hyphen. Hyphens.hidden suppresses the glyph; the line still breaks at U+00AD regardless.

Not yet supported on the web, where the hyphen glyph is never rendered.

Implementation

Hyphens get hyphens => _hyphens;
set hyphens (Hyphens value)

Implementation

set hyphens(Hyphens value) {
  if (_hyphens == value) {
    return;
  }
  _hyphens = value;
  markNeedsLayout();
}