use_scramble 0.0.8 copy "use_scramble: ^0.0.8" to clipboard
use_scramble: ^0.0.8 copied to clipboard

Lightweight package for random text animations inspired by useScramble

pub package License: MIT Codacy Badge

Use Scramble GIF Demo

Lightweight package for random text animations inspired by useScramble

Usage #

TextScramble(
    text: 'Hello World!',
    speed: Duration(milliseconds: 50),
    chars: '!<>-_\\/[]{}—=+*^?#________',
    correctCharProbability: 0.1, // Correct character probability in [0, 1]
    scrambleCycles: 4, // Number of times to scramble the text
    textAlign: TextAlign.center, // Optional text alignment
    style: TextStyle(
            fontSize: 40,
            color: Colors.green,
            fontFamily: 'JetBrainsMono',
    ),
),

Bugs/Requests #

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

License #

MIT License

Additional information #

Medium article link

Created by Gled | [email protected]

X Telegram

Support the project:

Inspired by useScramble

17
likes
0
points
9
downloads

Publisher

unverified uploader

Weekly Downloads

Lightweight package for random text animations inspired by useScramble

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on use_scramble