You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Bug fix for `ScaleAnimatedTextKit` to check `mounted` before `setState` to avoid potential conflict with `dispose`. Resolves [#105](https://github.com/aagarwal1012/Animated-Text-Kit/issues/105) -- PR [#143](https://github.com/aagarwal1012/Animated-Text-Kit/pull/143)
6
+
1
7
## 2.5.1
8
+
2
9
**Bug Fixes and Enhancements**
10
+
3
11
- Minor bug fix to `RotateAnimatedTextKit` to properly handle `alignment` property, and introduced `textDirection` property [#138](https://github.com/aagarwal1012/Animated-Text-Kit/pull/138)
4
12
- Increased test coverage [#128](https://github.com/aagarwal1012/Animated-Text-Kit/issues/128)
5
13
6
14
## 2.5.0
7
-
**Bug Fixes and Enhancements**
15
+
16
+
**Bug Fixes and Enhancements**
17
+
8
18
- Increase test coverage [#137](https://github.com/aagarwal1012/Animated-Text-Kit/pull/137) and [#135](https://github.com/aagarwal1012/Animated-Text-Kit/pull/135).
- Other basic improvements [#136](https://github.com/aagarwal1012/Animated-Text-Kit/pull/136) and [#134](https://github.com/aagarwal1012/Animated-Text-Kit/pull/134).
- Added types to collection and function variables.
49
-
- Added `final` and `const` keywords.
50
-
- Replaced `null` guards with concise `?.` and `??` operators.
51
-
- Added missing null check on `dispose` for `FadeAnimatedTextKit`.
52
-
- In `fade.dart`, renamed the `_RotatingTextState` class to `_FadeTextState` to be consistent with the overall pattern and avoid confusion with `_RotatingTextState` in `rotate.dart`.
64
+
- Added types to collection and function variables.
65
+
- Added `final` and `const` keywords.
66
+
- Replaced `null` guards with concise `?.` and `??` operators.
67
+
- Added missing null check on `dispose` for `FadeAnimatedTextKit`.
68
+
- In `fade.dart`, renamed the `_RotatingTextState` class to `_FadeTextState` to be consistent with the overall pattern and avoid confusion with `_RotatingTextState` in `rotate.dart`.
53
69
54
70
**Warning**:
55
71
56
-
- Removed `onNextBeforePause` from `ColorizeAnimatedTextKit` because it was not referenced.
72
+
- Removed `onNextBeforePause` from `ColorizeAnimatedTextKit` because it was not referenced.
You can override the `duration` of animation of single text by setting its duration in each AnimatedTextKit class, also you can set the time of the pause between texts by setting the `pause` parameter and with this when `isRepeatingAnimation` is set to true, you can set number of times the animation should repeat with `totalRepeatCount` (or repeat forever with `repeatForever`). The `speed` parameter is also included for some classes which sets the delay between the apparition of each characters. Also, the `displayFullTextOnTap` and `stopPauseOnTap` parameters have been included for some classes.
91
92
92
-
You can override the `duration` of animation of single text by setting its duration in each AnimatedTextKit class, also you can set the time of the pause between texts by setting the `pause` parameter and with this when `isRepeatingAnimation` is set to true, you can set number of times the animation should repeat with `totalRepeatCount` (or repeat forever with `repeatForever`). The `speed` parameter is also included for some classes which sets the delay between the apparition of each characters. Also, the `displayFullTextOnTap` and `stopPauseOnTap` parameters have been included for some classes.
93
93
```dart
94
94
TypewriterAnimatedTextKit(
95
95
speed: Duration(milliseconds: 2000),
@@ -106,15 +106,13 @@ TypewriterAnimatedTextKit(
106
106
107
107
Also, different callbacks are added to each AnimatedTextKit class along with the onTap callback:
108
108
109
-
- onNext(int index, bool isLast) - This callback will be called before the next text animation, after the previous one's pause.
110
-
- onNextBeforePause(int index, bool isLast) - This callback will be called before the next text animation, before the previous one's pause.
111
-
- onFinished - This callback is called at the end, if the parameter isRepeatingAnimation is set to false.
112
-
113
-
109
+
- onNext(int index, bool isLast) - This callback will be called before the next text animation, after the previous one's pause.
110
+
- onNextBeforePause(int index, bool isLast) - This callback will be called before the next text animation, before the previous one's pause.
111
+
- onFinished - This callback is called at the end, if the parameter isRepeatingAnimation is set to false.
To get more information about how the animated text made from scratch by @HemilPanchiwala, visit the Medium [blog](https://link.medium.com/AfxVRdkWJ2).
If you encounter any problems feel free to open an [issue](https://github.com/aagarwal1012/Animated-Text-Kit/issues/new?template=bug_report.md). If you feel the library is missing a feature, please raise a [ticket](https://github.com/aagarwal1012/Animated-Text-Kit/issues/new?template=feature_request.md) on GitHub and I'll look into it. Pull request are also welcome.
323
+
If you encounter any problems feel free to open an [issue](https://github.com/aagarwal1012/Animated-Text-Kit/issues/new?template=bug_report.md). If you feel the library is missing a feature, please raise a [ticket](https://github.com/aagarwal1012/Animated-Text-Kit/issues/new?template=feature_request.md) on GitHub and I'll look into it. Pull request are also welcome.
323
324
324
-
See [Contributing.md](https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/CONTRIBUTING.md).
325
+
See [Contributing.md](CONTRIBUTING.md).
325
326
326
-
# Donate
327
-
> If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of :coffee:
328
-
>
329
-
> - [PayPal](https://www.paypal.me/aagarwal1012/)
327
+
# Donate
330
328
331
-
# Contributors
329
+
> If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of :coffee:
330
+
>
331
+
> -[PayPal](https://www.paypal.me/aagarwal1012/)
332
332
333
-
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
333
+
# Contributors
334
+
335
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
334
336
335
337
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
336
338
<!-- prettier-ignore-start -->
@@ -356,9 +358,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
356
358
357
359
<!-- markdownlint-enable -->
358
360
<!-- prettier-ignore-end -->
359
-
<!-- ALL-CONTRIBUTORS-LIST:END -->
360
361
361
-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! See [Contributing.md](https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/CONTRIBUTING.md).
362
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
363
+
364
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind are welcome! See [Contributing.md](CONTRIBUTING.md).
365
+
366
+
# License
362
367
363
-
# License
364
-
Animated-Text-Kit is licensed under `MIT license`. View [license](https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/LICENSE).
368
+
Animated-Text-Kit is licensed under `MIT license`. View [license](LICENSE).
0 commit comments