12250 Commits

Author SHA1 Message Date
Jonah Williams
fb5632dc16
[flutter_tools] Only remove ProcessUtils from injection (#48975) 2020-01-16 13:32:15 -08:00
rami-a
d016146439 Allow for cupertino modal popups to be dismissed with semantics (#48915) 2020-01-16 12:58:01 -08:00
Alexandre Ardhuin
003541499b use isA<Xxx>() matcher (#48482) 2020-01-16 12:43:03 -08:00
Francisco Magdaleno
5eb394e084
[flutter_tools] Removes the need of a no-op plugin implementations (#48614) 2020-01-16 12:42:05 -08:00
rami-a
91f8d3da32
Prevent disabled cupertino textfield from being edited with voiceover/talkback (#48902) 2020-01-16 18:21:16 +00:00
suragch
4c1d79f42f Update assert message for AnimatedContainer (#48962)
The error message was misleading because BoxDecoration does not have a `backgroundColor` parameter. Instead it has a `color` parameter, which sets the background color. I also removed the optional `new` keyword.
2020-01-16 10:03:43 -08:00
Hans Muller
6006c23757
Step 2 of 2: Remove Flutter's FloatingActionButton dependency on ThemeData accent properties (#46923) 2020-01-16 07:21:25 -08:00
Josh Burton
6852605c4f Adds floatLabelBehavior to InputDecoration (#46115) 2020-01-15 18:53:01 -08:00
Alexandre Ardhuin
c195b771cc replace runtimeType.toString() (#48892) 2020-01-15 16:58:02 -08:00
Konstantin Scheglov
5a072a9365 Add missing type arguments to fix implicit dynamic. (#48853) 2020-01-15 16:53:02 -08:00
Xavjer
6408f71a7c [Flutter Driver] Extend getText to support more widgets (#48809) 2020-01-15 16:49:11 -08:00
Per Classon
a752435fac Exclude modal barrier Container in Drawer from Semantics on Android (#48841) 2020-01-15 16:48:02 -08:00
Jason Simmons
63016c8900 [flutter_tools] Handle special characters during conversion of asset manifest paths into URIs (#48829) 2020-01-15 16:43:02 -08:00
Anthony
aeb12144e6 Use a separately focusable semantics node for the chip delete icon (#48740) 2020-01-15 16:38:04 -08:00
chunhtai
d372814f78 reland add lifecycle enum and remove workaround (#48460) 2020-01-15 16:33:01 -08:00
stuartmorgan
1be332eb8b Require Visual Studio 2019 for Windows (#48844) 2020-01-15 08:43:03 -08:00
Tianguang
c88320458e Allow IconButton to have smaller sizes (#47457) 2020-01-15 08:38:02 -08:00
Jonah Williams
63c65e5cdb
[flutter_tools] Clean up build_aot code post assemble migration (#48771) 2020-01-14 19:07:15 -08:00
Shi-Hao Hong
0174267316 ButtonBar.verticalDirection and AlertDialog.actionsVerticalDirection (#48728) 2020-01-14 16:48:02 -08:00
Jonah Williams
ad9476dc9e
[flutter_tools] Remove context from Artifacts class (#48776) 2020-01-14 16:47:34 -08:00
Dan Field
3e63411256 Avoid runtimeType.toString in toString overrides/debugLabels (#48607) 2020-01-14 16:43:01 -08:00
Jonah Williams
bc6f270c58
Revert "[flutter_tools] Enable fast start by default for Android (#48746)" (#48836)
This reverts commit d5b0b3c8d1c5fd89302089077ccabbcfaae045e4.
2020-01-14 13:23:03 -08:00
Jonah Williams
d5b0b3c8d1
[flutter_tools] Enable fast start by default for Android (#48746) 2020-01-14 12:38:53 -08:00
Emmanuel Garcia
b9733522dd
Implement takeScreenshot and add driver test for Fuchsia (#48611) 2020-01-14 12:29:09 -08:00
Andrew Davies
52e0d980cb [tools] Rename dev_finder to device-finder. (#48610)
dev_finder name is deprecated. device-finder is preferred.
Functionality remains identical, this is an aesthetic change.

This change was generated via:
$ find . -not -path '*/\.*' -type f -exec sed -i 's/(^import.*)!dev_finder/device-finder/g' {} \;
2020-01-14 09:41:16 -08:00
Zachary Anderson
29490887e0
Reland: [flutter_tools] File system utilities (#48757)
* Reland: [flutter_tools] File system utilities

* Remove unused imports
2020-01-14 09:40:39 -08:00
Kate Lovett
5ca4cc8852 Restored change (#48529) 2020-01-14 09:38:02 -08:00
rami-a
68d0c89ffc
Return the correct number of semantic children for the ListView.separated constructor (#48741) 2020-01-14 16:18:48 +00:00
Jonah Williams
b3ea191407 [flutter_tools] Update template for web application to correct typo (#48778) 2020-01-14 08:13:01 -08:00
xster
9eb9ea0ffa
Let the tool warn about all old API plugins (#48282) 2020-01-13 21:30:42 -08:00
Jonah Williams
79c286705c
[flutter_tools] Refactor Environment and FileStore to be context-free (#48759) 2020-01-13 19:25:35 -08:00
Michel Feinstein
9585acd478 Fixing AutomaticKeepAlive Docs (#48575) 2020-01-13 17:18:02 -08:00
Jonah Williams
9f145f6ced [flutter_tools][web] Add basic service worker generation support to web applications (#48344) 2020-01-13 17:13:02 -08:00
Dan Field
0a600e1ddc
Fix tool test order (#48735) 2020-01-13 17:11:32 -08:00
Prerak Mann
8b6b3b62c1 Passes scrollPhysics (#48342) 2020-01-13 17:08:01 -08:00
Zachary Anderson
ef62092b9b
Revert "[flutter_tools] File system utilities (#48738)" (#48755)
This reverts commit 034966062249c490e12ff252828e4ba4993bac2b.
2020-01-13 14:30:37 -08:00
Jacob MacDonald
03a59bff03
Serve packages uris in flutter_tools dev web server (#48743)
* support mapping /packages/<package>/<path> requests to package:<package>/<path> uris in the web device file server
2020-01-13 13:21:57 -08:00
Zachary Anderson
0349660622
[flutter_tools] File system utilities (#48738) 2020-01-13 13:17:45 -08:00
Tianguang
d7d642653a
Add asserts requiring BoxConstraints' parameters to be non-null (#48295) 2020-01-13 21:34:30 +01:00
Kate Lovett
8f92cb710e Fixing PageScrollPhysics to get along with NestedScrollView (#48457) 2020-01-13 11:58:03 -08:00
Greg Spencer
6495d3775d
Allow requestFocus on an unattached FocusNode to create a deferred focus request (#48589)
This changes the behavior of requestFocus when it is called on a FocusNode that does not yet have a parent, so that it defers requesting focus until it receives a parent. Before this change, calling requestFocus before it had a parent was a no-op.

This allows scenarios where a widget is newly added and wishes to immediately request the focus. Previously, it was very hard to make that work because requesting focus before the widget's focus node had a parent was ignored, so the developer had to wait until two frames later to request focus (one for the widget's node to be added to the focus tree, and one to request the focus).

Now, in order to have a widget be focused when initially added, you just need to call requestFocus on its node when you create it, and as soon as it is added, it will automatically request focus.

This is different from the autofocus attribute on the Focus widget, because it unconditionally requests focus when added (autofocus will only request focus if nothing else in the scope has focus).
2020-01-13 11:56:47 -08:00
Zachary Anderson
23a3d1014f
[flutter_tool] Make BotDetector context free (#48605) 2020-01-13 10:12:06 -08:00
Michael Goderbauer
6a5964d89c Make ParentDataWidget usable with different ancestor RenderObjectWidget types (#48541) 2020-01-13 10:08:01 -08:00
Ian Hickson
e2b169ebd3 Apply void_checks lint. (#48267) 2020-01-13 10:03:01 -08:00
Dan Field
5129c2d295
Fix typo (#48385) 2020-01-10 17:06:16 -08:00
Zachary Anderson
4d096c434f [flutter_tool] Make CommandHelp context free (#48584) 2020-01-10 16:53:01 -08:00
Chris Yang
7dba0da277
Fix platform view pointer event global route position detection (#48459) 2020-01-10 16:52:22 -08:00
Angjie Li
1d08642a90 Create helper functions to handle WebDriver actions. Some actions on base … (#48538) 2020-01-10 14:48:02 -08:00
Kate Lovett
6397c022bb Adding error handling for SocketExceptions to local comparator (#48517) 2020-01-10 14:43:01 -08:00
Emmanuel Garcia
fca5917519 Test hot reload targeting a Fuchsia device (#48472) 2020-01-10 14:38:01 -08:00