Commit Graph

1526 Commits

Author SHA1 Message Date
Adam Barth beb8afa456 Switch to the assets plugin (#6408)
This patch removes our dependency on asset_bundle.mojom.
2016-10-19 22:04:56 -07:00
Adam Barth c08ea4eb33 Switch to TextInputPlugin (#6392)
This patch removes uses of keyboard.mojom in favor of the
TextInputPlugin.
2016-10-19 15:53:31 -07:00
Ian Hickson cfddacbb81 Platform selector in gallery. (#6390) 2016-10-18 22:44:43 -04:00
Yegor eabadad6c0 Add more logging to the gallery transitions test (#6363) 2016-10-17 17:30:51 -07:00
Adam Barth 63e7a0e80a Add BuildContext.size as a convenience getter (#6355)
Developers need to get the size of the BuildContext sufficiently often
that we should provide a convenient getter for the value. Having this
getter is also an opportunity to catch common mistakes and provide
useful error messages that guide developers towards better patterns.

Fixes #2321
2016-10-17 12:33:11 -07:00
Adam Barth 9cab64a72c More automated edits of iml files 2016-10-14 21:57:28 -07:00
Adam Barth ffe14b0d27 Navigator.push and Navigator.pushNamed should return Futures (#6333)
These futures complete when the route is popped off the navigator. This
generalizes and simplifies a mechanism already in place for dialogs and
menus.

Fixes #5283
2016-10-14 16:05:45 -07:00
Adam Barth 9ae7f4903e Update IML files 2016-10-14 09:58:48 -07:00
Matt Perry c13a6e275b Add a maxLines parameter for multiline Input. (#6310)
* Add a maxLines parameter for multiline Input.

If maxLines is 1, it's a single line Input that scrolls horizontally.
Otherwise, overflowed text wraps and scrolls vertically, taking up at
most `maxLines`.

Also fixed scrolling behavior so that the Input scrolls ensuring the
cursor is always visible.

Fixes https://github.com/flutter/flutter/issues/6271

* oops

* comments

* import

* test and RO.update fix

* constant

* fix.caretRect
2016-10-13 21:59:50 -04:00
Adam Barth 6e5c192cef Remove use of activity.mojom (#6317)
Instead, we now interact with the system navigator via SystemNavigator.
2016-10-13 15:16:54 -07:00
Jason Simmons 5b292aabd2 Set windowSoftInputMode=adjustResize in example apps that were missing it (#6312)
This is needed to update an app's layout when a soft keyboard is shown
2016-10-13 14:45:27 -07:00
Adam Barth a6b5293df9 Update iml files (#6300)
These changes were generated by IntelliJ.
2016-10-12 23:33:17 -07:00
Adam Barth 0975d04972 Remove media service example (#6264)
This example is misleading because it relies on the old services model.
Let's remove it until #6263 is fixed.
2016-10-10 20:14:34 -07:00
Todd Volkert 67254ef626 Run dartfmt on a few of the gallery example files (#6260) 2016-10-10 20:04:07 -07:00
Devon Carew e303a7f735 add run configurations (#6243) 2016-10-07 13:03:52 -07:00
Devon Carew 4c8b7b5d44 commit intellij project metadata (#6232)
* commit intellij project metadata

* move metadata to the top level

* delete dev/intellij
2016-10-06 17:43:52 -07:00
Matt Perry 2fd78dcc53 Add multiline support to Input and friends. (#6155)
Fixes https://github.com/flutter/flutter/issues/6154
2016-10-05 15:46:48 -04:00
Hans Muller e2ff169d5b Have the scale gesture callback uses details objects (#6204) 2016-10-04 12:44:36 -07:00
Hans Muller 596637ade4 Added scale-to-zoom gesture support to the Gallery grid demo (#6185) 2016-10-03 16:08:15 -07:00
Hans Muller b329894b4d Added byTooltip() to CommonFinders (#6178) 2016-10-03 12:52:06 -07:00
Hans Muller 66127250c9 Fix Gallery example code display initialization (#6176) 2016-10-03 12:00:01 -07:00
Chris Bracken b371788df1 Remove Pesto recipe card scaffold leading override (#6172)
The current implementation matches the default behaviour of the material
scaffold.
2016-10-03 10:21:42 -07:00
qchong 16e3424805 Update README.md 2016-09-30 13:57:39 -07:00
qchong 396c6368dc Update README.md
Refined query template with "new" keyword.
2016-09-30 13:57:13 -07:00
Adam Barth c9eda86b0e Switch to PointerData API (#6131)
Now dart:ui does the decoding of the pointer data itself, which means we don't
need to do it in the framework.
2016-09-29 21:25:20 -07:00