Commit a04fb32
authored
Bump Dart to 3.8 and reformat (#171703)
Bumps the Dart version to 3.8 across the repo (excluding
engine/src/flutter/third_party) and applies formatting updates from Dart
3.8.
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md1 parent d35bde5 commit a04fb32
1,912 files changed
Lines changed: 42934 additions & 39182 deletions
File tree
- dev
- a11y_assessments
- lib
- use_cases
- test
- automated_tests
- flutter_test
- benchmarks
- complex_layout
- lib/src
- imitation_game_flutter
- macrobenchmarks
- lib
- src
- web
- microbenchmarks
- lib
- foundation
- gestures/apps
- language
- multiple_flutters/module
- platform_channels_benchmarks
- platform_views_layout_hybrid_composition
- platform_views_layout
- lib
- test_apps/stocks
- lib
- test
- bots
- custom_rules
- prepare_package
- suite_runners
- test
- analyze-gen-defaults/dev/tools/gen_defaults/bin
- checks_tool
- customer_testing
- lib
- devicelab
- bin
- tasks
- lib
- framework
- tasks
- test
- docs
- platform_integration
- renderers
- forbidden_from_release_tests
- integration_tests
- android_engine_test
- lib/hcpp
- tool
- android_semantics_testing
- lib
- src/tests
- android_views
- lib
- test_driver
- channels
- lib/src
- deferred_components_test
- lib
- display_cutout_rotation
- external_textures
- lib
- flavors
- flutter_gallery
- lib
- demo
- animation
- calculator
- cupertino
- fortnightly
- material
- shrine
- supplemental
- transformations
- gallery
- test_driver
- test
- demo/material
- hook_user_defines
- hook
- ios_add2app_life_cycle/flutterapp
- ios_app_with_extensions
- ios_platform_view_tests
- lib
- keyboard_hot_restart
- lib
- link_hook
- hook
- platform_interaction
- release_smoke_test
- spell_check
- ui
- test
- web_compile_tests
- web_e2e_tests
- lib
- web
- lib
- wide_gamut_test
- lib
- windows_startup_test
- lib
- manual_tests
- lib
- missing_dependency_tests
- packages_autoroller
- lib/src
- snippets
- bin
- lib/src
- test
- tools
- android_driver_extensions
- bin
- gen_defaults
- lib
- test
- gen_keycodes
- lib
- localization
- bin
- test
- vitool
- lib
- tracing_tests
- test
- engine/src/flutter
- ci
- bin
- licenses_golden
- flutter_frontend_server
- impeller/tessellator/dart
- lib
- gpu
- snapshot
- ui
- fixtures
- web_ui
- dev
- steps
- lib
- src/engine
- canvaskit
- platform_views
- semantics
- skwasm/skwasm_impl
- text_editing
- view_embedder/embedding_strategy
- test
- canvaskit
- common
- engine
- image
- semantics
- view_embedder
- ui
- shell
- platform
- embedder/fixtures
- fuchsia
- dart-pkg
- fuchsia
- zircon_ffi
- lib
- zircon
- lib/src
- test
- dart_runner
- embedder
- vmservice
- dart
- flutter
- kernel
- tests/integration
- embedder
- child-view
- lib
- parent-view
- lib
- mouse-input/mouse-input-view
- lib
- text-input/text-input-view
- lib
- touch-input
- embedding-flutter-view
- lib
- touch-input-view
- lib
- runtime/dart/profiler_symbols
- windows/fixtures
- vmservice
- sky/packages/sky_engine
- testing
- benchmark
- dart
- ios_scenario_app
- bin
- lib/src
- skia_gold_client
- lib
- test
- tool
- smoke_test_failure
- symbols
- third_party
- web_locale_keymap
- lib/web_locale_keymap
- test
- web_test_fonts/lib/web_test_fonts
- web_unicode
- lib/web_unicode/codegen
- tool
- tools
- android_lint
- api_check
- test
- build_bucket_golden_scraper
- lib
- clang_tidy
- lib
- src
- test
- clangd_check
- bin
- compare_goldens
- const_finder
- bin
- test
- engine_tool
- lib/src
- commands
- test
- commands
- gen_web_locale_keymap
- bin
- lib
- githooks
- golden_tests_harvester
- bin
- test
- header_guard_check
- lib
- src
- licenses
- lib
- path_ops/dart
- test
- pkg
- engine_build_configs
- bin
- lib/src
- test
- engine_repo_tools
- git_repo_tools
- process_fakes
- web_sdk
- test
- web_engine_tester
- lib
- static
- web_test_utils
- examples
- api
- lib
- cupertino
- date_picker
- dialog
- list_section
- picker
- gestures/tap_and_drag
- material
- action_buttons
- animated_icon
- app
- autocomplete
- badge
- banner
- bottom_app_bar
- bottom_sheet
- button_style_button
- card
- carousel
- checkbox_list_tile
- chip
- choice_chip
- color_scheme
- data_table
- dialog
- divider
- dropdown
- expansion_panel
- expansion_tile
- filter_chip
- floating_action_button_location
- input_chip
- input_decorator
- list_tile
- page_transitions_theme
- paginated_data_table
- progress_indicator
- radio_list_tile
- scaffold
- search_anchor
- segmented_button
- selectable_region
- selection_area
- slider
- snack_bar
- switch_list_tile
- switch
- tab_controller
- tabs
- text_button
- toggle_buttons
- painting
- image_provider
- star_border
- rendering/growth_direction
- services/mouse_cursor
- widgets
- actions
- animated_size
- app
- autocomplete
- basic
- focus_scope
- form
- gesture_detector
- hardware_keyboard
- heroes
- image
- implicit_animations
- keep_alive
- magnifier
- nested_scroll_view
- page_storage
- radio_group
- routes
- safe_area
- scroll_end_notification
- scroll_position
- scroll_view
- shortcuts
- sliver
- table
- tap_region
- text_magnifier
- text
- transitions
- value_listenable_builder
- test
- material/selection_area
- widgets
- actions
- basic
- focus_scope
- hardware_keyboard
- sliver_fill
- sliver
- text_magnifier
- transitions
- flutter_view
- hello_world
- lib
- image_list
- lib
- layers
- raw
- rendering
- services
- widgets
- platform_channel_swift
- platform_channel
- platform_view
- splash
- texture
- packages
- flutter_driver
- lib/src
- common
- driver
- extension
- test/src/real_tests
- flutter_goldens
- lib
- test
- flutter_localizations
- test
- material
- flutter_test
- lib/src
- test
- test_config/project_root
- flutter_tools
- bin
- lib
- src
- android
- migrations
- base
- build_system
- targets
- commands
- custom_devices
- dart
- debug_adapters
- drive
- intellij
- ios
- migrations
- isolated
- native_assets
- macos
- test
- localizations
- macos
- migrations
- proxied_devices
- reporting
- runner
- test
- vscode
- web
- file_generators
- widget_preview
- windows
- test
- commands.shard
- hermetic
- widget_preview
- preview_detector
- utils
- permeable
- widget_preview
- general.shard
- android
- base
- build_system
- targets
- dap
- dart
- drive
- intellij
- ios
- isolated
- android
- build_system/targets
- ios
- linux
- macos
- windows
- linux
- macos
- migrations
- proxied_devices
- runner
- tester
- test
- web
- widget_preview
- windows
- host_cross_arch.shard
- integration.shard
- debug_adapter
- isolated
- test_data
- src
- web.shard/test_data
- widget_preview_scaffold.shard/widget_preview_scaffold/test
- flutter_web_plugins
- flutter
- lib/src
- animation
- cupertino
- foundation
- gestures
- material
- animated_icons
- painting
- rendering
- scheduler
- semantics
- services
- widgets
- test_fixes
- material
- painting
- test_private
- bin
- test
- test_profile
- test
- animation
- cupertino
- foundation
- gestures
- material
- painting
- rendering
- scheduler
- semantics
- services
- widgets
- fuchsia_remote_debug_protocol
- lib/src
- integration_test
- example
- test_driver
- integration_test_macos
- lib
- src
- test
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 | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
44 | 56 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
81 | 78 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
66 | 54 | | |
67 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
68 | 62 | | |
| 63 | + | |
| 64 | + | |
69 | 65 | | |
| 66 | + | |
| 67 | + | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments