Commit 5491c8c
Auto-format Framework (flutter#160545)
This auto-formats all *.dart files in the repository outside of the
`engine` subdirectory and enforces that these files stay formatted with
a presubmit check.
**Reviewers:** Please carefully review all the commits except for the
one titled "formatted". The "formatted" commit was auto-generated by
running `dev/tools/format.sh -a -f`. The other commits were hand-crafted
to prepare the repo for the formatting change. I recommend reviewing the
commits one-by-one via the "Commits" tab and avoiding Github's "Files
changed" tab as it will likely slow down your browser because of the
size of this PR.
---------
Co-authored-by: Kate Lovett <[email protected]>
Co-authored-by: LongCatIsLooong <[email protected]>1 parent 8e0993e commit 5491c8c
File tree
4,411 files changed
+455815
-416698
lines changed- .vscode
- dev
- a11y_assessments
- lib
- common
- use_cases
- test
- automated_tests
- flutter_test
- child_directory
- test_smoke_test
- benchmarks
- complex_layout
- lib
- src
- test_driver
- test_memory
- test
- macrobenchmarks
- lib
- src
- web
- test_driver
- test
- microbenchmarks/lib
- foundation
- geometry
- gestures
- apps
- language
- layout
- stocks
- ui
- multiple_flutters/module/lib
- platform_channels_benchmarks/lib
- platform_views_layout_hybrid_composition
- lib
- test_driver
- platform_views_layout
- lib
- test_driver
- test_apps/stocks
- lib
- i18n
- test_driver
- test
- bots
- custom_rules
- prepare_package
- suite_runners
- test
- analyze-gen-defaults/dev/tools/gen_defaults/bin
- analyze-test-input/root
- dev/tools/localization/bin
- packages
- flutter/lib
- foo
- conductor/core
- bin
- lib/src
- proto
- test
- customer_testing
- lib
- test
- devicelab
- bin
- tasks
- lib
- command
- framework
- tasks
- test
- framework
- tasks
- forbidden_from_release_tests/bin
- integration_tests
- android_semantics_testing
- integration_test
- lib
- src
- tests
- test
- android_verified_input
- lib
- test_driver
- android_views
- lib
- test_driver
- channels/lib
- src
- deferred_components_test
- lib
- test_driver
- external_textures/lib
- flavors/lib
- flutter_gallery
- lib
- demo
- animation
- calculator
- cupertino
- fortnightly
- material
- shrine
- model
- supplemental
- transformations
- gallery
- test_driver
- test_memory
- test
- demo
- cupertino
- material
- hybrid_android_views
- lib
- test_driver
- ios_add2app_life_cycle/flutterapp/lib
- ios_app_with_extensions/lib
- ios_platform_view_tests
- lib
- test_driver
- link_hook
- hook
- lib
- native_driver_test
- lib
- test_driver
- new_gallery
- lib
- data
- demos
- cupertino
- material
- reference
- feature_discovery
- layout
- pages
- settings_icon
- studies
- crane
- model
- fortnightly
- rally
- charts
- tabs
- reply
- model
- shrine
- model
- supplemental
- starter
- themes
- test_driver
- test
- pages
- non_nullable/lib
- platform_interaction/lib
- src
- release_smoke_test/lib
- spell_check
- integration_test
- lib
- ui
- integration_test
- lib
- test_driver
- test
- web_compile_tests/lib
- web_e2e_tests
- lib
- test_driver
- web
- lib
- test
- wide_gamut_test
- integration_test
- lib
- windows_startup_test/lib
- manual_tests
- lib
- test
- snippets
- bin
- lib/src
- test
- tools
- bin
- gen_defaults
- bin
- lib
- test
- gen_keycodes
- bin
- lib
- test
- localization
- bin
- native_driver
- lib
- src
- backend/android
- test
- src
- test
- vitool
- bin
- lib
- test
- tracing_tests
- lib
- test
- examples
- api
- lib
- animation
- animation_controller
- curves
- cupertino
- activity_indicator
- bottom_tab_bar
- button
- checkbox
- date_picker
- dialog
- form_row
- list_section
- list_tile
- page_scaffold
- picker
- radio
- refresh
- route
- scrollbar
- search_field
- segmented_control
- slider
- switch
- tab_scaffold
- text_field
- text_form_field_row
- gestures
- pointer_signal_resolver
- tap_and_drag
- material
- about
- action_buttons
- action_chip
- animated_icon
- app_bar
- app
- autocomplete
- badge
- banner
- bottom_app_bar
- bottom_sheet
- button_style_button
- button_style
- card
- carousel
- checkbox_list_tile
- checkbox
- chip
- choice_chip
- color_scheme
- data_table
- date_picker
- dialog
- divider
- drawer
- dropdown
- elevated_button
- expansion_panel
- expansion_tile
- filled_button
- filter_chip
- flexible_space_bar
- floating_action_button_location
- floating_action_button
- icon_button
- ink_well
- ink
- input_chip
- input_decorator
- list_tile
- material_state
- outlined_button
- page_transitions_theme
- paginated_data_table
- progress_indicator
- radio_list_tile
- radio
- refresh_indicator
- reorderable_list
- scaffold
- scrollbar
- search_anchor
- segmented_button
- selectable_region
- selection_area
- selection_container
- slider
- snack_bar
- stepper
- switch_list_tile
- switch
- tab_controller
- tabs
- text_button
- text_field
- text_form_field
- theme_data
- theme
- time_picker
- toggle_buttons
- tooltip
- widget_state_input_border
- painting
- axis_direction
- borders
- gradient
- image_provider
- linear_border
- star_border
- rendering
- box
- growth_direction
- scroll_direction
- sliver_grid
- sample_templates
- services
- binding
- keyboard_key
- mouse_cursor
- system_chrome
- text_input
- ui/text
- widgets
- actions
- animated_grid
- animated_list
- animated_size
- animated_switcher
- app_lifecycle_listener
- app
- async
- autocomplete
- autofill
- basic
- binding
- color_filter
- dismissible
- drag_target
- draggable_scrollable_sheet
- editable_text
- focus_manager
- focus_scope
- focus_traversal
- form
- framework
- gesture_detector
- hardware_keyboard
- heroes
- image
- implicit_animations
- inherited_model
- inherited_notifier
- interactive_viewer
- layout_builder
- magnifier
- media_query
- nested_scroll_view
- notification_listener
- overflow_bar
- overlay
- overscroll_indicator
- page_storage
- page_view
- page
- pop_scope
- preferred_size
- restoration_properties
- restoration
- routes
- safe_area
- scroll_end_notification
- scroll_notification_observer
- scroll_position
- scroll_view
- scrollbar
- shortcuts
- single_child_scroll_view
- sliver_fill
- sliver
- slotted_render_object_widget
- table
- tap_region
- text_magnifier
- text
- transitions
- tween_animation_builder
- undo_history
- value_listenable_builder
- widget_state
- test
- animation
- animation_controller
- curves
- cupertino
- activity_indicator
- bottom_tab_bar
- button
- checkbox
- date_picker
- dialog
- form_row
- list_section
- list_tile
- page_scaffold
- picker
- radio
- refresh
- route
- scrollbar
- search_field
- segmented_control
- slider
- switch
- tab_scaffold
- text_field
- text_form_field_row
- gestures
- pointer_signal_resolver
- tap_and_drag
- material
- about
- action_buttons
- action_chip
- animated_icon
- app_bar
- app
- autocomplete
- badge
- banner
- bottom_app_bar
- bottom_sheet
- button_style_button
- button_style
- card
- carousel
- checkbox_list_tile
- checkbox
- chip
- choice_chip
- color_scheme
- data_table
- date_picker
- dialog
- divider
- drawer
- dropdown
- elevated_button
- expansion_panel
- expansion_tile
- filled_button
- filter_chip
- flexible_space_bar
- floating_action_button_location
- floating_action_button
- icon_button
- ink_well
- ink
- input_chip
- input_decorator
- list_tile
- material_state
- outlined_button
- page_transitions_theme
- paginated_data_table
- progress_indicator
- radio_list_tile
- radio
- range_slider
- refresh_indicator
- reorderable_list
- scaffold
- scrollbar
- search_anchor
- segmented_button
- selectable_region
- selection_area
- selection_container
- slider
- snack_bar
- stepper
- switch_list_tile
- switch
- tab_controller
- tabs
- text_button
- text_field
- text_form_field
- theme_data
- theme
- time_picker
- toggle_buttons
- tooltip
- widget_state_input_border
- painting
- axis_direction
- borders
- gradient
- image_provider
- linear_border
- star_border
- rendering
- growth_direction
- scroll_direction
- sliver_grid
- sample_templates
- services
- binding
- keyboard_key
- mouse_cursor
- system_chrome
- text_input
- ui/text
- widgets
- actions
- animated_grid
- animated_list
- animated_size
- animated_switcher
- app_lifecycle_listener
- app
- async
- autocomplete
- autofill
- basic
- binding
- color_filter
- dismissible
- drag_target
- draggable_scrollable_sheet
- editable_text
- focus_manager
- focus_scope
- focus_traversal
- form
- framework
- gesture_detector
- hardware_keyboard
- heroes
- image
- implicit_animations
- inherited_model
- inherited_notifier
- inherited_theme
- interactive_viewer
- layout_builder
- magnifier
- media_query
- nested_scroll_view
- notification_listener
- overflow_bar
- overlay
- overscroll_indicator
- page_storage
- page_view
- page
- pop_scope
- preferred_size
- restoration_properties
- restoration
- routes
- safe_area
- scroll_end_notification
- scroll_notification_observer
- scroll_position
- scroll_view
- scrollbar
- shortcuts
- single_child_scroll_view
- sliver_fill
- sliver
- slotted_render_object_widget
- tap_region
- text_magnifier
- text
- transitions
- tween_animation_builder
- undo_history
- value_listenable_builder
- widget_state
- flutter_view/lib
- hello_world
- lib
- test_driver
- image_list/lib
- layers
- lib
- raw
- rendering
- src
- services
- test
- smoketests
- rendering
- widgets
- widgets
- platform_channel_swift
- lib
- test_driver
- platform_channel
- lib
- test_driver
- platform_view/lib
- splash/test
- texture
- lib
- test
- packages/flutter
- lib
- src
- animation
- cupertino
- foundation
- gestures
- material
- animated_icons
- data
- painting
- physics
- rendering
- scheduler
- semantics
- services
- widgets
- test
- animation
- cupertino
- material
- foundation
- gestures
- material
- painting
- physics
- rendering
- scheduler
- semantics
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
4,411 files changed
+455815
-416698
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| 396 | + | |
396 | 397 | | |
397 | 398 | | |
398 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 4 | | |
14 | 5 | | |
15 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
20 | 16 | | |
21 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| |||
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
68 | | - | |
69 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | | - | |
| 78 | + | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
80 | | - | |
81 | 89 | | |
82 | 90 | | |
83 | | - | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 48 | + | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
55 | 44 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 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 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 79 | + | |
| 80 | + | |
88 | 81 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
92 | 89 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 90 | + | |
96 | 91 | | |
97 | 92 | | |
98 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 28 | + | |
33 | 29 | | |
34 | 30 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
39 | 36 | | |
40 | 37 | | |
41 | 38 | | |
| |||
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | | - | |
62 | | - | |
| 58 | + | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 43 | + | |
49 | 44 | | |
50 | 45 | | |
51 | 46 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
0 commit comments