TextSegment constructor

const TextSegment(
  1. String text
)

Implementation

const TextSegment(this.text);