Skip to content

Commit 2796907

Browse files
committed
[auto_animated] Fixed dispose in AutoAnimatedIconButton
1 parent 8d2cca3 commit 2796907

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

packages/auto_animated/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.2.2
2+
3+
* Fixed dispose in `AutoAnimatedIconButton`
4+
15
## 1.2.1
26

37
* Fixed auto setting state on rebuild widget for `AutoAnimatedIconButton`

packages/auto_animated/example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages:
1414
path: ".."
1515
relative: true
1616
source: path
17-
version: "1.2.1"
17+
version: "1.2.2"
1818
boolean_selector:
1919
dependency: transitive
2020
description:

packages/auto_animated/lib/src/auto_animated_icon_button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ class _AutoAnimatedIconButtonState extends State<AutoAnimatedIconButton>
9898

9999
@override
100100
void dispose() {
101-
super.dispose();
102101
_animationController.dispose();
102+
super.dispose();
103103
}
104104

105105
@override

packages/auto_animated/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: auto_animated
22
description: Widgets starting auto play animation when mounted. It is already possible to animate the list and icons.
3-
version: 1.2.1
3+
version: 1.2.2
44
author: Serge Shkurko <sergeshkurko@outlook.com>
55
homepage: https://github.com/rbcprolabs/flutter_plugins/tree/master/packages/auto_animated
66

0 commit comments

Comments
 (0)