- 07 Feb, 2017 1 commit
-
-
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.
-
- 05 Feb, 2017 1 commit
-
-
Adam Barth authored
This patch converts the Shrine home page to using a sliver-based grid. This required using a CustomScrollView to mix the block at the top with the grid below.
-
- 04 Feb, 2017 4 commits
-
-
Adam Barth authored
We now create a GridLayout object that memoizes the layout information for a given SliverConstraints. This approach is both more efficient (because the delegate no longer needs to re-solve its layout for each child) and allows for more code sharing between delegates. The SliverGridRegularTileLayout will also be useful for the date picker. Also, document the grid delegates.
-
Adam Barth authored
Also, use CustomScrollView in Shrine and fix a bug with one-line grids not painting properly due to their reporiting zero paintExtent.
-
Adam Barth authored
This quantity is actually the layoutOffset of the child, not its scroll offset.
-
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.)
-
- 01 Feb, 2017 2 commits
-
-
Adam Barth authored
-
Ian Hickson authored
-
- 31 Jan, 2017 1 commit
-
-
Adam Barth authored
This patch adds grid supports to slivers and introduces a ScrollGrid convenience class for making the common types of scrollable grids. This patch also deploys ScrollGrid in an example in the Flutter Gallery.
-