- 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
-
- 09 Feb, 2017 3 commits
-
-
Adam Barth authored
All the clients have migrated to GridView. Also, remove RenderGrid, which isn't needed by GridView.
-
Adam Barth authored
We weren't triggering a relayout when the number of children changed. Fixes #8001
-
Ian Hickson authored
Move the back button and drawer opening logic into the app bar. Move the tap-status-bar-to-scroll-to-top logic to using ScrollControllers. Provide a PrimaryScrollController and a `primary` flag on scroll views. Make it possible to track when a route becomes or stops being poppable.
-
- 08 Feb, 2017 1 commit
-
-
Ian Hickson authored
...for the case where there's no right or bottom padding.
-
- 07 Feb, 2017 2 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
There appears to be an issue with children before the center widget. I've filled a bug about that issue and will follow up in a later patch.
-
- 06 Feb, 2017 1 commit
-
-
Ian Hickson authored
-
- 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 6 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.
-
Ian Hickson authored
-
Adam Barth authored
This patch passes down the viewportMainAxisExtent so that RenderSliverPage can pick it up and size its children appropriately.
-
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
-
-
Ian Hickson authored
...and fix bugs that the tests uncovered. WRITE TEST FIND BUG
-
Adam Barth authored
There aren't any interdependencies with the rest of sliver.dart, and that file is already quite complex.
-
- 02 Feb, 2017 3 commits
-
-
Ian Hickson authored
This allows us, for example, to wait for the slow mode banner to have been removed from the screen before triggering a screen shot.
-
Ian Hickson authored
-
Ian Hickson authored
-
- 01 Feb, 2017 4 commits
-
-
Adam Barth authored
SliverFill fills the remaining space in the viewport with each box child. We'll use this sliver as a building block for pageable lists.
-
Adam Barth authored
-
Adam Barth authored
These functions were previously hidden inside other functions but they are useful enough to expose directly. Specifically, I plan to use these when implementing Scrollable2.ensureVisible.
-
Ian Hickson authored
-
- 31 Jan, 2017 2 commits
-
-
xster authored
* Print the error message multiple times to avoid overlap with status bar and add paragraph to mock_canvas
-
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.
-
- 30 Jan, 2017 3 commits
-
-
Adam Barth authored
Add SliverList A SliverList is a linear layout of box children in a viewport that all have a common, fixed extent along the scroll axis. The layout is similar to a SliverBlock but more efficient.
-
Ian Hickson authored
-
- 28 Jan, 2017 1 commit
-
-
Ian Hickson authored
The needsLayout getter is prone to misuse. See discussion on #3083.
-
- 27 Jan, 2017 1 commit
-
-
Ian Hickson authored
Rumours have it that this is faster now. Fixes https://github.com/flutter/flutter/issues/5154
-
- 26 Jan, 2017 1 commit
-
-
Ian Hickson authored
-
- 25 Jan, 2017 5 commits
-
-
Adam Barth authored
When you put a box in a Viewport2, it might paint outside its allocated bounds. This patch teaches Viewport2 to clip when that happens.
-
Ian Hickson authored
-
Ian Hickson authored
-
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.
-
Ian Hickson authored
I plan to use this to implement similar logic in SliverPadding. To make this easier to test I extended the paints matcher to accept a function that takes a canvas. While I was at it I also made it accept a Finder, it'll go and find the render object for you. Also added support for paints..path and fixed some grammar in the error messages. Also improved the docs for debugPaint*.
-
- 24 Jan, 2017 2 commits
-
-
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.
-
Ian Hickson authored
-
- 22 Jan, 2017 1 commit
-
-
Ian Hickson authored
-