Skip to content

Conversation

@M4dhav
Copy link

@M4dhav M4dhav commented Nov 1, 2025

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.

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
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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),
),
);

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fadeOut was animating from 1 to 1 and so essentially not doing anything, so I removed it for better code readability

@M4dhav
Copy link
Author

M4dhav commented Nov 1, 2025

Please let me know if any other changes are required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ColorizeAnimatedText's animation is weird.

1 participant