Commit graph

15320 commits

Author SHA1 Message Date
LongCatIsLooong 0938b8a022
Add autofill troubleshooting tips to autofillHints documentation (#70321) 2020-12-10 10:48:02 -08:00
Jia Hao c2bfb7b348
[integration_test] Wrap pumped widgets with a RepaintBoundary (#70368) 2020-12-09 16:33:04 -08:00
Alex Li 135a8c22b1
Introduce MaxLengthEnforcement (#68086) 2020-12-10 07:31:59 +08:00
gabber235 635dfc3e4f
Draggable: onDragUpdate callback (#68185) 2020-12-09 14:58:04 -08:00
houyushan d12098da8a
Fix a ConstantTween's clerical error and Add some Tween testcases. (#71830) 2020-12-09 14:48:03 -08:00
Michael Goderbauer ceca634e98
Constrain width/hight when asking child for intrinsics (#71880) 2020-12-09 14:42:19 -08:00
Jenn Magder be1325f18b
Add integration_test to integration tests build shard (#71934) 2020-12-09 13:07:36 -08:00
Emmanuel Garcia f172c827cb
Ensure apps can build while using AGP 3.3.0 (#71964) 2020-12-09 12:58:05 -08:00
David Martos 56716f61a2
Chip theme label style is merged with the provided label style (#70687) 2020-12-09 11:28:05 -08:00
Jenn Magder d553aa06c7
Revert "Reland Move embedding and linking macOS Flutter frameworks into the tool (#71965)" (#72012)
This reverts commit 0b6b3eecfe.
2020-12-09 11:19:49 -08:00
Jenn Magder 0b6b3eecfe
Reland Move embedding and linking macOS Flutter frameworks into the tool (#71965) 2020-12-09 09:46:53 -08:00
Zachary Anderson 52ea6c2a31
[flutter_tool] Fix crash in update-packages (#71950) 2020-12-09 08:51:10 -08:00
Todd Volkert c8f07aad56
Remove duplicate code in Element.rebuild() and BuildOwner.buildScope() (#71940)
Element.rebuild() and BuildOwner.buildScope() both had code to
manager the `BuildOwner._debugCurrentBuildTarget` state variable.
Unfortunately, only one of the two places was using a try/finally
to ensure that the state variable was restored even if an error
was thrown.

This creates a private method to unify the copy/pasted code.
2020-12-08 17:58:28 -08:00
Jenn Magder c88ab79bd2
Revert "Move embedding and linking macOS Flutter frameworks into the tool (#71764)" (#71951)
This reverts commit 70f8fdeeed.
2020-12-08 15:28:30 -08:00
Todd Volkert 7ec3f6bdf9
Make FocusManager configurable in BuildOwner (#71872) 2020-12-08 12:42:39 -08:00
Jenn Magder 70f8fdeeed
Move embedding and linking macOS Flutter frameworks into the tool (#71764) 2020-12-08 11:59:17 -08:00
houyushan 4217ce443b
Fix the duration assertion error for the _animateToInternal method and refine the error description (#71137) 2020-12-08 11:53:03 -08:00
Michael Goderbauer ed5229e57b
Remove isMaterialAppTheme property (#71861) 2020-12-08 09:18:07 -08:00
Pierre-Louis 5bae3b5db3
Add previews for CupertinoIcons (#71853) 2020-12-08 09:13:07 -08:00
Pierre-Louis a51b8e4309
Fix text direction logic for material icon variants (#71852) 2020-12-08 09:08:05 -08:00
Amit Patil 2cb652600c
showDialog assertion for non-null builder or child property (#71838) 2020-12-08 09:03:03 -08:00
Ayush Bherwani 995aa138cd
[ExpansionPanel] Exposes color property of MaterialSlice (#71657) 2020-12-07 19:48:02 -08:00
Shi-Hao Hong 7cb2834a8b
StandardMethodCodec.decodeEnvelope should allow null error message (#71807)
* StandardMethodCodec.decodeEnvelope should allow null error message
2020-12-08 08:04:30 +08:00
Jenn Magder 61d4524527
Stop using Xcode build settings in materialized Info.plist (#71870) 2020-12-07 15:32:47 -08:00
Michael Goderbauer ad88369569
Doc fixes for dry layout (#71868) 2020-12-07 15:13:18 -08:00
Jenn Magder 03013ce42a
Remove manual Flutter linking for iOS projects (#71862) 2020-12-07 13:49:11 -08:00
Dan Field 02eab12fd3
Reland "Add integration_test template to create template (#70240)" (#71660)" (#71740) 2020-12-07 13:38:03 -08:00
Jenn Magder 8612065909
Update integration_test README for iOS (#71859) 2020-12-07 12:48:03 -08:00
Jenn Magder 9a31c39ac2
Do not add CI build settings to macOS (#71860) 2020-12-07 12:18:13 -08:00
darshankawar a078405349
Link the API docs on waitFor() to the docs for runUnsynchronized() (#69761) 2020-12-07 11:50:54 -08:00
Emmanuel Garcia d35dd9f8a6
Allow flavors and build types when using plugins (#71738) 2020-12-07 09:23:04 -08:00
Per Classon 90f08769a3
[Material] Resolve overlay color for pressed/active/inactive states in selection controls (#71569) 2020-12-07 03:33:03 -08:00
Amit Patil 7dade22f25
Updated Dialog.backgroundColor documentation (#71580) 2020-12-07 00:04:04 +08:00
Daniel Edrisian 99ccff3bb6
Add stretch property to CupertinoSliverNavigationBar (#71707)
* Add stretch property to CupertinoSliverNavigationBar

* Added tests

* Fix trailling spaces

* xster review: fix tests

* xster review: fix tests

* trim extra spaces
2020-12-05 04:56:51 -08:00
Jenn Magder e1598c96c0
Update macOS Xcode compatibilityVersion (#71745) 2020-12-04 18:35:19 -08:00
Jenn Magder aa7be00d4b
Rename IOSMigrator -> ProjectMigrator (#71757) 2020-12-04 18:34:59 -08:00
Ben Konyi 89ef88c64f
Ensure attaching to an application with an existing DDS instance is not treated as a fatal error (#70847) 2020-12-04 17:16:30 -08:00
Jenn Magder e9abf5a940
Profiling Xcode app should use Flutter profile mode (#71748) 2020-12-04 16:59:19 -08:00
Jenn Magder b372c52b2f
Remove unused local from xcode_backend (#71752) 2020-12-04 16:23:05 -08:00
Jenn Magder f0b17f3e26
Remove missing macOS RunnerUITests (#71750) 2020-12-04 15:58:03 -08:00
Jenn Magder f78b6d6a51
Remove Flutter Authors from macOS project organization name (#71744) 2020-12-04 14:38:13 -08:00
Jenn Magder d4150d3f6d
Adopt Flutter.xcframework in tool (#71495) 2020-12-04 13:57:11 -08:00
Zachary Anderson cd3aec3660
[flutter_tool] Report analytics as disabled when suppressed (#71728) 2020-12-04 11:52:32 -08:00
xubaolin a12c22b296
Set [InputDecoration.floatingLabelBehavior] default to null (#70683) 2020-12-04 11:28:03 -08:00
houyushan 368c12b55e
Add RichText debugFillProperties TestCase (#70819) 2020-12-04 11:18:03 -08:00
Jonah Williams afb6b95593
[flutter_tool] fix incorrect coverage file generation (#71726) 2020-12-04 11:15:11 -08:00
Hans Muller 268656a8a0
Updated GridView API Doc (#71611) 2020-12-04 09:54:12 -08:00
Hans Muller d375a83910
Update AppBar and AppBar Theme to new Theme conventions and latest Material spec (#71184) 2020-12-04 09:12:31 -08:00
Alexandre Ardhuin 8f3a12f144
fix nullability of parameters with redirecting factory constructors (#71547) 2020-12-04 08:42:30 +01:00
Daniel Edrisian 4d4d017aa5
Re-land CupertinoFormSection, CupertinoFormRow, and CupertinoTextFormFieldRow (#71522) 2020-12-03 21:38:10 -08:00
xubaolin 5f7f4f1aff
Reland "Improve the behavior of DropdownButton.disabledHint" (#71628)
* DropdownButton should display the value over hint and disabledHint if a DropdownButton.value is defined
2020-12-04 08:48:00 +08:00
Shi-Hao Hong 95e444ce9a
[gen-l10n] Fix forwarding of output-dir in l10n.yaml file (#71128) 2020-12-03 16:18:04 -08:00
Ian Hickson bb29c88ae7
Simplify the flutter_web_plugins plugin registration API. (#70337) (#70722)
In principle this is backwards compatible; I just merged all the classes into one and deprecated everything that became redundant as a result.
2020-12-03 15:35:41 -08:00
Jason Simmons 2c3ba5b635
Create symlinks for local engine Maven metadata files required by the Android Gradle plugin (#71600) 2020-12-03 15:28:06 -08:00
Jonah Williams c92cc25830
[flutter_tools] report basic analytics for null-safety (#71487) 2020-12-03 15:14:20 -08:00
J-P Nurmi b358854172
[flutter_tools] Set basic error matcher for Linux builds (#71003) 2020-12-03 13:41:37 -08:00
xubaolin 8817c0d28c
RefreshIndicator can be shown when dragging from non-zero scroll position (#71303) 2020-12-03 13:28:04 -08:00
Jonah Williams 4e85a67f3e
[flutter_tools] roll deps, fix completion bug (#71671) 2020-12-03 11:58:03 -08:00
Martin Kustermann 625ecda083
Remove left-overs from causal async stacks. (#71663) 2020-12-03 11:03:07 -08:00
Shi-Hao Hong 20ca6997b8
Code sample small fixes (#70343) 2020-12-03 09:23:04 -08:00
Jonah Williams 9e5c8771d4
[flutter_tools] wire up native-null-assertions for flutter web (#71618) 2020-12-03 08:59:31 -08:00
Jonah Williams 088b7c36c3
[flutter_tools] hide web server by default (#71491) 2020-12-03 08:59:20 -08:00
Jenn Magder a8bed5e405
Add sysctl file fallbacks (#71623) 2020-12-03 08:53:07 -08:00
Jia Hao bf8313f8fc
Add a test for intrinsic size checks (#71539) 2020-12-03 08:48:04 -08:00
LongCatIsLooong 746056a539
Skip reformatting and calling onChanged for composing region only changes. (#70883) 2020-12-03 08:43:05 -08:00
Kate Lovett 8e05e59c29
Revert "Add integration_test template to create template (#70240)" (#71660)
This reverts commit d047d108eb.
2020-12-03 09:54:28 -06:00
Jonah Williams 81e1f7d1ed
[flutter_tools] mode code size output to ~/.flutter-devtools (#71601) 2020-12-02 17:19:57 -08:00
LongCatIsLooong df28355b0c
Raw keyboard shortcuts & deletions should not read from _plainText (#71236) 2020-12-02 17:13:04 -08:00
Dan Field d047d108eb
Add integration_test template to create template (#70240) 2020-12-02 17:08:03 -08:00
Jonah Williams e8b87f7cd2
[flutter_tools] enable CK restart tests (#71598) 2020-12-02 13:10:54 -08:00
Dan Field a2aa2ed02d
Revert "Fix excessive rebuilds of DSS (#69724)" (#71459)
This reverts commit 16dce76577.
2020-12-02 11:42:38 -08:00
Ayush Bherwani ff9d9fc2b6
[MaterialSlice] adds property to customize slice color (#63466) 2020-12-02 07:43:02 -08:00
Shi-Hao Hong 25986102c1
Revert "Improve the behavior of DropdownButton.disabledHint (#70277)" (#71559)
This reverts commit 59cf0d2263.
2020-12-02 20:36:44 +08:00
xubaolin 946a129137
Update [ToggleButtons] to support extend down/up vertically (#70670) 2020-12-02 03:58:04 -08:00
Emmanuel Garcia 8dd0de7f58
Relands: Migrate template to Gradle 6.7 and AGP 4.1.0 (#71446) 2020-12-01 19:01:09 -08:00
Jonah Williams f8883445ca
Revert "[flutter_tools] post process the gradle log output (#71499)" (#71527)
This reverts commit d688b52a93.
2020-12-01 17:53:14 -08:00
Jonah Williams d688b52a93
[flutter_tools] post process the gradle log output (#71499) 2020-12-01 17:13:33 -08:00
Jonah Williams 70e70ebb62
[flutter_tools] Catch all exception subtypes when unzipping a file (#70967) 2020-12-01 12:00:24 -08:00
Anurag Roy 537dea246c
[FloatingActionButtonLocation] Fix documentation (#71378) 2020-12-01 11:48:05 -08:00
Amit Patil 5929f4f79b
updated defualt value of unselectedItemColor textTheme.caption.color to unselectedWidgetColor (#71314) 2020-12-01 11:43:05 -08:00
tgucio 0aec2c3d0f
Restart EditableText cursor timer when it moves (#70787) 2020-12-01 11:38:04 -08:00
Jonah Williams 720f366ff5
Revert "Added CupertinoFormSection, CupertinoSplitFormRow, and CupertinoTextFormField (#70676)" (#71490)
This reverts commit e244724794.
2020-12-01 10:11:41 -08:00
Pierre-Louis a508d358ca
Use adaptive more icon for popup_menu (#70773) 2020-12-01 10:03:05 -08:00
Jenn Magder 8522ec7e11
Validate empty observatory URI for screenshot (#71451) 2020-12-01 10:00:30 -08:00
Jenn Magder a5ee7f7cfc
Add XCFramework artifacts (#71113) 2020-12-01 10:00:16 -08:00
Daniel Edrisian e244724794
Added CupertinoFormSection, CupertinoSplitFormRow, and CupertinoTextFormField (#70676) 2020-12-01 09:58:07 -08:00
xubaolin 59cf0d2263
Improve the behavior of DropdownButton.disabledHint (#70277) 2020-12-01 09:58:04 -08:00
Gary Roumanis 7477524db6
Upgrade deps (#71450) 2020-12-01 09:57:27 -08:00
Jonah Williams ffbca11f1b
[flutter_tools] delete BuildRunnerWebCompilationProxy and WebCompilationProxy (#70914) 2020-12-01 09:54:43 -08:00
Jonah Williams 1816778529
[flutter_tools] wire up alternative invalidation strategy to features (#71439) 2020-12-01 09:54:23 -08:00
Jonah Williams b1d65e3168
[flutter_tools] support canvaskit unit testing (#70969) 2020-12-01 09:54:09 -08:00
Jonah Williams e5000f6cea
[flutter_tools] Remove usage of --precompiled flag for web tests (#70977) 2020-12-01 09:54:01 -08:00
Jonah Williams 7ab0442868
Add testing shard for release mode guard (#71411) 2020-12-01 09:53:50 -08:00
Jonah Williams a264c2bee2
[flutter_tools] do not validate unused services key (#71417) 2020-12-01 09:53:41 -08:00
Jonah Williams 1c4791e604
[flutter_tools] update some web configuration defaults (#71433) 2020-12-01 09:53:35 -08:00
Jonah Williams 5d201a35aa
[flutter_tools] allow hiding web server device, provide flags to re-enable (#71434) 2020-12-01 09:53:27 -08:00
Chris Yang 0a08f8afff
[flutter_tools] Display "no platforms" message based on results when creating plugins project (#70215) 2020-12-01 09:53:07 -08:00
xubaolin 2b85eeed14
Let SnackBar inherit themeData from its ancestor (#70080) 2020-12-01 09:48:10 -08:00
Justin McCandless 3217906efb
Handle setting TextEditingController text to null (#68638) 2020-12-01 09:48:07 -08:00
Bikram Pandit dc432d78db
Add detection of drawer open and close in Scaffold widget as a callback method. (#67249) 2020-12-01 09:43:06 -08:00