Add additional parameters to ColorizeAnimatedText for better control#368
Open
M4dhav wants to merge 1 commit intoaagarwal1012:masterfrom
Open
Add additional parameters to ColorizeAnimatedText for better control#368M4dhav wants to merge 1 commit intoaagarwal1012:masterfrom
M4dhav wants to merge 1 commit intoaagarwal1012:masterfrom
Conversation
M4dhav
commented
Nov 1, 2025
| plugins { | ||
| id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
| id "com.android.application" version "8.1.0" apply false | ||
| id "com.android.application" version "8.1.1" apply false |
Author
There was a problem hiding this comment.
This change was made as Gradle version 8.1.0 is no longer supported by Flutter and the example app does not build
Comment on lines
-58
to
-64
| _fadeOut = Tween<double>(begin: 1.0, end: 1.0).animate( | ||
| CurvedAnimation( | ||
| parent: controller, | ||
| curve: const Interval(0.9, 1.0, curve: Curves.easeIn), | ||
| ), | ||
| ); | ||
|
|
Author
There was a problem hiding this comment.
fadeOut was animating from 1 to 1 and so essentially not doing anything, so I removed it for better code readability
Author
|
Please let me know if any other changes are required |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #241 by adding an optional Parameter to stop the Fade In effect on Text change/ Restart. It also removes the fade out animation because it was not doing anything (Animating from 1 to 1) and adds another additional Parameter that allows the User to specify an Animation Curve.