Skip to content

Commit bbb8e94

Browse files
authored
Patch Release 2.5.2 (#145)
1 parent 06942bc commit bbb8e94

3 files changed

Lines changed: 113 additions & 78 deletions

File tree

CHANGELOG.md

Lines changed: 54 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1+
## 2.5.2
2+
3+
**Bug Fixes and Enhancements**
4+
5+
- 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+
17
## 2.5.1
8+
29
**Bug Fixes and Enhancements**
10+
311
- Minor bug fix to `RotateAnimatedTextKit` to properly handle `alignment` property, and introduced `textDirection` property [#138](https://github.com/aagarwal1012/Animated-Text-Kit/pull/138)
412
- Increased test coverage [#128](https://github.com/aagarwal1012/Animated-Text-Kit/issues/128)
513

614
## 2.5.0
7-
**Bug Fixes and Enhancements**
15+
16+
**Bug Fixes and Enhancements**
17+
818
- Increase test coverage [#137](https://github.com/aagarwal1012/Animated-Text-Kit/pull/137) and [#135](https://github.com/aagarwal1012/Animated-Text-Kit/pull/135).
919
- Removed redundant `_texts` variables [#133](https://github.com/aagarwal1012/Animated-Text-Kit/pull/133).
1020
- Added pedantic lint rules. [#132](https://github.com/aagarwal1012/Animated-Text-Kit/pull/132).
@@ -13,11 +23,15 @@
1323
- Other basic improvements [#136](https://github.com/aagarwal1012/Animated-Text-Kit/pull/136) and [#134](https://github.com/aagarwal1012/Animated-Text-Kit/pull/134).
1424

1525
## 2.4.1
16-
**Issue Fixed**
26+
27+
**Issue Fixed**
28+
1729
- Issue [#125](https://github.com/aagarwal1012/Animated-Text-Kit/issues/125)
1830

1931
## 2.4.0
20-
**Issues Fixed**
32+
33+
**Issues Fixed**
34+
2135
- Issue [#124](https://github.com/aagarwal1012/Animated-Text-Kit/pull/124)
2236

2337
- Issue [#123](https://github.com/aagarwal1012/Animated-Text-Kit/pull/123)
@@ -27,7 +41,9 @@
2741
- Issue [#121](https://github.com/aagarwal1012/Animated-Text-Kit/pull/121)
2842

2943
## 2.3.0
44+
3045
**New Animated Text**
46+
3147
- Wavy Text by [@SirusCodes](https://github.com/SirusCodes).
3248

3349
**Issues Fixed**
@@ -40,22 +56,23 @@
4056

4157
**Issues Fixed**
4258

43-
* Issue [#51](https://github.com/aagarwal1012/Animated-Text-Kit/issues/51)
59+
- Issue [#51](https://github.com/aagarwal1012/Animated-Text-Kit/issues/51)
4460

4561
**Code Review** [#81](https://github.com/aagarwal1012/Animated-Text-Kit/pull/81)
4662

4763
- Removed obsolete `new` keywords.
48-
- 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`.
5369

5470
**Warning**:
5571

56-
- Removed `onNextBeforePause` from `ColorizeAnimatedTextKit` because it was not referenced.
72+
- Removed `onNextBeforePause` from `ColorizeAnimatedTextKit` because it was not referenced.
5773

5874
## 2.1.0
75+
5976
**Issues Fixed**
6077

6178
- Issue [#58](https://github.com/aagarwal1012/Animated-Text-Kit/issues/58)
@@ -71,13 +88,16 @@
7188
```
7289

7390
## 2.0.1
74-
* Minor updates.
91+
92+
- Minor updates.
7593

7694
## 2.0.0
95+
7796
- **TextLiquidFill animated text added to the package🎉🎉**
7897

7998
- **Breaking Changes**:
8099
Different arguments are included in the classes and `duration` has been broken into `speed` and `pause` in some classes as per their needs.
100+
81101
- `duration` - Change the duration from the animation time of the complete list to single element animation time.
82102
- `speed` - Time between the display of characters.
83103
- `pause` - Delay between the animation of texts.
@@ -92,32 +112,43 @@
92112
- `onFinished` - This callback is called at the end when the parameter `isRepeatingAnimation` is set to false.
93113

94114
## 1.3.1
95-
* Updated example app readme.
96-
* Added documentation for the various parameters of all the animated widgets.
115+
116+
- Updated example app readme.
117+
- Added documentation for the various parameters of all the animated widgets.
97118

98119
## 1.3.0
120+
99121
**Feature Enhancement**
100-
* Added attribute to align text.
101-
* Updated Readme.
122+
123+
- Added attribute to align text.
124+
- Updated Readme.
102125

103126
## 1.2.0
127+
104128
**Feature Enhancement**
105-
* Added attribute to check whether the animation should repeat or not.
106-
* Updated Readme.
129+
130+
- Added attribute to check whether the animation should repeat or not.
131+
- Updated Readme.
107132

108133
## 1.1.1
109-
* Fixed flutter formatting issues.
134+
135+
- Fixed flutter formatting issues.
110136

111137
## 1.1.0
138+
112139
**Feature Enhancement**
113-
* Added onTap callback for all AnimatedText widget.
114-
* Updated Readme.
140+
141+
- Added onTap callback for all AnimatedText widget.
142+
- Updated Readme.
115143

116144
## 1.0.3
117-
* General update.
145+
146+
- General update.
118147

119148
## 1.0.2
120-
* Updated Readme.
149+
150+
- Updated Readme.
121151

122152
## 1.0.1
123-
* Initial Release.
153+
154+
- Initial Release.

README.md

Lines changed: 58 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div align="center"><img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/cover.gif?raw=true"/></div>
1+
<div align="center"><img src="display/cover.gif?raw=true"/></div>
22

33
# <div align="center">Animated Text Kit</div>
44

@@ -34,32 +34,32 @@
3434
</a>
3535
</div><br>
3636

37-
# Table of contents
38-
39-
* [Installing](#installing)
40-
* [Usage](#usage)
41-
* [Rotate](#rotate)
42-
* [Fade](#fade)
43-
* [Typer](#typer)
44-
* [Typewriter](#typewriter)
45-
* [Scale](#scale)
46-
* [Colorize](#colorize)
47-
* [TextLiquidFill](#textliquidfill)
48-
* [Wavy](#wavy)
49-
* [Bugs or Requests](#bugs-or-requests)
50-
* [Donate](#donate)
51-
* [Contributors](#contributors)
52-
* [License](#license)
53-
37+
# Table of contents
38+
39+
- [Installing](#installing)
40+
- [Usage](#usage)
41+
- [Rotate](#rotate)
42+
- [Fade](#fade)
43+
- [Typer](#typer)
44+
- [Typewriter](#typewriter)
45+
- [Scale](#scale)
46+
- [Colorize](#colorize)
47+
- [TextLiquidFill](#textliquidfill)
48+
- [Wavy](#wavy)
49+
- [Bugs or Requests](#bugs-or-requests)
50+
- [Donate](#donate)
51+
- [Contributors](#contributors)
52+
- [License](#license)
5453

5554
# Installing
5655

5756
### 1. Depend on it
57+
5858
Add this to your package's `pubspec.yaml` file:
5959

6060
```yaml
6161
dependencies:
62-
animated_text_kit: ^2.5.1
62+
animated_text_kit: ^2.5.2
6363
```
6464
6565
### 2. Install it
@@ -68,14 +68,14 @@ You can install packages from the command line:
6868
6969
with `pub`:
7070

71-
```css
71+
```
7272
$ pub get
7373
```
7474
7575
with `Flutter`:
7676
77-
```css
78-
$ flutter packages get
77+
```
78+
$ flutter pub get
7979
```
8080
8181
### 3. Import it
@@ -86,10 +86,10 @@ Now in your `Dart` code, you can use:
8686
import 'package:animated_text_kit/animated_text_kit.dart';
8787
```
8888

89+
# Usage
8990

90-
# Usage
91+
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.
9192

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.
9393
```dart
9494
TypewriterAnimatedTextKit(
9595
speed: Duration(milliseconds: 2000),
@@ -106,15 +106,13 @@ TypewriterAnimatedTextKit(
106106

107107
Also, different callbacks are added to each AnimatedTextKit class along with the onTap callback:
108108

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.
114112

115113
## Rotate
116114

117-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/rotate.gif?raw=true" align = "right" height = "300px">
115+
<img src="display/rotate.gif?raw=true" align = "right" height = "300px">
118116

119117
```dart
120118
Row(
@@ -137,11 +135,12 @@ Row(
137135
],
138136
);
139137
```
138+
140139
**Note:** You can override transition height by setting the value of parameter `transitionHeight` for RotateAnimatedTextKit class.
141140

142141
## Fade
143142

144-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/fade.gif?raw=true" align = "right" height = "300px">
143+
<img src="display/fade.gif?raw=true" align = "right" height = "300px">
145144

146145
```dart
147146
SizedBox(
@@ -167,7 +166,7 @@ SizedBox(
167166

168167
## Typer
169168

170-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/typer.gif?raw=true" align = "right" height = "300px">
169+
<img src="display/typer.gif?raw=true" align = "right" height = "300px">
171170

172171
```dart
173172
SizedBox(
@@ -191,9 +190,10 @@ SizedBox(
191190
),
192191
);
193192
```
193+
194194
## Typewriter
195195

196-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/typewriter.gif?raw=true" align = "right" height = "300px">
196+
<img src="display/typewriter.gif?raw=true" align = "right" height = "300px">
197197

198198
```dart
199199
SizedBox(
@@ -220,7 +220,7 @@ SizedBox(
220220

221221
## Scale
222222

223-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/scale.gif?raw=true" align = "right" height = "300px">
223+
<img src="display/scale.gif?raw=true" align = "right" height = "300px">
224224

225225
```dart
226226
SizedBox(
@@ -246,7 +246,7 @@ SizedBox(
246246

247247
## Colorize
248248

249-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/colorize.gif?raw=true" align = "right" height = "300px">
249+
<img src="display/colorize.gif?raw=true" align = "right" height = "300px">
250250

251251
```dart
252252
SizedBox(
@@ -275,13 +275,14 @@ SizedBox(
275275
),
276276
);
277277
```
278+
278279
**Note:** `colors` list should contains at least two values.
279280

280-
## TextLiquidFill
281+
## TextLiquidFill
281282

282-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/text_liquid_fill.gif?raw=true" align = "right" height = "300px">
283+
<img src="display/text_liquid_fill.gif?raw=true" align = "right" height = "300px">
283284

284-
```dart
285+
```dart
285286
SizedBox(
286287
width: 250.0,
287288
child: TextLiquidFill(
@@ -299,11 +300,11 @@ SizedBox(
299300

300301
To get more information about how the animated text made from scratch by @HemilPanchiwala, visit the Medium [blog](https://link.medium.com/AfxVRdkWJ2).
301302

302-
## Wavy
303+
## Wavy
303304

304-
<img src="https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/display/wavy.gif?raw=true" align = "right" height = "300px">
305+
<img src="display/wavy.gif?raw=true" align = "right" height = "300px">
305306

306-
```dart
307+
```dart
307308
WavyAnimatedTextKit(
308309
textStyle: TextStyle(
309310
fontSize: 32.0,
@@ -317,20 +318,21 @@ WavyAnimatedTextKit(
317318
),
318319
```
319320

320-
# Bugs or Requests
321+
# Bugs or Requests
321322

322-
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.
323324

324-
See [Contributing.md](https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/CONTRIBUTING.md).
325+
See [Contributing.md](CONTRIBUTING.md).
325326

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
330328

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/)
332332
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)):
334336

335337
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
336338
<!-- prettier-ignore-start -->
@@ -356,9 +358,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
356358

357359
<!-- markdownlint-enable -->
358360
<!-- prettier-ignore-end -->
359-
<!-- ALL-CONTRIBUTORS-LIST:END -->
360361

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
362367

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

Comments
 (0)