reel_text library

Classes

ReelText
Text widget that rolls changed glyphs through clipped slots.
ReelTextController
Imperative controller for ReelText.controller.
ReelTextEditingController
A TextEditingController that can render animated ReelText replacements directly inside Flutter's editable text layout.
ReelTextEditReplacement
A text replacement that ReelTextEditingController can animate inline.
ReelTextFlashOptions
Options for ReelTextController.flash.
ReelTextOptions
Options for a ReelText roll animation.
ReelTextProgress
Handle returned by ReelTextController.startProgress.
ReelWaiting
A looping idle animation used by ReelTextController.startWaiting.

Enums

ReelTextDirection
Roll direction used by ReelText.

Functions

chromatic({double from = 0, double spread = 320, double saturation = 0.92, double lightness = 0.60}) ReelTextColorBuilder
Returns a per-character rainbow color sweep.

Typedefs

ReelTextColorBuilder = Color Function(int index, int total)
Builds a color for one glyph.
ReelTextEditingSpanBuilder = TextSpan Function(BuildContext context, String text, TextStyle style, bool withComposing)
Builds the resting text span for ReelTextEditingController.
ReelTextSequenceOptionsBuilder = ReelTextOptions Function(int index, String value)
Builds per-value options for ReelText.sequence.
ReelWaitingFrameBuilder = String Function(String text, int tick)
Builds one waiting frame for ReelWaiting.builder.