Skip to content

Commit c267f5e

Browse files
authored
Remove extraneous animation controller declaration (#428)
1 parent 6bba637 commit c267f5e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

packages/scrollable_positioned_list/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.3.5
2+
* Fix extraneous animation controller declaration in 0.3.4.
3+
14
# 0.3.4
25
* Disposed the animation controller when disposing the scrollable list.
36

packages/scrollable_positioned_list/lib/src/scrollable_positioned_list.dart

-2
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,6 @@ class _ScrollablePositionedListState extends State<ScrollablePositionedList>
492492
AnimationController(vsync: this, duration: duration)..forward();
493493
opacity.parent = _opacityAnimation(opacityAnimationWeights)
494494
.animate(_animationController);
495-
opacity.parent = _opacityAnimation(opacityAnimationWeights).animate(
496-
AnimationController(vsync: this, duration: duration)..forward());
497495
secondary.scrollController.jumpTo(-direction *
498496
(_screenScrollCount *
499497
primary.scrollController.position.viewportDimension -

packages/scrollable_positioned_list/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: scrollable_positioned_list
2-
version: 0.3.4
2+
version: 0.3.5
33
description: >
44
A list with helper methods to programmatically scroll to an item.
55
homepage: https://github.com/google/flutter.widgets/tree/master/packages/scrollable_positioned_list

0 commit comments

Comments
 (0)