3078 Commits

Author SHA1 Message Date
Ian Hickson
6c93270d85 FileImage (#6853) 2016-11-14 16:36:39 -08:00
Dan Rubel
34e466f1fd Refactor flutter command exit code - part 3 of 3 (#6838)
* Remove the workaround that pinned args to v0.13.6
This reverts most of the changes in commit 6331b6c8b5d964ec0dbf2cd9bb84c60c650a0878
* throw exception if exit code is not an integer
* rework command infrastructure to throw ToolExit when non-zero exitCode
* convert commands to return Future<Null>
* cleanup remaining commands to use throwToolExit for non-zero exit code
* remove isUnusual exception message
* add type annotations for updated args package
2016-11-14 14:21:30 -05:00
Ian Hickson
ece851d5cd Minor improvements to the render tree dump. (#6831)
Also fixes https://github.com/flutter/flutter/issues/6510
2016-11-14 11:18:46 -08:00
Ian Hickson
df25e4899d Provide a way to override the Material border radius (#6828)
This should help a bit with people trying to make apps that have a
Material feel but don't necessarily exactly fit the Material spec.
2016-11-12 15:09:12 -08:00
Ian Hickson
661543227e Mention visitChildren in RenderObjectElement docs. (#6824) 2016-11-11 21:45:17 -08:00
Chris Bracken
d0ff41ec35 Add accentTextTheme and accentIconTheme to ThemeData (#6808)
These define a TextTheme and IconTheme that contrast with the accent
colour brightness. Also adjust default accentColorBrightness to match
Material spec examples (dark text/icons on teal in Dark theme).

Update material components to use accentTextTheme, accentIconTheme:
* DatePicker selection
* Floating action button icon
* TimePicker selection
* Slider label text
2016-11-10 15:33:02 -08:00
Jason Simmons
ca5e1f3f23 In the semantics tree, do not detach a child if it has already been assigned a new parent (#6773)
Fixes https://github.com/flutter/flutter/issues/6690

Also add a version of the Gallery smoke test that enables semantics
2016-11-10 12:55:56 -08:00
Ian Hickson
bbf98d9c6b SizedBox.expand (#6791) 2016-11-09 23:34:31 -08:00
Ian Hickson
fcd47f84d2 CustomPaint size (#6790) 2016-11-09 20:50:43 -08:00
Ian Hickson
01a8d51022 Clean up abstract node docs (#6786) 2016-11-09 18:15:51 -08:00
Ian Hickson
b9c3871163 Add debug info to offstage renderer (#6789) 2016-11-09 18:10:50 -08:00
Ian Hickson
1f737f5c94 Add a table to the updateChild docs (#6782) 2016-11-09 16:28:35 -08:00
Ian Hickson
49b5701224 Minor fixes (mostly doc consistency) (#6780) 2016-11-09 15:05:56 -08:00
Ian Hickson
0db2fc3fd9 RenderObjectElement docs (#6770) 2016-11-09 13:04:16 -08:00
Chinmay Garde
1939ba12d2 Wire up checkerboarding of raster cache images in the framework and gallery. (#6749) 2016-11-09 11:36:17 -08:00
Ian Hickson
7f182dacb7 A variety of trivial fixes. (#6752) 2016-11-08 15:16:39 -08:00
Ian Hickson
106ff33255 Detailed RenderBox and RenderObject docs (#6745) 2016-11-08 15:16:33 -08:00
Ian Hickson
b9a620694c CircleAvatar docs (#6735) 2016-11-08 14:49:49 -08:00
Dan Rubel
6331b6c8b5 revert args to 0.13.6 (#6765) 2016-11-08 17:15:11 -05:00
Matt Perry
b9bff6a912 Only show the keyboard when the user explicitly focuses an Input. (#6713)
Fixes https://github.com/flutter/flutter/issues/6603
2016-11-08 14:14:15 -05:00
Hans Muller
74dd0a3a2c Input refactoring: added an InputField widget (#6733) 2016-11-07 14:38:41 -08:00
Ian Hickson
10d20c77aa Fix copypasta in Column docs (#6736)
Fixes https://github.com/flutter/flutter/issues/6734
2016-11-07 14:05:29 -08:00
Andrew Wilson
01ca34cd0c Add profiling for building and painting. (#6652) 2016-11-07 13:46:42 -08:00
Ian Hickson
57be959887 Rename test/widget to test/widgets to match the library (#6716) 2016-11-07 10:03:11 -08:00
Ian Hickson
e7d5c7d6b7 Change 'body' to be loosely constrained. (#6692)
People get confused by the tight constraints.
2016-11-03 14:44:11 -07:00
Ian Hickson
20063c5e51 Improve documentation (#6694)
Based on P5's experience
2016-11-03 14:40:12 -07:00
Ian Hickson
5a27f6a240 Add more SnackBar documentation. (#6696)
Fixes https://github.com/flutter/flutter/issues/6628
2016-11-03 14:40:02 -07:00
Ian Hickson
d3cdb270b6 More documentation for drawers. (#6697)
Closes https://github.com/flutter/flutter/issues/5781
2016-11-03 14:39:51 -07:00
Ian Hickson
7e6aa6de3a Clarify AppBar.actions (#6700)
Closes https://github.com/flutter/flutter/issues/6125
2016-11-03 14:39:24 -07:00
Ian Hickson
b47b16f44a Clarify Overlay.initialEntries. (#6701)
Closes https://github.com/flutter/flutter/issues/6141
2016-11-03 14:39:12 -07:00
Ian Hickson
8a91c8bc59 Clarify RenderObjectWidget.updateRenderObject (#6702)
Closes https://github.com/flutter/flutter/issues/5743
2016-11-03 14:39:00 -07:00
Ian Hickson
66d8aa1141 Breadcrumbs for mimics (#6703)
Closes https://github.com/flutter/flutter/issues/5617
2016-11-03 14:38:53 -07:00
Matt Perry
5afde06b80 Clean up a few stale TODOs. (#6698) 2016-11-03 17:20:26 -04:00
Ian Hickson
2d9d4c2d3a Document typedefs better. (#6671) 2016-11-02 21:14:59 -07:00
Hans Muller
c9e89b6514 Improved time picker header layout (#6669) 2016-11-02 16:28:39 -07:00
Hans Muller
944d2ef6b4 Revert "Size of a childless container's implicit DecoratedBox descendants" (#6663) 2016-11-02 16:02:00 -07:00
Chris Bracken
abcfc42dfc Support per-platform default typography (#6634)
On Android and Fuchsia, default to Roboto. On iOS, use San Francisco.
2016-11-02 15:58:35 -07:00
Hans Muller
6f3ba9c53b Size of a childless container's implicit DecoratedBox descendants (#6656) 2016-11-02 11:42:37 -07:00
Ian Hickson
ae49356a89 Improve Center docs a tiny bit. (#6636) 2016-11-02 11:28:56 -07:00
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
75fec8926d Propagate theme typography to slider label (#6629) 2016-11-01 14:50:52 -07:00
Adam Barth
67f591000f Mentions flutter packages get rather than pub get (#6625)
Fixes #6417
2016-11-01 13:27:06 -07:00
Chris Bracken
8f2d40c2d5 Extract time picker typography from theme (#6627) 2016-11-01 13:21:59 -07:00
Chris Bracken
438f4df00c Improve comment spelling consistency (#6622) 2016-11-01 09:20:52 -07:00
Ian Hickson
4046db9866 Some more documentation in the material lib (#6617) 2016-10-31 23:01:39 -07:00
Ian Hickson
df3fff97ed Apply review comments from #6612. (#6616)
TBR @abarth
2016-10-31 22:46:22 -07:00
Ian Hickson
9d64dcc7f7 The documenting will continue... (#6613)
...until people understand them.
2016-10-31 22:27:13 -07:00
Ian Hickson
ab688b29ac Make Scaffold.of() more helpful when it can't find a Scaffold (#6612) 2016-10-31 22:07:33 -07:00
Ian Hickson
5fb692124c Loader improvements (#6615) 2016-10-31 21:58:27 -07:00
Adam Barth
4b037fd65f Simplify and test TransitionRoute.completed (#6601)
We now create the Completer inside TransitionRoute, as with the popped
completer. Also, test that this future resolves at the appropriate time.
2016-10-31 16:46:54 -07:00