- 19 Nov, 2015 6 commits
-
-
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%
-
Adam Barth authored
Now we use a forced layer around the reprojected content of the drawer, which means we don't have to re-record it during the slide animation. This saves 2ms per frame. The total main-thread time for the drawer animation is now 2.0ms.
-
- 18 Nov, 2015 24 commits
-
-
Adam Barth authored
Reduce record time in Stocks drawer animation by 55%
-
Adam Barth authored
Now we use a ForcedLayer in the navigator overlay to cache the recording for each entry in the overlay. This mechanism just caches the display list, not the underlying pixels. Also, remove the "dispose" notification in the Layer tree because it was disposing layer too eagerly. We don't actually need this notification for anything other than eagerly freeing some C++ memory.
-
Hans Muller authored
Corrected Card resting elevation, tabs example toolbar Fixes #411
-
Hans Muller authored
-
Adam Barth authored
Switch from ui.tracing to dart:Developer Timeline
-
Adam Barth authored
This change will let us remove the tracing interface from dart:ui and also makes these timeline events show up in Observatory.
-
Hans Muller authored
Update Material shadow rendering Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec. The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html. The "level" property (many classes) is now called "elevation", to match the Material spec. BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
-
Adam Barth authored
Handle adb error cases more gracefully
-
Hans Muller authored
Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec. The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html. The "level" property (many classes) is now called "elevation", to match the Material spec. BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
-
Adam Barth authored
We now print a sensible message if we can't find `dart` or `adb`. Also, we print a sensible message if the device isn't authorized. Fixes #380 Fixes #358
-
Adam Barth authored
Improve error message for non-existent asset
-
Adam Barth authored
Import path.dart as path rather than p
-
Adam Barth authored
Now we print the name of the asset and the base directory where we looked for the error instead of throwing a null pointer exception. Fixes #296
-
Adam Barth authored
Fixes #311
-
Adam Barth authored
Add support for repeating performances
-
Ian Hickson authored
Pave the Foo.of() cowpath.
-
Adam Barth authored
Make flutter run_mojo imply flutter build
-
Adam Barth authored
Fixes #447
-
Hixie authored
I'm planning on adding more .of() functions and so to avoid further copypasta I'm providing some general utility functions here.
-
Adam Barth authored
Rename StatisticsBox to RenderStatisticsBox
-
Adam Barth authored
This makes run_mojo more similar to flutter start.
-
Adam Barth authored
Fixes #441
-
Florian Loitsch authored
Add a task scheduler.
-
Adam Barth authored
Improve flutter --version output
-
- 17 Nov, 2015 10 commits
-
-
Florian Loitsch authored
The current implementation is still pretty rudimentary.
-
Ian Hickson authored
Fix focus bug that was breaking nested navigators
-
Hixie authored
Turns out we were assuming that once the global key is gone, our listener is unregistered. It isn't. I'm planning on adding a test as part of my nested navigator work.
-
Jason Simmons authored
Add a Flutter command that builds an APK using a local build of the e…
-
Adam Barth authored
Sample output: ``` Flutter Repository: git@github.com:flutter/flutter.git Branch: master Revision: 7be58b1a (62 minutes ago) ``` Fixes #433
-
Jason Simmons authored
Example: cd flutter/examples/stocks flutter --engine-src-path /path/to/engine/src apk -o Stocks.apk -m apk/AndroidManifest.xml
-
Adam Barth authored
Switch flutter run_mojo over to flutter.mojo
-
Adam Barth authored
The new flutter.mojo is ready for use.
-
Ian Hickson authored
Notify the previous route when pushing and popping
-
Hixie authored
This makes HeroController ignore StateRoutes when deciding where to animate heroes to and from.
-