Matt Perry
113991da95
Rethink Forms. ( #6569 )
...
FormField is now a widget that can contain any type of field. Input no
longer has special code to handle form fields. Instead, there is a
helper widget InputFormField for using an Input inside a FormField.
Fixes https://github.com/flutter/flutter/issues/6097 and based on
feedback from the same.
2016-11-02 14:27:21 -04:00
Chris Bracken
58630cc209
Derive colors demo TextStyle from theme ( #6632 )
2016-11-01 16:11:41 -07:00
Adam Barth
67f591000f
Mentions flutter packages get
rather than pub get
( #6625 )
...
Fixes #6417
2016-11-01 13:27:06 -07:00
Adam Barth
e88a7a2bef
Add weights to the Raleway declaration ( #6626 )
...
Previously we weren't using all the different weights of the font.
2016-11-01 10:43:28 -07:00
Hans Muller
fc03057b1a
Avoid known wide gallery title issues ( #6534 )
2016-10-28 12:05:01 -07:00
Matt Perry
76844e25da
Fix Bruschetta typo. ( #6568 )
2016-10-27 17:18:12 -04:00
Eric Seidel
cf3452fbac
Revert "Fix Bruschetta typo" ( #6565 )
2016-10-27 22:46:53 +02:00
Eric Seidel
bf3d478f25
Fix Bruschetta typo ( #6563 )
...
Fixes https://github.com/flutter/flutter/issues/6561
2016-10-27 22:27:22 +02:00
Jason Simmons
04e14f8be5
Fix obsolete reference to org.domokit.activity in hello_services ( #6546 )
...
See https://github.com/flutter/flutter/issues/6539
2016-10-26 16:59:38 -07:00
Hans Muller
8cd1b79364
Fix Gallery grid demo zoom ( #6531 )
2016-10-25 14:04:23 -07:00
Adam Barth
0fe5051fce
Handle lifecycle and navigation platform messages ( #6524 )
...
Soon the engine will send this information through platform messages.
2016-10-25 12:52:19 -07:00
Jason Simmons
617fa8c3a9
Engine roll with updates to the ParagraphBuilder constructor ( #6528 )
2016-10-25 12:20:02 -07:00
Yegor
33c6526462
fix frame info extraction logic; track frames in gallery test ( #6505 )
2016-10-25 11:02:18 -07:00
Chris Bracken
2434747e6e
Fix NPEs in DatePicker, TimePicker demos ( #6509 )
2016-10-24 17:52:16 -07:00
Ian Hickson
c895d2f6f5
Add more docs around .of functions ( #6482 )
2016-10-24 11:17:34 -07:00
Wyatt Arent
cc11c39b59
#6344 update google.com/material links to material.google.com ( #6484 )
2016-10-22 21:51:53 -07:00
Hans Muller
a8bf594e59
Scale card demo titles if they will not fit ( #6462 )
2016-10-21 14:10:39 -07:00
Ian Hickson
729efa2501
Propagate platform through the subsidiary themes. ( #6396 )
...
Since we can change the theme's platform, we need to make sure we
propagate that throughout rather than having half the app use the native
platform and half the app use the selected platform.
2016-10-20 23:28:30 -04:00
Matt Perry
fdb76da5c9
Remove default horizontal padding for Input. ( #6437 )
...
This partially reverts https://github.com/flutter/flutter/issues/626 ,
but horizontal padding is not in the spec, so we still match the spec.
2016-10-20 16:38:09 -04:00
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
Adam Barth
8a823328ca
Make animation_demo a manual test ( #6117 )
...
This demo doesn't work properly in landscape and is confusing. It's
really more of a test of the material arc code.
Fixes #5710
2016-09-29 08:59:43 -07:00
Adam Barth
036f7ef59d
Add support for landscape date pickers
...
Fixes #5141
2016-09-29 08:59:22 -07:00
Adam Barth
6469872abd
Rename Container.align to alignment ( #6116 )
...
To match the Align widget (and several other widgets).
Fixes #6101
2016-09-28 11:17:04 -07:00
Ian Hickson
e01592a0c0
Fix globalToLocal and update spinning_mixed ( #6035 )
...
* globalToLocal was just broken when there was a rotation and a
translation at the same time. This fixes that and adds a test.
* update graphic used by spinning_mixed since the old one went 404.
* simplify some of the code in the demo.
* fix MatrixUtils.transformPoint to be consistent with how we transform
points elsewhere.
* stop transforming points elsewhere, just use
MatrixUtils.transformPoint.
* make the Widget binding handle not having a root element.
* make the spinning_mixed demo update its widget tree.
2016-09-28 01:06:32 -07:00
Adam Barth
dc4a1638ee
Specialize AlertDialog and SimpleDialog ( #6098 )
...
We were trying to cram too much functionality in to the Dialog widget. Now we
have AlertDialog and SimpleDialog to cover to two different kinds of dialogs in
the spec.
2016-09-27 15:44:11 -07:00
qchong
517ddab3a0
Add tip on how to query for examples of using specific classes in the samples. ( #6103 )
2016-09-27 14:39:15 -07:00