#animation
#flutteranimation
#flutter
#fluttertutorialforbeginners
#fluttertutorials
#flutterTutorialBangla
#learnwithmotaleb
#flutterKids
#flutterappdevelopment
#AnimatedDefaultTextStyle
Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes.
The textAlign, softWrap, overflow, maxLines, textWidthBasis and textHeightBehavior properties are not animated and take effect immediately when changed.
Here's an illustration of what using this widget looks like, using a curve of Curves.elasticInOut.
For the animation, you can choose a curve as well as a duration and the widget will automatically animate to the new default text style. If you require more control over the animation (e.g. if you want to stop it mid-animation), consider using a DefaultTextStyleTransition instead, which takes a provided Animation as argument. While that allows you to fine-tune the animation, it also requires more development overhead as you have to manually manage the lifecycle of the underlying AnimationController.
Follow Facebook Community: / 427533327933322
Follow Facebook: / learnwithmotaleb
Follow GitHub: https://github.com/learnwithmotaleb
Follow Website: https://www.learnwithmotaleb.com/
Follow Linkedin: / abdul-motaleb-345744172
E-mail: [email protected]
Phone/WhatsApp: +8801701577479