29119 Commits

Author SHA1 Message Date
Pierre-Louis
a0248ebdf2
Use curly_braces_in_flow_control_structures for services, scheduler, semantics (#104616) 2022-05-25 19:58:22 +02:00
Pierre-Louis
e71eb183d8
Use curly_braces_in_flow_control_structures for rendering (#104611)
* Use `curly_braces_in_flow_control_structures` for `rendering`

* fix comments

* fix dangling
2022-05-25 19:57:57 +02:00
Pierre-Louis
b0aa50255b
Use curly_braces_in_flow_control_structures for animations, cupertino (#104612)
* Use `curly_braces_in_flow_control_structures` for `animation`

* Use `curly_braces_in_flow_control_structures` for `cupertino`

* fix comments
2022-05-25 19:56:20 +02:00
Pierre-Louis
9cc72df781
Use curly_braces_in_flow_control_structures for foundation, gestures, painting, physics (#104610)
* Use `curly_braces_in_flow_control_structures` for `foundation`

* Use `curly_braces_in_flow_control_structures` for `gestures`

* Use `curly_braces_in_flow_control_structures` for `painting`

* Use `curly_braces_in_flow_control_structures` for `physics`

* fix comments

* remove trailing space

* fix TODO style
2022-05-25 19:55:22 +02:00
Michael Goderbauer
2b14e993a7
Cleanup random dead test code (#104568) 2022-05-25 10:23:10 -07:00
Greg Spencer
da24f105bd
Removing Shorcuts.of and Shortctus.maybeOf (#104215)
This removes Shorcuts.of and Shortctus.maybeOf because they're not especially useful, since the only thing you can really set on a ShortcutManager is the shortcuts, and the Shortcuts widget that you give it to manages those, so if it rebuilds, it overwrites what you set.

Also, adds a Shortcuts.manager constructor and removes the manager argument to the Shortcuts widget.

Removing these will also eliminate an InheritedWidget for each Shortcuts widget, improving memory usage.
2022-05-25 10:16:08 -07:00
Michael Goderbauer
d5fbc3750e
Remove unused code from tests (#104550) 2022-05-25 09:38:09 -07:00
Greg Spencer
0a417c3b49
A bunch of cleanups and a missing ShortcutRegistar in WidgetsApp (#104560)
A bunch of random cleanup things I found while doing MenuBar development.

Changes an if test to an assert in binding.dart, since the if should always be true.
Adds the default ShortcutRegistrar that should have been in the ShortcutRegistry PR.
Moves a debug message in the FocusManager to print the result after the focus change instead of before.
Reorders the test parameters in theme_data_test.dart to match the order of the theme data fields everywhere else.
2022-05-25 09:32:46 -07:00
engine-flutter-autoroll
19d69a97e6
Roll Plugins from 1b3d3c86fe7f to 287af0f8f99d (9 revisions) (#104619) 2022-05-25 09:08:11 -07:00
Jenn Magder
f3e567c901
Create static plugin frameworks build ios-framework --static (#104576) 2022-05-25 09:03:12 -07:00
Taha Tesser
78a0d3d4e2
[reland] Migrate ListTile TextTheme TextStyle references to Material 3 (#102167) 2022-05-25 07:28:12 -07:00
Pierre-Louis
cb9a1d623c
Use curly_braces_in_flow_control_structures for material (#104499)
* Use `curly_braces_in_flow_control_structures` for `material`

* include test/material

* add back removed comments
2022-05-25 13:17:06 +02:00
Taha Tesser
97452d1a10
Switch: Add an interactive example (#103045)
* `Switch`: Add an interactive examples

* Update docs

* Update doc
2022-05-25 10:40:31 +02:00
Jonah Williams
680a8192b0
[framework] ensure ink sparkle is disposed (#104569) 2022-05-24 21:23:09 -07:00
Jenn Magder
09987dc00a
Migrate create command to null safety (#104484) 2022-05-24 18:48:10 -07:00
Yang Chao
b5adbee145
Fix an issue that clearing the image cache may cause resource leaks (#104527) 2022-05-24 16:58:09 -07:00
Jenn Magder
a56c5e51ae
Migrate some test files to null safety (#104469) 2022-05-24 16:53:08 -07:00
engine-flutter-autoroll
b3e98a922a
Roll Flutter Engine from 593140b9ce42 to 7274f79325b7 (2 revisions) (#104554) 2022-05-24 16:48:06 -07:00
engine-flutter-autoroll
47fb097710
Roll Flutter Engine from 593140b9ce42 to 7274f79325b7 (2 revisions) (#104553) 2022-05-24 16:43:09 -07:00
Bruno Leroux
1e0a1a2661
Add an example and update GestureDetector documentation (#102360) 2022-05-24 16:38:09 -07:00
Jesús S Guerrero
336aa267f9
[flutter_tools] General info project validator (#103653) 2022-05-24 16:28:10 -07:00
Dacian Florea
680bc17cde
[web] [fix] Cache resource data only if the fetching succeed (#103816) 2022-05-24 16:23:06 -07:00
engine-flutter-autoroll
f2e6d4782c
Roll Flutter Engine from c042cf7d50bb to 593140b9ce42 (1 revision) (#104546) 2022-05-24 15:33:08 -07:00
engine-flutter-autoroll
7b6ec2c82a
Roll Flutter Engine from 3b8da84e34b7 to c042cf7d50bb (3 revisions) (#104537) 2022-05-24 14:28:08 -07:00
Konstantin Scheglov
c27e88a5b1
Fix existing DUPLICATE_IMPORT diagnostics. (#104533) 2022-05-24 14:18:31 -07:00
chunhtai
efb9368573
Supports global selection for all devices (#95226)
* Support global selection

* addressing comments

* add new test

* Addressing review comments

* update

* addressing comments

* addressing comments

* Addressing comments

* fix build
2022-05-24 13:53:55 -07:00
chunhtai
bd7d34f09d
Reland "Fix Backbutton is not displayed when there is a endDrawer (#1… (#104110)
* Reland "Fix Backbutton is not displayed when there is a endDrawer (#102093)"

This reverts commit a4a8e73bce152ab39d6ae839ca51e447f87293fa.

* add todos
2022-05-24 13:39:46 -07:00
Loïc Sharma
c29a7a2d22
Ignore replacement characters from vswhere.exe output (#104284)
Flutter uses `vswhere.exe` to find Visual Studio installations and determine if they satisfy Flutter's requirements. However, `vswhere.exe`'s JSON output is known to contain bad UTF-8. This change ignores bad UTF-8 as long as they affect JSON properties that are either unused, or, used only for display purposes by Flutter.

Fixes: https://github.com/flutter/flutter/issues/102451
2022-05-24 13:30:37 -07:00
engine-flutter-autoroll
ac29c11aec
Roll Flutter Engine from 4bf35bf026b0 to 3b8da84e34b7 (1 revision) (#104526) 2022-05-24 12:18:05 -07:00
engine-flutter-autoroll
e4c7f6e1b0
Roll Flutter Engine from 4bf35bf026b0 to 3b8da84e34b7 (1 revision) (#104525) 2022-05-24 11:43:08 -07:00
LongCatIsLooong
12147ad718
Remove RenderObject.rotate (#103092) 2022-05-24 11:37:35 -07:00
engine-flutter-autoroll
ca17674086
Roll Flutter Engine from 4bf35bf026b0 to 3b8da84e34b7 (1 revision) (#104524) 2022-05-24 11:33:05 -07:00
Xilai Zhang
de230d393c
Revert "Add ability for ModalRoutes to ignore pointers during transitions and do so on Cupertino routes (#95757)" (#104520)
This reverts commit 4c0b0be2da5d1ee80c3d713e68ddd88d2cf2e72d.
2022-05-24 11:10:13 -07:00
engine-flutter-autoroll
7ca498489d
Roll Flutter Engine from 07f0224e5bb6 to 4bf35bf026b0 (3 revisions) (#104516) 2022-05-24 10:28:06 -07:00
engine-flutter-autoroll
d8053de4cb
Roll Plugins from 58478a525d13 to 1b3d3c86fe7f (2 revisions) (#104510) 2022-05-24 10:18:07 -07:00
godofredoc
9cfac48e2e
Enable android_views. (#104474) 2022-05-24 08:58:08 -07:00
engine-flutter-autoroll
35c0a3ee5c
Roll Flutter Engine from b1841c643299 to 07f0224e5bb6 (2 revisions) (#104505) 2022-05-24 08:18:06 -07:00
Taha Tesser
5739bf4fab
RefreshIndicator: Add notificationPredicate example (#103894) 2022-05-24 04:58:06 -07:00
Taha Tesser
a12a69a47c
Fix BottomAppBar dip without FAB (#104490) 2022-05-24 03:13:08 -07:00
engine-flutter-autoroll
d7a1b498ae
Roll Flutter Engine from f91ccb41af15 to b1841c643299 (2 revisions) (#104487) 2022-05-24 01:03:06 -07:00
engine-flutter-autoroll
f91c2321bb
Roll Flutter Engine from b1fafb96f70c to f91ccb41af15 (2 revisions) (#104482) 2022-05-23 23:48:08 -07:00
Chris Bracken
f9765c136f
[tool] Add tests for FakeProcessManager (#104456)
Adds a bit more clarifying documentation to the implementation of the
outputFollowsExit case, and adds tests that verify the behaviour of
stderr, stdout of processes launched via FakeProcessManager.

Specifically:
* Verifies that stderr, stdout are not emitted immediately after process
  exit if outputFollowsExit is true. They must be emitted at least one
  turn through the event loop later.
* Verifies that ProcessResult.stderr, stdout have the type documented
  according to the encoding passted to Process.run/runSync:
  * List<int> if null is passed as the encoding.
  * String (in the default system encoding) if no encoding is specified.
  * String (in the specified encoding) if an encoding is specified.

This is additional testing relating to refactoring landed in:
https://github.com/flutter/flutter/pull/103947

Issue: https://github.com/flutter/flutter/issues/102451
2022-05-23 22:57:34 -07:00
engine-flutter-autoroll
893b4613ca
Roll Flutter Engine from 4a279cb0e5a3 to b1fafb96f70c (1 revision) (#104476) 2022-05-23 22:43:09 -07:00
engine-flutter-autoroll
0f1ef3421f
Roll Flutter Engine from 9ae4f69b34f8 to 4a279cb0e5a3 (2 revisions) (#104473) 2022-05-23 20:48:06 -07:00
Darren Austin
eadd07b0b9
Fix ColorScheme.copyWith for surfaceTint (#104435) 2022-05-23 20:24:18 -07:00
engine-flutter-autoroll
9398c14daf
Roll Flutter Engine from f065dc1278c0 to 9ae4f69b34f8 (5 revisions) (#104467) 2022-05-23 19:43:06 -07:00
Jenn Magder
c5d046c00c
continue->next in Ruby script (#104296) 2022-05-23 18:43:05 -07:00
engine-flutter-autoroll
8dc5121894
Roll Flutter Engine from 13c80332a192 to f065dc1278c0 (1 revision) (#104462) 2022-05-23 18:38:08 -07:00
hellohuanlin
f85209272d
Add Focus support for iOS platform view (#103019) 2022-05-23 17:58:13 -07:00
engine-flutter-autoroll
5c135cc5b0
Roll Flutter Engine from c2cb62b54be4 to 13c80332a192 (7 revisions) (#104459) 2022-05-23 17:33:04 -07:00