A simple text appearance with animation which increases user experience.
To use this package, add a dependency to your
dev_dependencies: flutter_test: sdk: flutter animated_text: ^0.0.1
How to Use
Simply just use the
AnimatedText() widget. Some of the examples are given below.
Simply use AnimatedText() with a number of parameters defined below.
AnimatedText( text: 'Easy and Healthy', textStyle: GoogleFonts.workSans( fontWeight: FontWeight.w800, fontSize: 32, color: Color(0xFFFB3F01), ), durationBetweenLetters: Duration(milliseconds: 70), letterExpandingDuration: Duration(milliseconds: 500), ),
- text - simple String that you want to animated and show
- textStyle - TextStyle that you want your text to apply
- durationBetweenLetters - Duration between two consecutive letters appear with
- letterExpandingDuration - Expanding animation Duration of a each letter