Commit 789e3a7
authored
[various] Align Flutter and Dart SDK constraints (flutter#3349)
As described in flutter/flutter#121684, we currently have inconsistencies between Flutter SDK constraints and Dart SDK constraints; we have often updated only the former. This PR:
1. Adds CI enforcement via the repo tooling that the minimum versions are consistent.
2. Adds a new repo tooling command to update SDK constraints, to help mass-fix all the violations of the new enforcement in step 1 (and for future mass changes, such as when we update our test matrix and mass-drop support for versions that are no longe tested).
- In all cases, the looser constraint was updated to match the more restrictive constraint, such that there's no actual change in what Flutter version any package actually supports.
3. Runs `dart fix --apply` over all changed packages to automatically fix all of the analysis failures caused by step 2 suddenly making all of our packages able to use `super` parameters.
Fixes flutter/flutter#121684
Fixes flutter/flutter#1216851 parent f14fae7 commit 789e3a7
496 files changed
Lines changed: 1363 additions & 838 deletions
File tree
- packages
- animations
- example
- lib
- lib/src
- test
- camera
- camera_android
- example
- lib
- camera_avfoundation
- example
- lib
- camera_platform_interface
- lib/src/events
- camera_web
- example
- lib
- camera_windows
- example
- lib
- camera
- example
- lib
- lib/src
- css_colors
- dynamic_layouts
- espresso
- example
- lib
- extension_google_sign_in_as_googleapis_auth
- example
- lib
- file_selector
- file_selector_ios
- example
- lib
- file_selector_linux
- example
- lib
- file_selector_macos
- example
- lib
- file_selector_platform_interface
- file_selector_web
- example
- lib
- file_selector_windows
- example
- lib
- file_selector
- example
- lib
- flutter_adaptive_scaffold
- example
- flutter_image
- flutter_markdown
- example
- lib
- demos
- screens
- lib/src
- flutter_plugin_android_lifecycle
- example
- lib
- go_router_builder
- go_router
- example
- lib
- books
- src
- screens
- widgets
- others
- google_maps_flutter
- google_maps_flutter_android
- example
- lib
- lib/src
- google_maps_flutter_ios
- example
- lib
- google_maps_flutter_platform_interface
- lib/src
- events
- types
- test/types
- google_maps_flutter_web
- example
- integration_test
- lib
- google_maps_flutter
- example
- lib
- lib/src
- google_sign_in
- google_sign_in_android
- example
- lib
- google_sign_in_ios
- example
- lib
- google_sign_in_platform_interface
- google_sign_in_web
- example
- lib
- google_sign_in
- example
- lib
- lib
- image_picker
- image_picker_android
- example
- lib
- image_picker_for_web
- example
- lib
- image_picker_ios
- example
- lib
- image_picker_platform_interface
- lib/src/types/picked_file
- image_picker_windows
- example
- lib
- image_picker
- example
- lib
- in_app_purchase
- in_app_purchase_android
- example
- lib
- lib/src/types
- in_app_purchase_platform_interface
- in_app_purchase_storekit
- example
- in_app_purchase
- example
- ios_platform_images
- example
- lib
- local_auth
- local_auth_android
- example
- lib
- local_auth_ios
- example
- lib
- local_auth_platform_interface
- local_auth_windows
- example
- lib
- local_auth
- example
- lib
- palette_generator
- example
- lib
- path_provider
- path_provider_android
- example
- lib
- path_provider_foundation
- example
- lib
- path_provider_linux
- example
- lib
- path_provider_platform_interface
- path_provider_windows
- example
- lib
- path_provider
- example
- lib
- pigeon
- mock_handler_tester
- platform_tests
- alternate_language_test_plugin
- flutter_null_safe_unit_tests
- test_plugin
- pointer_interceptor
- example
- lib
- lib/src
- quick_actions
- quick_actions_android
- example
- lib
- quick_actions_ios
- example
- lib
- quick_actions_platform_interface
- quick_actions
- example
- lib
- rfw
- example
- hello
- lib
- local
- lib
- remote
- lib
- wasm
- lib
- lib/src
- dart
- flutter
- url_launcher
- url_launcher_android
- example
- lib
- url_launcher_linux
- example
- lib
- url_launcher_macos
- example
- lib
- url_launcher_platform_interface
- url_launcher_web
- example
- lib
- lib/src
- url_launcher_windows
- example
- lib
- url_launcher
- example
- lib
- lib/src
- video_player
- video_player_android
- example
- lib
- video_player_avfoundation
- example
- lib
- video_player_platform_interface
- video_player_web
- example
- lib
- video_player
- example
- lib
- lib
- test
- webview_flutter
- webview_flutter_android
- example
- integration_test
- legacy
- lib
- legacy
- webview_flutter_platform_interface
- test
- webview_flutter_web
- example
- lib
- legacy
- webview_flutter_wkwebview
- example
- integration_test
- legacy
- lib
- legacy
- script/tool
- lib/src
- common
- test
- third_party/packages/cupertino_icons
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
80 | 74 | | |
81 | 75 | | |
82 | 76 | | |
| |||
115 | 109 | | |
116 | 110 | | |
117 | 111 | | |
118 | | - | |
| 112 | + | |
119 | 113 | | |
120 | 114 | | |
121 | | - | |
| 115 | + | |
122 | 116 | | |
123 | 117 | | |
124 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
| 216 | + | |
218 | 217 | | |
219 | 218 | | |
220 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments