1173 Commits

Author SHA1 Message Date
Hans Muller
04e020590d Use _ScaffoldLayout to position scrollable appbars 2016-03-29 13:27:37 -07:00
Hans Muller
5a49c68893 author again 2016-03-29 08:49:49 -07:00
Adam Barth
1ba539a661 Add constants for FractionalOffsets
Adds some names for common FractionalOffset values.
2016-03-28 22:51:06 -07:00
Matt Perry
641604ad94 Merge pull request #2850 from mpcomplete/form
Added a Form widget to manage multiple Input widgets.
2016-03-28 13:55:08 -04:00
Devon Carew
7b694ddd42 upgrade to test 0.12.13 2016-03-27 13:36:01 -07:00
Adam Barth
7988099162 Fix Travis
The collections package changed to add some stricter type annotations.
We now pass those type annoations. I also sent
https://github.com/dart-lang/collection/pull/26 to make the type
annotations match what they were previously.
2016-03-26 00:27:03 -07:00
Matt Perry
a7b28a3ede Added a Form widget to manage multiple Input widgets. 2016-03-25 17:55:38 -04:00
Viktor Lidholt
d563f50822 First pass at new Flutter gallery front page 2016-03-25 14:11:01 -07:00
Adam Barth
3c6d4f660e Add a default MediaQuery value
Now MediaQuery.of always returns a non-null value. By default, you get the
values associated with the current ui.Window.

Fixes #2894
2016-03-25 13:07:42 -07:00
Jason Simmons
03830d5676 Merge pull request #2896 from jason-simmons/yaml_schema
Validate flutter.yaml against a JSON schema
2016-03-25 10:14:58 -07:00
Ian Hickson
47e882a5a2 Merge pull request #2878 from Hixie/border-style-none
Support hairline borders
2016-03-25 09:29:57 -07:00
Jason Simmons
c2b4ac9c3c Validate flutter.yaml against a JSON schema 2016-03-24 17:49:23 -07:00
Adam Barth
1e25792590 Merge pull request #2881 from abarth/from_ltrb
Replace EdgeInsets.TRBL with EdgeInsets.fromLTRB
2016-03-24 15:56:44 -07:00
Hans Muller
d89ccc4aad Scrollbar thumb color, etc 2016-03-24 15:36:17 -07:00
Adam Barth
c8c325d095 Replace EdgeInsets.TRBL with EdgeInsets.fromLTRB
This matches the pattern from Rect. I've left EdgeInsets.TRBL marked as
deprecated to give clients a chance to update.

Fixes #2860
2016-03-24 15:19:40 -07:00
Hixie
9fc29dbbb8 Support hairline borders
Previously, border with '0' was ambiguous. Sometimes we treated it as
hairline borders, sometimes as "don't show the border", though even in
the latter case we did some graphics work sometimes. Now we have an
explicit BorderStyle.none flag to not draw the border efficiently.
2016-03-24 14:05:38 -07:00
Jason Simmons
af008749a9 An example showing how to send messages between the host app and Flutter 2016-03-24 10:00:14 -07:00
Jason Simmons
d5b30f68ce Expose the engine-src-path flag in the Gradle plugin 2016-03-23 13:33:51 -07:00
Jason Simmons
502fbeec0a Update SkyApplication to SkyMain in the hello_android example 2016-03-23 13:07:51 -07:00
Hans Muller
70550a7a9a Fix _LazyWidgetProvider indexing, move Ali Connors 2016-03-21 12:20:09 -07:00
Hans Muller
070fdf7754 Flexible AppBar with a TabBar 2016-03-21 10:42:52 -07:00
Devon Carew
54d933959e Merge pull request #2797 from flutter/devoncarew-patch-1
Update FlutterPlugin.groovy
2016-03-21 09:28:14 -07:00
Ian Hickson
552896afb7 Refactor cassowary so it uses imports rather than parts.
Also misc cleanup:
 - reorder members to be more consistent and fit the style guide
 - remove use of _Pair
 - made Variable.applyUpdate and Variable.owner public
 - added docs to Priority, tweaked the code a bit
 - added some docs to Result
 - removed the internal-error Result (replaced with asserts)
 - removed unused Results
 - made Result const
 - merged some files together since they had used privates a lot

I'm sorry this is completely unreviewable. I did the move from `lib/*`
to `lib/src/*` first, then did the `part`-to-`import` change, and then
found out how many of the files involved privates, which I wasn't
expecting. I can redo this as multiple commits if that would make it
easier to review.
2016-03-20 18:10:37 -07:00
Devon Carew
8f80050fc3 Update FlutterPlugin.groovy
Update the groovy build example.
2016-03-18 21:44:48 -07:00
Adam Barth
c9d3217c3b Use Canvas#drawParagraph
We'll eventually remove Paragraph#paint.

