width property

int get width

The width of this glyph in characters.

Implementation

int get width => lines.isEmpty ? 0 : lines.first.length;