width property

int get width

Implementation

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