YeLwinOo-Steve / pretty_animated_text

A smooth and fully customizable Flutter plugin for creating beautiful, animated text effects with ease
https://pub.dev/packages/pretty_animated_text
MIT License
53 stars 1 forks source link

Pretty Animated Text

Buy Me A Coffee

Overview

A text animation UI plugin that provides you with gorgeous and customizable animated text widgets so that you can use them effortlessly in your project.

Physics-based animations are utilized for text animations, providing a smooth and delightful experience.

This project heavily inspires on jasudev's AnimateText for SwiftUI package

Preview Website

Link: https://pretty-animated-text.vercel.app

️ Key Features:

️ Installation

To use this package, add pretty_animated_text as a dependency in your pubspec.yaml file:

flutter pub add pretty_animated_text

️ How to

There are two main animation types that you can trigger.

And for texts such as RotateText and OffsetText, you can trigger some more variations like rotation direction and slide offset.

Currently, the plugin supports 6 alignment styles.

See the demos and examples below:

Type Word Animation Letter Animation
Spring Text Word Springg Text Letter Springg Text
Chime Bell Text Word Chime Bell Text Letter Chime Bell Text
Scale Text Word Scale Text Letter Scale Text
Blur Text Word Blur Text Letter Blur Text
Rotate Text (clockwise) Word Rotate Text (c) Letter Rotate Text (c)
Rotate Text (anti-clockwise) Word Rotate Text (anti) Letter Rotate Text (anti)
Offest Text (top-bottom) Word Offset Text(tb) Letter Offset Text(tb)
Offest Text (bottom-top) Word Offset Text(bt) Letter Offset Text(bt)
Offest Text (alternate top-bottom) Word Offset Text(a-tb) Letter Offset Text(a-tb)
Offest Text (left-right) Word Offset Text(lr) Letter Offset Text(lr)
Offest Text (right-left) Word Offset Text(rl) Letter Offset Text(rl)
Offest Text (alternate left-right) Word Offset Tetx(a-lr) Letter Offset Tetx(a-lr)
Code Examples

️ Project License:

This project is licensed under MIT License.

Feel free to check it out and give it a ️ if you love it. Follow me for more updates and more projects

Suggestions are warmly welcome & more updates are coming along the way ...

Copyright (©️) 2024 YE LWIN OO