A lightweight Flutter package (zero external dependencies) to animate the typing of text (like a typewriter / typist). You can provide new typing targets via the controller and clackety will amend the text already written.
- Corrects text in realtime when new typing target is provided
- Easy to use with or without Controller
- Zero dependencies, lightweight & optimised
- Tap to fast-forward
- onComplete callback support
Install the package:
flutter pub add flutter_local_notifications
As a replacement Text() widget
Clackety.text("Clackety Example")
With a Clackety Controller.
// Create a the ClacketyController
_clacketyController = ClacketyController(value: '');
// Add the Clackety widget to your ui widget tree
Clackety(
controller: _clacketyController,
builder: (context, text) => Text(text)),
// Type new text whenever required!
_clacketyController.type('... Happy clacking!');
Happy clacking!