stream_typewriter_text

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

stream typewriter text

Stream Typewriter Text
Stream Typewriter Text is a Flutter package that provides a typewriter text animation effect.













Installing #
1. Depend on it #
Add this to your package's pubspec.yaml file:
dependencies:
stream_typewriter_text: ^1.0.8
copied to clipboard
2. Install it #
You can install packages from the command line:
with pub:
$ pub get
copied to clipboard
with Flutter:
$ flutter pub get
copied to clipboard
3. Import it #
Now in your Dart code, you can use:
import 'package:stream_typewriter_text/stream_typewriter_text.dart';
copied to clipboard
Usage #
StreamTypewriterAnimatedText is a Stateful Widget that produces text animations.
Include it in your build method like:
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,
);
},
)
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.