- 21 Mar, 2017 1 commit
-
-
Hans Muller authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 03 Mar, 2017 1 commit
-
-
Hans Muller authored
-
- 24 Feb, 2017 1 commit
-
-
Adam Barth authored
Fixes #8380
-
- 22 Feb, 2017 1 commit
-
-
Adam Barth authored
Previously, a ListView would always accept user input, even if it wasn't actually scrollable. Now, by default, we don't accept user input if there's no scroll range. You can override this behavior using the ScrollPhysics. Fixes #8276 Fixes #8278 Fixes #8271
-
- 17 Feb, 2017 2 commits
-
-
Adam Barth authored
Rename all the "2" classes related to scrolling to remove the "2". Now that the old scrolling code is gone, we don't need to use the suffix.
-
Ian Hickson authored
-
- 15 Feb, 2017 1 commit
-
-
Adam Barth authored
The replacements are ListView and SingleChildScrollView, respectively.
-
- 14 Feb, 2017 1 commit
-
-
Adam Barth authored
Also, rename ScrollableMetrics to ScrollMetrics, which follows the naming convention for most of the other classes (e.g., ScrollPosition, ScrollPhysics). Finally, fix a bug whereby SingleChildScrollView could not have a GlobalKey, because, write test, find bug.
-
- 11 Feb, 2017 1 commit
-
-
Adam Barth authored
We've decided not to store the scroll position in PageStorage because routes now maintainState by default. Fixes #8051
-
- 07 Feb, 2017 3 commits
-
-
Adam Barth authored
This patch improves PageView to the point where we can use it in the date picker. Specifically, you now get onPageChanged notifications and you can control which page is visible using a PageController.
-
Adam Barth authored
Also, move the creation of the ScrollPosition to ScrollController. Finally, remove TestScrollable in favor of CustomScrollView, which is the production version of this widget.
-
Adam Barth authored
If you pass a ScrollController to a Scrollable2, you can use the controller to read and write the scroll offset without having to find the Scrollable2State object.
-
- 04 Feb, 2017 1 commit
-
-
Adam Barth authored
This patch makes Scrollable2.ensureVisible with SingleChildScrollView. A future patch will extend the implementation to work with slivers. (Although the patch does include some of the infrastructure for that part of the implementation as well.)
-
- 03 Feb, 2017 2 commits
-
-
Adam Barth authored
This patch makes a number of changes to how you can configure a Scrollable2: - The ScrollPhysics is now responsible for creating the ScrollPosition. You can override the ScrollPhysics by supplying a `physics` argument to `Scrollable`, and the new physics you supply will be applied to the default physics inherited from the ScrollBehavior. - This patch removes the ScrollPosition/AbsoluteScrollPosition split as all clients were operating in pixels anyway and the split made the code very difficult to follow. - ScrollPosition no longer depends directly on Scrollable2State. Instead, it depends on an abstract interface that Scrollable2State implements. This change has two benefits: a) It removes the circular dependency between ScrollPosition and Scrollable2State, which lets us split the code for these classes (and several other classes that got wrapped up in that cycle) into separate libraries for easier maintenance. b) ScrollPosition is no longer bound to Scrollable2, which means you could use the behavior machinery to drive other sorts of widgets. For example, we could use it to drive Scrollabe1 if we wanted.
-
Adam Barth authored
This widget is a start towards replacing PageableList. There are still a number of features that we'll need to add before this widget can replace PageableList.
-
- 01 Feb, 2017 1 commit
-
-
Adam Barth authored
Instead of using mixins and subclasses, we now use a `ScrollPhysics` delegate to customize the scrolling phyics for Android and iOS. This change will make it easier to customize the scroll position for paging.
-
- 27 Jan, 2017 2 commits
-
-
Adam Barth authored
This structure makes it easier to customize the viewport used in a Scrollable. Now Scrollable2 doesn't commit to using slivers.
-
Adam Barth authored
When we start a ballisitic scroll activity to correct an out-of-range scroll offset, make sure we start with a velocity that is headed in the right direction.
-
- 25 Jan, 2017 1 commit
-
-
Adam Barth authored
This patch introduces ScrollView, which is a convenience widget for using a SliverBlock. This patch also switches a number of tests from Block to ScrollView. Once we support more features of block (e.g., padding and shrinkwrapping), we'll be able to move over more clients.
-
- 24 Jan, 2017 1 commit
-
-
Adam Barth authored
This widget is a replacement for ScrollableViewport that uses the new Scrollable2 machinery. The widget is not based on Slivers but does use the new scroll behavior classes.
-
- 23 Jan, 2017 1 commit
-
-
Ian Hickson authored
...now that we have generic methods, their types need to be specified too.
-
- 21 Jan, 2017 1 commit
-
-
Ian Hickson authored
-