aagarwal1012 / Animated-Text-Kit

🔔 A flutter package to create cool and beautiful text animations. [Flutter Favorite Package]
https://animated-text-kit.web.app
MIT License
1.66k stars 304 forks source link

Added onFinished callback to TextLiquidFill #262

Open ertgrulll opened 3 years ago

ertgrulll commented 3 years ago

Added onFinished callback to TextLiquidFill, readme and example updated according to change.

SirusCodes commented 3 years ago

@aagarwal1012 I guess it will be a great addition to all the animation not only TextLiquidFill, so it would be great if it would be included in AnimatedTextKit class so every animation will get this. I just wanted to know that if there is any way we already support this?

ertgrulll commented 3 years ago

AnimatedTextKit already has onFinished that triggering on children animations end. But TextLiquidFill is not using as AnimatedTextKit child. I am routing user to another screen on this animation end, so I was need to listen that. I think just TextLiquidFill need this property 🙄

codecov[bot] commented 3 years ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.44%. Comparing base (24c2592) to head (f64bfb8). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #262 +/- ## ========================================== + Coverage 95.38% 95.44% +0.06% ========================================== Files 10 10 Lines 455 461 +6 ========================================== + Hits 434 440 +6 Misses 21 21 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.