TextSegment.static constructor

const TextSegment.static(
  1. String text
)

Creates a static (non-animated) text segment.

text — the literal text to display without any animation effects.

Implementation

const TextSegment.static(this.text)
    : isAnimated = false,
      effects = const [];