stream_typewriter_text
1.0.8, released 2 years ago by an unverified publisher
Provides a typewriter text animation widget driven by a stream.
What it does
The package offers a StatefulWidget that animates text like a typewriter, updating as new data arrives from a Stream. It supports maxLines, overflow handling, and optional haptic feedback during animation.
AI-written summary of version 1.0.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a typewriter effect for text that updates in real‑time via a Stream
- You want built‑in haptic feedback while the text animates
- You prefer a ready‑made widget without writing custom animation code
Skip it when
- The text is static and does not require streaming
- You need extensive styling or custom animation beyond the provided options
- Performance is critical for very large bodies of text
Strengths
- Easy to drop‑in with just an import
- Handles maxLines and overflow gracefully
- Adds haptic feedback during animation
Weaknesses
- Limited customization compared to building your own animation
- Only works with streams, not plain strings
- Relies on animated_text_kit, adding an extra dependency
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
StreamBuilder(
stream: _streamController.stream,
builder: (context, snapshot) {
final text = snapshot.data ?? '';
return StreamTypewriterAnimatedText(
text: text,
style: const TextStyle(fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black),
maxLines: 5,
overflow: TextOverflow.ellipsis,
);
},
);Alternatives
Packages that do the same job and could replace stream_typewriter_text.
- lottie
Render After Effects JSON animations natively in Flutter.
96Compare - rive
Rive runtime for Flutter to display and control interactive vector animations.
89Compare - flutter_tilt
Easily apply tilt parallax hover effects for Flutter with support for light, shadow and gyroscope sensors.
86Compare - particles_network
Performant, interactive particle network widget for Flutter background animations.
83Compare
Works with
Packages commonly used together with stream_typewriter_text: ones it builds on, ones built on it, and its own family.