-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#44 fix #70
#44 fix #70
Conversation
Feat : rotating text
Feat : typewriter
Feat : colorizer
…ansition height and added its default value
* docs: update README.md * docs: create .all-contributorsrc * docs: updated readme
* docs: update README.md * docs: update .all-contributorsrc
* docs: update README.md * docs: update .all-contributorsrc
* Typer Class Enhancments Refer to issue aagarwal1012#34 The Typer Class has been greatly improved in term of control. ### Let's start with breaking changes : ####The duration parameter has become two new ones : speed and pause * speed is the elapsed time between the animation of each characters of a text (Default is 40 ms) * pause is the pause duration between texts (Default is 500 ms) ### New features : ####Three new callbacks come alongside the onTap : * onNext(int index, bool isLast) - This callback will be called before the next text animation, after the previous one's pause. * onNextBeforePause(int index, bool isLast) - This callback will be called before the next text animation, before the previous one's pause. * onFinished - This callback is called at the end, if the parameter isRepeatingAnimation is set to false ####Two new arguments : * displayFullTextOnTap - If true, tapping the screen will stop current animated text, and display it fully for min(remaining, pause) time. (Default is false) * stopPauseOnTap - If true, tapping during a pause will stop it and start the next text animation (Default is false) ####The text list parameter now accept either strings, or map where you can give a text custom speed and pause. If you like thoses changes, I'll make another commit with updated readme regarding this PR with code examples. * Fix indentation issues for Travis * Fix indentation issues for Travis * Fix formating issue in travis
Enhanced different classes of AnimatedTextKit
Added TextLiquidFill animation to AnimatedTextKit
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci]
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci]
Codecov Report
@@ Coverage Diff @@
## master #70 +/- ##
=======================================
Coverage 63.96% 63.96%
=======================================
Files 7 7
Lines 655 655
=======================================
Hits 419 419
Misses 236 236 Continue to review full report at Codecov.
|
@@ -1,10 +1,11 @@ | |||
#!/bin/sh | |||
# This is a generated file; do not edit or check into version control. | |||
export "FLUTTER_ROOT=C:\flutter" | |||
export "FLUTTER_APPLICATION_PATH=E:\flutter_projects\Animated-Text-Kit\example" | |||
export "FLUTTER_APPLICATION_PATH=C:\Users\Legion\AndroidStudioProjects\Animated-Text-Kit\example" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AadumKhor, please add this file to .gitignore
and remove it from the git history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AadumKhor, please resolve the comment that I mentioned, otherwise this PR looks fine.
Issue #44 was about
RotateAnimatedTextKit
not being centered. I checked by addingAlignment.Center
but that worked in one particular case only which is why I made a comment. The problem however is not resolved by using this parameter since our code does not usewidget.alignment
anywhere, making that parameter useless. The problem this PR solves is that it takes into account the 'alignment' parameter of the widget which was not being used and accordingly adjust the position of the text. The only drawback I see presently is that genericAlignmentGeometry
options likeAlignment.center
would not work, ratherAlignment(double x, double y)
format would have to be used.We can add this part to the docs for clarification.
Looking forward to your feedback.