- 29 Jul, 2016 1 commit
-
-
Ian Hickson authored
And make Scrollbar work with LazyBlock. And an about box to the Stocks sample app.
-
- 26 Jul, 2016 1 commit
-
-
Hans Muller authored
-
- 06 Jun, 2016 1 commit
-
-
Adam Barth authored
Also, add more dartdoc to widgets.dart.
-
- 20 May, 2016 1 commit
-
-
Hans Muller authored
-
- 03 May, 2016 1 commit
-
-
Ian Hickson authored
* Track the worst frame in perf tests * Use backticks in "/// Returns `null` if"
-
- 27 Apr, 2016 1 commit
-
-
Adam Barth authored
Rather that importing `package:newton/newton.dart` you can `import package:flutter/physics.dart`. Fixes #2441
-
- 12 Apr, 2016 1 commit
-
-
Hans Muller authored
* ClampOverscrolls Inherited Widget
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 12 Mar, 2016 1 commit
-
-
Adam Barth authored
Fixes #2233
-
- 07 Mar, 2016 1 commit
-
-
Hixie authored
-
- 25 Feb, 2016 1 commit
-
-
Hixie authored
Also: - add operator==/hashCode/toString to ViewportDimensions - add toString to BindingBase - add toString and debugFillDescription to ScrollBehavior - fix a bug in the RawGestureDetectorState's replaceGestureRecognizers - rename MixedViewport's onExtentsUpdate to onExtentChanged - replace ExtentsUpdateCallback with ValueChanged<double> - remove a microtask for dispatching scroll start, since it did not appear to have any purpose - added dartdocs to Instrumentation until I understood it - made all event dispatch in Instrumentation drain microtasks
-
- 23 Feb, 2016 1 commit
-
-
Hixie authored
This makes ScrollBehavior agnostic about the kind of scroll. This also means ExtentScrollBehavior's comment about being linear is more relevant (previously it was true of all scroll behaviours).
-
- 10 Feb, 2016 1 commit
-
-
Adam Barth authored
Fixes #1730
-
- 21 Jan, 2016 1 commit
-
-
Adam Barth authored
Previously this code was in the animation layer, which didn't make much sense because scrolling is a widget concern.
-
- 10 Dec, 2015 1 commit
-
-
Florian Loitsch authored
-
- 09 Dec, 2015 2 commits
-
-
Hans Muller authored
-
Adam Barth authored
We had the units wrong on the tolerances. Previously we multiplied by the device pixel ratio, which meant we got larger tolerances as we got more resolution. Also, simplify logic in Newton for applying the tolerances. Fixes #828
-
- 28 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 10 Oct, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
- 29 Sep, 2015 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
Initial snap offset support for ScrollableWidgetList (and ScrollableList<T>) and ScrollableMixedWidgetList. If a ```toSnapOffset(scrollOffset)``` function is provided, fling Scrolls will coast to the returned value. If ```alignmentOffset``` is specified then fling scrolls conclude when toSnapOffset's value lines up with the Scrollable widget's origin + alignmentOffset. For example if the Scrollable widget's height was 200.0, and alignmentOffset:100.0 was specified, then fling scrolls would end with the value returned by toSnapOffset() lined up with the center of the Scrollable. This approach to Scrollable snapping assumes that the layout of whatever the Scrollable contains is known at the outset. This is often true however a ScrollableMixedWidgetList may not know its items' sizes until they've been reached by scrolling. This is a first cut at snapping support. Among the things that remain to be done: - Scrolling limits trump snapping. Snapping should probably trump scrolling limits. - Drag scrolls aren't snapped. This may be desirable so perhaps the feature should be controlled with a flag. - Specifying alignmentOffset as a percentage would probably be more convenient. - It would be nice if one could wrap items in a SnapOffset value like: ```new SnapOffset(0.5, child: myItem)``` to snap to the center of the item. Updated the CardCollection example: snapping and fixed size items can be turned on/off with Drawer checkboxes.
-
- 22 Sep, 2015 3 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
Hans Muller authored
-
- 10 Sep, 2015 1 commit
-
-
Adam Barth authored
Previously, if you used a number of nested Blocks, they'd each try to register drag gesture detectors even though they can't actually scroll. This CL teaches Scrollable to watch for drag gestures only when it can actually scroll.
-
- 08 Sep, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
Move the animation libraries into src/animation and change importers to use package:sky/animation.dart. Also, move scheduler.dart into the animation library so that the animation library can be self-contained.
-
- 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.
-
- 03 Aug, 2015 1 commit
-
-
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.
-
- 30 Jul, 2015 1 commit
-
-
Matt Perry authored
This required some changes to AnimationPerformance to better understand animating with forces.
-
- 28 Jul, 2015 2 commits
-
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 27 Jul, 2015 1 commit
-
-
Hans Muller authored
-
- 16 Jul, 2015 2 commits
-
-
Matt Perry authored
-
Collin Jackson authored
-