width property

int width

Combined width of the spans in this line.

Implementation

int get width => spans.fold(0, (width, span) => width + span.width);