- 01 Feb, 2017 5 commits
-
-
Adam Barth authored
The only remaining client of ScrollableGrid (the old version) is Pesto, which needs AppBar integration.
-
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 7 commits
-
-
xster authored
* Print the error message multiple times to avoid overlap with status bar and add paragraph to mock_canvas
-
Ian Hickson authored
-
Ian Hickson authored
-
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.
-
Adam Barth authored
Our previous behavior of hard-coding the unselected label color to 70% of the selected color was too restrictive. Fixes #7738
-
Adam Barth authored
Now that ScrollView supports itemExtent, we can use it in a few more places.
-
Ian Hickson authored
-
- 30 Jan, 2017 4 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
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/4620
-
- 29 Jan, 2017 1 commit
-
-
Ian Hickson authored
ValueKey and ObjectKey shouldn't be == with subclasses. Fixes https://github.com/flutter/flutter/issues/3107 Clean up toString for the keys a bit. Add a test for keys.
-
- 28 Jan, 2017 2 commits
-
-
Ian Hickson authored
The needsLayout getter is prone to misuse. See discussion on #3083.
-
Ian Hickson authored
-
- 27 Jan, 2017 6 commits
-
-
Hans Muller authored
-
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
Uses SliverPadding to implementing paddding in ScrollView. Also, deploy ScrollView in more places now that it implements padding. Finally, remove loader_app.dart because it is not referenced.
-
Adam Barth authored
We now report an accurate estimate when the lastIndex is the final index in the list. Also, we now project forward from the lastIndex using the extent of the reified children instead of trying to project forward from index 0. This new algorithm leads to estimation error as you reach the end of a list, avoiding some ballistic overscrolls.
-
Ian Hickson authored
Rumours have it that this is faster now. Fixes https://github.com/flutter/flutter/issues/5154
-
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.
-
- 26 Jan, 2017 4 commits
-
-
Todd Volkert authored
We converted all code to use method generics in #7235, but we shouldn't have touched the `http` folder since this code is pulled from upstream.
-
Ian Hickson authored
-
Ian Hickson authored
-
Ian Hickson authored
-
- 25 Jan, 2017 9 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
-
Hans Muller 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.
-
Hans Muller authored
-
Ian Hickson authored
-
Ian Hickson authored
-
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
-