- 20 Nov, 2015 18 commits
-
-
Ian Hickson authored
OverlayRoute.finished()
-
Hixie authored
Rather than have delayed calls to super.didPop(), which raises my eyebrow every time I see it, this provides a separate finished() function to call, and uses the convention that if you want to call it yourself, you just don't call super.didPop().
-
Adam Barth authored
Elaborate HSVColor interface
-
Adam Barth authored
Fixes #507
-
Ian Hickson authored
Expose the close()/closed API for snack bars
-
Hixie authored
This lets you close them manually.
-
Ian Hickson authored
Convert Persistent Bottom Sheets to a Scaffold API
-
Hixie authored
- `Scaffold.of(context).showBottomSheet(widget);` - Returns an object with .closed Future and .close() method. - Uses a StateRoute to handle back button. - Take the Navigator logic out of the BottomSheet widget. - Support showing a sheet while an old one is going away. - Add Navigator.remove().
-
Jason Simmons authored
Download build artifacts from a zip file
-
Adam Barth authored
Make stocks list scrolling 2x faster on the main thread
-
Jason Simmons authored
This updates the Flutter tools to match the proposed new packaging of artifacts in the engine release script. * The GCS URL for artifacts is now gs://mojo/flutter/$revision/$platform * Categories have been removed from the Artifact class * All artifacts for a given platform now live in a zip file. If an artifact is not present in the local cache, then the zip will be downloaded and extracted. Note that darwin-x64 artifacts go through a different process that (for now) continues to use the old format.
-
Adam Barth authored
This patch improves the repaint strategy for HomogeneousViewport so that the list itself and every entry in the list has a repaint boundary. That means that we only record list items as they enter the view.
-
Adam Barth authored
-
Adam Barth authored
Callback identity is too fragile for CustomPaint
-
Adam Barth authored
Many of the widgets that use CustomPaint were spamming repaints because CustomPaint repaints when the identity of the onPaint callback changes, which it does every build for StatelessComponents. This patch changes CustomPaint to use a CustomPainter, similar to the new custom layout widgets. The CustomPainter has a `shouldRepaint` function along with its `paint` function. This function gives clients explicit control over when the custom paint object repaints.
-
Tony Gentilcore authored
Add a FractionalOffset alignment parameter to BackgroundImage
-
Tony Gentilcore authored
-
Adam Barth authored
Add a repaint rainbow to help debug repaint issues
-
- 19 Nov, 2015 22 commits
-
-
Adam Barth authored
The repaint raindbow tints each recording with a rotating set of colors so you can see which pixels are repainting each frame.
-
Adam Barth authored
Add debugDumpLayerTree to dump the layer tree
-
Adam Barth authored
To help debugging issues with the layer tree.
-
Adam Barth authored
Re-enable support for debugPaintLayerBordersEnabled
-
Viktor Lidholt authored
Removes demo game from repository (it's now in its own repo)
-
Adam Barth authored
We lost this feature at some point. This patch brings it back.
-
Viktor Lidholt authored
-
Misha Dynin authored
Introduced ImageProvider for asynchronously loading images.
-
Adam Barth authored
Some paint functions were using canvas.save/restore around children
-
Misha Dynin authored
Updated image cache to use any ImageProvider instance. Renamed RawImage to AsyncImage and updated the interface to use any ImageProvider instance.
-
Adam Barth authored
This pattern breaks when using compositing because we need to lift those operations into the compositing tree. This patch removes all the ones I could find and adds an assert to help prevent more from getting introduced. Fixes #191
-
Adam Barth authored
Refactor PaintingContext
-
Adam Barth authored
This patch simplifies PaintingContext with several goals: 1) We now call a callback instead of assuming the caller has a single child to paint. This change will let us handle render objects that wish to paint more than one child. 2) We now avoid creating lots of empty picture layers because we don't eagerly start recording pictures. Instead, we wait for the first caller to touch the canvas before creating the picture recorder. 3) We now are more consistent about which values have incorporated the painting offset.
-
Eric Seidel authored
Point to Github issues instead of flutter.io
-
Eric Seidel authored
Fixes #489. @sethladd
-
Adam Barth authored
Popup menu in Stocks throws exception
-
Adam Barth authored
Previously, we were putting a ForcedLayer just below the overlay, but that causes trouble for routes like the popup menu that want to position themselves inside the overlay. Instead, I've moved the ForcedLayer down into ModalRoute. Also, rename ForcedLayer to RepaintBoundary, which is more descriptive of what this widget does. Fixes #485
-
Adam Barth authored
Add `alignment` to image widgets
-
Adam Barth authored
We already had the code to implement this feature. We just needed to plumb it out to the widget API.
-
Ian Hickson authored
Snackbar Refactor
-
Hixie authored
"showSnackBar()" is now a feature of a Scaffold. To get to a Scaffold you either use a global key (`scaffoldKey.currentState.showSnackBar(...)`), or you use `Scaffold.of(context)`. Snack bars no longer have a route. They are entirely managed by the Scaffold. Fixes #432. Snack bars now queue up when you have several of them. Fixes #374. Snack bars now auto-size themselves around their contents. This is step one towards implementing multiline snack bars. Snack bars now self-dismiss after some per-snackbar configurable period. The self-dismissing pauses while a dialog is up above the snackbar (or anything that uses ModalRoute). To enable this, there's now a `ModalRoute.of(context)` API that returns the current ModalRoute, and you will be rebuilt if you asked for this and the route's "current" status changes. To implement this, the Navigator now rebuilds unconditionally any time it pushes or pops a route. Snack bars now use the curves that Android uses for snack bars. Snack bar contents now fade in.
-
Adam Barth authored
Reduce paint time for Stocks drawer animation by 88%
-