Fixes #2694
2016-03-17 13:45:35 -07:00
Adam Barth
502a4ae078 Use FractionalOffset for gradients
These were using Offsets, but they're really FractionalOffsets.

Fixes #2318
2016-03-15 19:30:41 -07:00
Yegor
445330129d Merge pull request #2689 from yjbanov/benchmark-harness
[driver] API for getting performance traces
2016-03-14 16:54:37 -07:00
yjbanov
26c4177360 [driver] API for getting performance traces 2016-03-14 16:15:18 -07:00
Jason Simmons
2fdcb59fec Merge pull request #2673 from jason-simmons/gradle_example
Example that builds a Flutter Android app using Gradle
2016-03-14 16:04:20 -07:00
Hixie
797e27edd3 Add @override annotations to flutter framework 2016-03-14 14:02:26 -07:00
Jason Simmons
d9f66d9e14 Example that builds a Flutter Android app using Gradle 2016-03-14 13:32:21 -07:00
Adam Barth
e2744e9a30 Stop using a prebuilt APK
Instead, require an AndroidManifest.xml and always build an APK.

Fixes #2517
2016-03-14 13:32:00 -07:00
Adam Barth
89987fc040 [rename fixit] TwoLevelSublist left->leading, center->title 2016-03-14 12:24:58 -07:00
Hans Muller
23d7a23e48 Added AppBarBehavior.under, etc 2016-03-14 10:56:59 -07:00
Adam Barth
d5b2e2a01c [rename fixit] Flex alignments
* justifyContent -> mainAxisAlignment
* alignItems -> crossAxisAlignment
* FlexJustifyContent -> MainAxisAlignment
* FlexAlignItems -> CrossAxisAlignment

Fixes #231
2016-03-12 18:33:47 -08:00
Adam Barth
5e1af2f37e [rename fixit] DismissDirection left -> endToStart, right -> startToEnd
Removes an LTR bias in DismissDirection.

Fixes #2562
2016-03-12 18:33:47 -08:00
Adam Barth
ede5dfce30 [rename fixit] ToolBar -> AppBar
* left -> leading (Removes an LTR bias)
* center -> title (Widget was actually centered)
* right -> actions (Removes an LTR bias, asymmetric with leading)

Fixes #2348
2016-03-12 18:33:47 -08:00
Adam Barth
e48c822ce3 [rename fixit] left -> leading, right -> trailing
The terms "left" and "right" have an LTR bias. Instead, we now use
"leading" and "trailing", for these list and grid decorations so that
we can later rearrange them to match the reading order.

Fixes #2540
Fixes #2548
2016-03-12 17:31:01 -08:00
Adam Barth
9b9ad3db17 [rename fixit] RouteBuilder -> BuildContext
Fixes #2353
2016-03-12 17:18:31 -08:00
Adam Barth
95fc5ae070 [rename fixit] *Component* -> *Widget*
This patch renames StatelessComponent to StatelessWidget and
StatefulComponent to StatefulWidget.

Fixes #2308
2016-03-12 12:34:05 -08:00
Adam Barth
726eff4953 [rename fixit] *OneChild* -> *SingleChild*
Fixes #1482
2016-03-12 12:33:39 -08:00
Adam Barth
e71bd77e4f [rename fixit] EdgeDims -> EdgeInsets
Fixes #1382
2016-03-12 12:33:38 -08:00
Adam Barth
7ba1960518 [rename fixit] ThemeData#text -> textTheme
Fixes #1278
2016-03-12 12:32:37 -08:00
Hixie
6795efacab Enable always_specify_types lint
And fix the zillion issues that uncovered.
2016-03-12 00:37:31 -08:00
Ian Hickson
43b0104114 Revert "Merge pull request #2639 from Hixie/always_specify_types"
This reverts commit f41b3411da35929b09009e47cb52474389e42874, reversing
changes made to e33d8d96212f3e337a6660f1eb1118bffc945bf5.

This was a bad check-in due to my mangling uploading a new version of the branch from a different machine.

This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
2016-03-12 00:34:37 -08:00
Hixie
d162d98c79 Enable always_specify_types lint
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00
Devon Carew
94157c91e9 regenerate the i18n files 2016-03-11 10:58:30 -08:00
Devon Carew
625b5b51c7 Merge pull request #2604 from devoncarew/less_i18n_analysis
exclude the i18n files from analysis
2016-03-11 09:11:56 -08:00
Adam Barth
0277b075e0 Provide the BuildContext to createRenderObject and updateRenderObject
We'll need this for RTL support because the RTL state will live in the widget
tree. Also, remove the `oldWidget` argument to updateRenderObject because there
aren't any clients for it.
2016-03-11 08:59:37 -08:00
Devon Carew
f9855ca72b exclude the i18n files from analysis 2016-03-10 21:42:46 -08:00