clackety 1.0.4 copy "clackety: ^1.0.4" to clipboard
clackety: ^1.0.4 copied to clipboard

A lightweight typing animation widget for Flutter apps

clackety #

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.

Clackety demo animation


Features #

  • 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

Getting started #

Install the package:

flutter pub add flutter_local_notifications

Usage: Basic #

As a replacement Text() widget

Clackety.text("Clackety Example")

Usage: Advanced #

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!

1
likes
150
pub points
0%
popularity

Publisher

verified publisherrocketware.co.uk

A lightweight typing animation widget for Flutter apps

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on clackety