- 24 Aug, 2015 1 commit
-
-
Hans Muller authored
Adds itemsWrap:bool (default false) to ScrollableList and PageableList. If itemsWrap is true then scrolling past the last item wraps around to the first. Similarly, scrolling before the first item wraps around to the last. Added abstract ExtentScrollBehavior of ScrollBehavior. Renamed fields called contentsExtents to contentExtent, containerExtents to containerExtent, contentSize to contentExtent, etc. BoundedBehavior is now a subclass of ExtentScrollBehavior. Added UnboundedBehavior subclass of ExtentScrollBehvaior; contentExtent and maxScrollOffset are double.INFINITY, minScrollExtent is double.NEGATIVE_INFINITY.
-
- 22 Aug, 2015 1 commit
-
-
Adam Barth authored
- Introduce _setScrollOffset as a backend for the animations so that scrollTo can stop animations. - Create a single function that stops both kinds of scroll animations. - Refactor how we update the bounds for bounded scroll behaviors so that we update the bounds and compute the new scroll offset at the same time.
-
- 18 Aug, 2015 2 commits
-
-
Viktor Lidholt authored
-
Viktor Lidholt authored
-
- 17 Aug, 2015 2 commits
- 13 Aug, 2015 2 commits
-
-
Matt Perry authored
Used for AnimationPerformance with a single AnimatedValue<T> variable.
-
Matt Perry authored
1. We would assert if you tried to start an animation from within an animation status callback. This is a common pattern, so I fixed this assert (in Ticker._tick). 2. We would assert for animations with duration under a millisecond. Fixed. Also removed the workarounds assocated with #1.
-
- 10 Aug, 2015 1 commit
-
-
Matt Perry authored
Just infer it from the sign of the velocity. That's what odeon does.
-
- 06 Aug, 2015 2 commits
-
-
Matt Perry authored
They settle much faster after you fling them now.
-
Matt Perry authored
Also add intervals and curves to AnimationPerformance, which affect all variables used by the performance.
-
- 04 Aug, 2015 1 commit
-
-
Matt Perry authored
This ensures we don't run into discontinuities when reversing an animation halfway through. I refactored AnimationValue to have knowledge of the reverse curves and intervals.
-
- 03 Aug, 2015 2 commits
-
-
Matt Perry authored
Simplifies the code a bit.
-
Adam Barth authored
When a ScrollableBlock can scroll, we want to be able to drag into the overscroll region. Previously we could fling into the overscroll region, but we couldn't actually drag there.
-
- 31 Jul, 2015 1 commit
-
-
Matt Perry authored
Use those in SnackBar, Drawer, navigator instead of AnimatedContainer's intentions.
-
- 30 Jul, 2015 1 commit
-
-
Matt Perry authored
This required some changes to AnimationPerformance to better understand animating with forces.
-
- 29 Jul, 2015 1 commit
-
-
Hans Muller authored
-
- 28 Jul, 2015 3 commits
-
-
Matt Perry authored
SnackBar, and PopupMenu instead of custom statuses.
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 27 Jul, 2015 1 commit
-
-
Hans Muller authored
-
- 21 Jul, 2015 2 commits
-
-
Hixie authored
It turns out that we aren't really using these. The identity logic is sufficient. Also, add some asserts for a crash I had once but couldn't reproduce, in case that helps catch it next time.
-
Matt Perry authored
-
- 16 Jul, 2015 3 commits
-
-
Matt Perry authored
-
Matt Perry authored
-
Collin Jackson authored
-