A Flutter Animated Text Package which helps to give life to values that can passed as data to Flutter Text widget or any other value or string receivable widget.
- Number counter animation
- Text transformation animation
Add to your pubspec.yaml file the dependency:
dependencies:
flutter:
sdk: flutter
text_animator:
git:
url: git@github.com:kenresoft/text_animator.git
ref: release
Complete Examples on uasge of this package can be found in the Example folder.
Widget widget = TextAnimator(
initial: 50,
value: state.data,
initializeToValue: false,
duration: const Duration(seconds: 5),
builder: (BuildContext context, value) {
return Text(
value,
style: const TextStyle(
backgroundColor: Colors.pinkAccent,
fontWeight: FontWeight.bold,
fontSize: 80,
),
);
},
);
NOTE: This package is still under development.