- 06 Feb, 2017 6 commits
-
-
Adam Barth authored
These widget don't have any clients anymore. Consider using GridView instead.
-
Ian Hickson authored
-
Jacob Richman authored
* Small Flutter strong mode cleanup fixes. These are cases where strong mode down cast composite errors generally indicated cases that would performance or correctness issues if Flutter code was run in a strong mode VM. * Fix Command API so that it is always in terms of Map<String,String>. * Fix typedef
-
Michael Goderbauer authored
-
Adam Barth authored
After this patch, the old grid code is not used in the framework.
-
Adam Barth authored
This patch uses sliver-based two more gallery demos, the stocks example, in the date picker, and in markdown.
-
- 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 14 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
This patch moves the resonsibility for wrapping repaint boundaries around children to SliverChildDelegate, which means delegates can choose whether or no to use repaint boundaries. Also introduce SliverChildBuilderDelegate to make it easier to use the builder pattern with sliver lists. This functionality will be used by date picker, which wants to use a SliverGrid but doesn't need a repaint boundary around every day in a month grid.
-
Adam Barth authored
Someone on stack overflow was mutating the list of recipes and getting confused about why the UI didn't redraw. Making kPestoRecipes a constant might help avoid that confusion.
-
weisong0 authored
* allow mulitple observers for Navigator and MaterialApp * add test for the navigator observers * fix style * add test for adding/removing a navigator observer
-
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 widget has no clients. Please use GridView.extent instead.
-
Chris Bracken authored
-
Chris Bracken authored
If ensureDirectoryExists fails -- e.g. because a file file of the same name as the directory to be created exists, ensure that we exit cleanly with a useful error message.
-
Ian Hickson authored
-
Chris Bracken authored
Allows for better testing of functions that throw ToolExit to bail out.
-
Adam Barth authored
This patch passes down the viewportMainAxisExtent so that RenderSliverPage can pick it up and size its children appropriately.
-
Ian Hickson authored
This prepares us for a CustomScrollView that takes slivers.
-
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 13 commits
-
-
Jason Simmons authored
-
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.
-
xster authored
-
Ian Hickson authored
...and fix bugs that the tests uncovered. WRITE TEST FIND BUG
-
Chris Bracken authored
And fix some un-grammatical language below.
-
Chris Bracken authored
* Detects iPad 2 and iPad Retina as unsupported devices. * Simplifies blacklisting logic. * Minor improvements to error messages. * Added unit tests.
-
Chris Bracken authored
-
Adam Barth authored
This property is wired up to anything and it isn't used. We'll need to find a better way for clients to control the scroll offset.
-
Chris Bracken authored
Subclassing FlutterAppDelegate is not required for real-world apps, but it's what 'flutter create' generates, and applies the default behaviours that most real-world apps will want.
-
Chris Bracken authored
On iOS, generate a FlutterAppDelegate subclass for the application delegate. This avoids touchesBegan:withEvent boilerplate to handle status bar taps.
-
Chris Bracken authored
-
Adam Barth authored
There aren't any interdependencies with the rest of sliver.dart, and that file is already quite complex.
-
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.
-
- 02 Feb, 2017 6 commits
-
-
Adam Barth authored
IntelliJ seems to really want these files to have these changes.
-
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.
-
Michael Goderbauer authored
-
Hans Muller authored
-
Ian Hickson authored
Also, tweak Banner a bit so you can set the color and text style. Also, cache the text painter between paints.
-
Ian Hickson authored
-