rich_text_writer library

Mixins

ExtendedSpan

Extensions

ObjectExtensions on T

Functions

defaultRhythmBuilder(String token, int spanIndex, int totalSpans, Duration duration) Duration
The default rhythm behavior is to just apply the delay to the given token, which may be a word or alternatively deliminated text.
wordRhythmBuilder(String word, int index, int totalWords, Duration baseDuration) Duration
The word rhythm builder uses a natural typing duration for word output.

Typedefs

RhythmBuilder = Duration Function(String token, int index, int total, Duration duration)