Add Slide Direction Enum to Control Slide-In and Slide-Out Direction on RotateAnimatedText
#324
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.
Summary
This pull request addresses Issue #323, where I propose adding a new enum,
SlideDirection
, to theRotateAnimatedText
widget in the Animated-Text-Kit Flutter package. This enhancement allows users to specify the direction of slide-in and slide-out animations for text, providing greater flexibility and customization options.Changes Made
SlideDirection
enum at the top of theRotateAnimatedText
file, enabling users to choose the slide direction.RotateAnimatedText
constructor to accept aslideDirection
property, allowing users to specify the desired slide direction when creating an instance ofRotateAnimatedText
.initAnimation
method to use theslideDirection
property to determine the slide direction for both slide-in and slide-out animations.slideDirection
.Testing Done
slideDirection
property with various values to ensure that the slide animations behave as expected.Screenshots
Working on it.
Closes Issues
Closes #323
Checklist
Notes
Please tell if anything else needs to be added - Like flutter documentation, etc.