animate_my_text 0.0.2 animate_my_text: ^0.0.2 copied to clipboard
Make your text appear with an animation
animate_my_text #
A simple text appearance with animation which increases user experience.
Using #
To use this package, add a dependency to your pubspec.yaml
as:
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.
Example 1 #
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),
),
Parameters #
- 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