Commit graph

18509 commits

Author SHA1 Message Date
linxuebin 712667fb62
Remove the run_loop.h and run_loop.cpp files from template_manifest.json (#100976) 2022-04-11 19:54:07 -07:00
David Iglesias bee95b6984
[flutter.js] Wait for reg.update, then activate sw (if not active yet). (#101464) 2022-04-11 19:04:08 -07:00
Michael Goderbauer fa48aed7b2
Bump dwds to 13.1.0 (#101730) 2022-04-11 18:29:14 -07:00
Christopher Fujino 355fd23a79
[flutter_tools] add test for dart binary arch (#101604) 2022-04-11 16:28:37 -07:00
Yang Chao 343713727a
Enable track widget creation when generating Generated.xcconfig (#101123) 2022-04-11 14:29:11 -07:00
Kate Lovett ff5e27f0fc
Remove deprecated FlatButton (#98545) 2022-04-11 16:22:47 -05:00
Kenzie Davisson 14cf4daeab
Add debugging flags to enhance the timeline arguments for Build, Layout, and Paint (#101602) 2022-04-11 13:56:10 -07:00
Danny Tuppeny 675b961573
Unpause and remove breakpoints when detaching from Flutter process with DAP (#101695) 2022-04-11 21:15:37 +01:00
Danny Tuppeny b086473769
Pass multidex flag when using --machine mode (#101689) 2022-04-11 12:19:09 -07:00
Jesús S Guerrero 2302daa3aa
Create when offline style (#101589) 2022-04-11 12:14:05 -07:00
wangying 38542d284c
Add some debug properties to BackdropFilterLayer (#101101) 2022-04-11 09:59:08 -07:00
Daco Harkes 85aac37ccf
Add more debugging info to android_plugin_example_app_build_test (#101685) 2022-04-11 08:24:09 -07:00
Janko Djuric 78ae72b0b2
[flutter_tools] Add --build-number and --build-name support to web and linux (#100377) 2022-04-10 11:42:39 -07:00
MrBirb 074ee4b2f4
Allow ClipRRect.borderRadius to support BorderRadiusDirectional (#101200) 2022-04-09 01:44:04 -07:00
Darren Austin c14ca6d321
Migrate common buttons to Material 3 (#100794) 2022-04-08 17:03:21 -07:00
Chris Yang 1755819cb1
Log XCResult before other build issues (#100787) 2022-04-08 16:27:08 -07:00
Jenn Magder 71d52f27fb
Test Flutter.xcframework directory ios-arm64_armv7 or ios-arm64 (#101592) 2022-04-08 16:12:09 -07:00
Kate Lovett 135bb5d4f2
Remove deprecated Scaffold SnackBar API (#98549) 2022-04-08 14:27:07 -07:00
Guillem Puche 1cf5c74009
Correct word in docs (#100893) 2022-04-08 13:12:16 -07:00
Michael Goderbauer a01424773e
Enable unnecessary_import (#101600) 2022-04-08 12:56:45 -07:00
Greg Spencer efe76a5373
Update key examples to use Focus widgets instead of RawKeyboardListener (#101537)
This updates the examples for PhysicalKeyboardKey and LogicalKeyboardKey to use Focus widgets that handle the keys instead of using RawKeyboardListener, since that usually leads people down the wrong path. Updated the See Also and added tests as well. Also exposed the `physicalKey` attribute for `tester.sendKeyEvent`.
2022-04-08 12:05:41 -07:00
Michael Goderbauer cae740b903
Enable strict-casts (as replacement for implicit-casts) (#101567) 2022-04-08 11:15:34 -07:00
Jason Simmons b63c4a6db0
Ensure that the engine frame callbacks are installed if the first scheduled frame is a forced frame (#101544)
See https://github.com/flutter/flutter/issues/98419
2022-04-08 08:18:48 -07:00
Anna Gringauze 74944d528f
Run update-packages (#101450)
* Run update-packages

* Update DwdsLauncher, disable failing test

* Fix analyze error

Co-authored-by: Jenn Magder <magder@google.com>
2022-04-07 17:07:05 -07:00
Jesús S Guerrero 3394fb4a58
[flutter_tools] fix flutter create --offline (#100941)
Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2022-04-07 17:05:49 -07:00
Kate Lovett 324e6d9d4e
Re-enable Gold post-submit fail state (#101528) 2022-04-07 15:36:09 -07:00
Emmanuel Garcia 012952ba47
Don't build surface until the platform view has been created (#101399) 2022-04-07 15:31:04 -07:00
Kate Lovett f5be639ee0
Revert "Refactor ToggleButtons (remove RawMaterialButton) (#99493)" (#101536)
This reverts commit 0b216f7a28.
2022-04-07 16:47:46 -05:00
Emmanuel Garcia b528310f58
Specify Kotlin version in modules and refactor (#101315) 2022-04-07 13:20:33 -07:00
Taha Tesser 64f7bf7e2f
Add ListTile debugFillProperties (#100765) 2022-04-07 12:25:50 -07:00
Kate Lovett c7d2935077
Fix reverse cases for App Bar scrolled under behavior (#101460) 2022-04-07 12:01:41 -05:00
Taha Tesser 31668eef40
Fix DrawerHeader decoration not inheriting ColorScheme.primary (#101280) 2022-04-06 23:51:08 -07:00
Greg Spencer b9a0fb23b2
Adjust some of the interface names to be consistent (#101378)
This adjusts some of the names in the PlatformMenuBar to be more consistent with the rest of the API.

Matching engine PR is flutter/engine#32433
2022-04-06 18:40:11 -07:00
Greg Spencer db51873250
Add onDismiss to AnimatedModalBarrier, update tests (#100162)
I noticed that AnimatedModalBarrier didn't have the onDismiss callback that ModalBarrier does, and so I added that, and while I was at it, I updated the unit tests to perform all of the tests that are done on ModalBarrier also on AnimatedModalBarrier. The tests are unchanged, other than using AnimatedModalBarrier instead.
2022-04-06 18:39:14 -07:00
Jenn Magder d745eec051
Add --use-application-binary to "flutter install" (#101324) 2022-04-06 13:17:26 -07:00
Michael Goderbauer 296221a90d
Partial revert of super params in tools (#101436) 2022-04-06 11:04:38 -07:00
creativecreatorormaybenot 96add4192e
Use single quotes for dartSdkVersionBounds (#101270)
* Use single quotes for `dartSdkVersionBounds`

* Update update_packages_test.dart

* Update test_project.dart

* Update tests_project.dart

* Update compile_error_project.dart

* Update hot_reload_with_asset.dart

* Update break_on_framework_exceptions_test.dart

* Update basic_project.dart
2022-04-06 09:54:10 -07:00
chunhtai c05c9f77c0
Makes AutomaticKeepAlive.child non null (#101376) 2022-04-06 09:51:35 -07:00
Lau Ching Jun 7f64e2ae02
Catch errors in ProxiedDevice to make sure we don't crash on errors. (#101332) 2022-04-06 09:51:10 -07:00
Taha Tesser bafac1778b
Add missing ListTile tests, remove duplicate test and fix typos (#101141) 2022-04-06 09:36:10 -07:00
Dwayne Slater 81baee4360
Configurable padding around FocusNodes in Scrollables (#96815) 2022-04-06 09:31:12 -07:00
Kate Lovett 82d4dbb6cf
Remove text selection ThemeData deprecations 3 (#100586) 2022-04-06 11:26:50 -05:00
Kate Lovett afe6c2e78d
Remove deprecated RaisedButton (#98547) 2022-04-06 11:26:25 -05:00
Viren Khatri 94fefaa49d
Fixes FadeInImage to follow gapless playback (#94601)
* renovated and added a test

* fixes nits and tests.

* revert commits

* make FadeInImage follow gapless image playback

* refactor: never dispose _AnimatedFadeOutFadeIn

* add assert
2022-04-06 17:17:34 +05:30
matasb-google 120b3deb18
Improve A11Y guidelines/tests for flutter (#100267)
* Incorrect size comparison
* Code cleanup/formatting
* Additional tests
2022-04-06 10:59:37 +02:00
Jenn Magder 5788f5ef07
Run CADisableMinimumFrameDurationOnPhone migration on all example apps (#101314) 2022-04-05 15:38:06 -07:00
gaaclarke 35b18ba2e9
Made flag for debugging build time of user created widgets (#100926)
* Added a bool that allows us to limit debugProfileBuildsEnabled to user
created widgets.

* made it turned on by default

* switched to hashmap

* Cleaned everything up and added tests

* fixed an odd test where it wants to be able to add asserts and run in profile mode

* hixie feedback

* hixie2

* made it default to false

* updated docstring as per dans request
2022-04-05 10:54:21 -07:00
Jenn Magder 839a183ea6
Add note to doctor validator if script is running Rosetta (#101309) 2022-04-05 10:37:35 -07:00
godofredoc 23b9d4f1f2
Roll i10n localizations. (#101310) 2022-04-04 16:55:26 -07:00
Greg Spencer 2d9ad26086
Implements a PlatformMenuBar widget and associated data structures (#100274)
Implements a PlatformMenuBar widget and associated data structures for defining menu bars that use native APIs for rendering.

This PR includes:
A PlatformMenuBar class, which is a widget that menu bar data can be attached to for sending to the platform.
A PlatformMenuDelegate base, which is the type taken by a new WidgetsBinding.platformMenuDelegate.
An implementation of the above in DefaultPlatformMenuDelegate that talks to the built-in "flutter/menu" channel to talk to the built-in platform implementation. The delegate is so that a plugin could override with its own delegate and provide other platforms with native menu support using the same widgets to define the menus.
This is the framework part of the implementation. The engine part will be in flutter/engine#32080 (and flutter/engine#32358)
2022-04-04 15:03:10 -07:00