18487 Commits

Author SHA1 Message Date
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 0b216f7a2884c78c4cc3fcdbc220e6387ffea4fe.
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
keyonghan
95f4f473ff
[Revert] Skip overall_experience_test.dart: flutter run writes and clears pidfile appropriately (#101267)
* restore test

* use seed 20211102

* restore seed
2022-04-04 13:26:27 -07:00
chunhtai
26398e6821
Fix crashes when current route parsing transactions are discarded (#100657)
* Fix crashes when current route parsing transactions are discarded

* refactor

* update
2022-04-04 12:39:04 -07:00
chunhtai
8f2aaa99ab
Reland "Allow unknown device kind to scroll scrollables (#100800)" (#101301)
This reverts commit baa45a1718e732d0df317766f879f3e7d1b8de2a.
2022-04-04 10:52:06 -07:00
Taha Tesser
0b216f7a28
Refactor ToggleButtons (remove RawMaterialButton) (#99493) 2022-03-31 14:25:10 -07:00
Taha Tesser
f263806c26
Fix Local DataTableTheme not being inherited by DataTable Widget (#101112) 2022-03-31 12:25:10 -07:00
Michael Goderbauer
dcde8163ce
migrate to super params (#100509) 2022-03-31 11:46:47 -07:00
chunhtai
baa45a1718
Revert "Allow unknown device kind to scroll scrollables (#100800)" (#101129)
This reverts commit 000f4d1590322cc229072a6e9616051cab074286.
2022-03-31 10:45:41 -07:00
Gary Qian
ead5b1c2f4
Retire v1 embedding compatibility from automatic multidex support (#100685) 2022-03-31 10:24:42 -07:00
Chris Bracken
1a072f9aee
[winuwp] Add removal warning in config help text (#101086) 2022-03-31 09:30:04 -07:00
David Iglesias
e52b777a2c
[web] flutter.js initialization with ui.webOnlyWarmupEngine (#100177) 2022-03-30 23:00:09 -07:00
Emmanuel Garcia
5c6918933e
Migrate AGP and Gradle versions to 7.1.2/7.4 (#99723) 2022-03-30 20:30:09 -07:00
Darren Austin
a8e6fd5ba7
Material 3 common buttons should use sparkle splash effect on Android. (#101075) 2022-03-30 20:20:13 -07:00
Michael Goderbauer
3e406c6781
Prepare packages (minus tools,framework) for use_super_parameters (#100510) 2022-03-30 15:31:59 -07:00
Ben Konyi
75baed585e
Reland "Enable caching of CPU samples collected at application startup (#89600)" (#100995) 2022-03-30 13:50:13 -07:00
Michael Goderbauer
d021509141
migrate generated i18n code to super params (#101065) 2022-03-30 12:20:14 -07:00
Michael Goderbauer
0ff8030df4
Fix constructor doc for ScrollView.primary (#100935) 2022-03-30 10:21:31 -07:00
Taha Tesser
2642a5432f
Fix LicensePage too much spacing padding when applicationVersion and applicationLegalese are empty (#101030) 2022-03-30 07:55:12 -07:00
Sigurd Meldgaard
66ed64be4f
Migrate .packages -> package_config.json (#99677) 2022-03-30 13:56:03 +02:00
Taha Tesser
02b2c2cde6
Fix IconTheme is not inherited when Icon is provided to ListTile.title and ListTile.subtitle (#100757) 2022-03-30 02:50:12 -07:00
Pierre-Louis
3a4bf257bc
[Fonts] Update icons (#100885)
* update icons

* add test
2022-03-30 07:40:51 +02:00
Greg Spencer
255f967ca2
Add isActivatedBy to ShortcutActivator (#100167) 2022-03-29 20:30:13 -07:00
Emmanuel Garcia
032205eaca
Reland: "Use texture layer when displaying an Android view" (#100990) 2022-03-29 19:40:17 -07:00