width property

int width

Unicode width of the content held by this span.

This is calculated by summing the width of each rune in the content.

Implementation

int get width {
  return content.characters.length;
}