From b308555ed1ce6ea6d83894d1248dea333e46dad1 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Tue, 20 Dec 2022 16:03:21 -0800 Subject: [PATCH] Enable `dangling_library_doc_comments` and `library_annotations` lints (#117365) --- analysis_options.yaml | 4 +-- .../known_broken_documentation.dart | 1 + .../short_but_still_broken.dart | 2 ++ .../root/packages/foo/golden_doc.dart | 2 +- .../root/packages/foo/golden_ignore.dart | 1 + .../root/packages/foo/golden_missing_tag.dart | 1 + dev/bots/test/analyze_snippet_code_test.dart | 2 +- dev/bots/unpublish_package.dart | 2 +- .../core/test/codesign_integration_test.dart | 1 + .../flutter_gallery__back_button_memory.dart | 5 ++- .../bin/gen_date_localizations.dart | 33 +++++++++---------- dev/tools/mega_gallery.dart | 3 +- .../api/lib/animation/curves/curve2_d.0.dart | 2 +- .../cupertino_activity_indicator.0.dart | 2 +- .../bottom_tab_bar/cupertino_tab_bar.0.dart | 2 +- .../cupertino/button/cupertino_button.0.dart | 2 +- .../cupertino_context_menu.0.dart | 2 +- .../cupertino_context_menu.1.dart | 2 +- .../date_picker/cupertino_date_picker.0.dart | 2 +- .../date_picker/cupertino_timer_picker.0.dart | 2 +- .../dialog/cupertino_action_sheet.0.dart | 2 +- .../dialog/cupertino_alert_dialog.0.dart | 2 +- .../form_row/cupertino_form_row.0.dart | 2 +- .../list_section/list_section_base.0.dart | 2 +- .../list_section/list_section_inset.0.dart | 2 +- .../nav_bar/cupertino_navigation_bar.0.dart | 2 +- .../nav_bar/cupertino_sliver_nav_bar.0.dart | 2 +- .../cupertino_page_scaffold.0.dart | 2 +- .../cupertino/picker/cupertino_picker.0.dart | 2 +- .../cupertino_sliver_refresh_control.0.dart | 2 +- .../route/show_cupertino_dialog.0.dart | 2 +- .../route/show_cupertino_modal_popup.0.dart | 2 +- .../scrollbar/cupertino_scrollbar.0.dart | 2 +- .../scrollbar/cupertino_scrollbar.1.dart | 2 +- .../cupertino_search_field.0.dart | 2 +- .../cupertino_search_field.1.dart | 2 +- .../cupertino_segmented_control.0.dart | 2 +- ...cupertino_sliding_segmented_control.0.dart | 2 +- .../cupertino/slider/cupertino_slider.0.dart | 2 +- .../cupertino/switch/cupertino_switch.0.dart | 2 +- .../cupertino_tab_controller.0.dart | 2 +- .../cupertino_tab_scaffold.0.dart | 2 +- .../text_field/cupertino_text_field.0.dart | 2 +- .../cupertino_text_form_field_row.1.dart | 2 +- .../pointer_signal_resolver.0.dart | 2 +- .../lib/material/about/about_list_tile.0.dart | 2 +- .../material/action_chip/action_chip.0.dart | 2 +- .../animated_icon/animated_icon.0.dart | 2 +- .../animated_icon/animated_icons_data.0.dart | 2 +- .../api/lib/material/app_bar/app_bar.0.dart | 2 +- .../api/lib/material/app_bar/app_bar.1.dart | 2 +- .../api/lib/material/app_bar/app_bar.2.dart | 2 +- .../api/lib/material/app_bar/app_bar.3.dart | 2 +- .../material/app_bar/sliver_app_bar.1.dart | 2 +- .../material/app_bar/sliver_app_bar.2.dart | 2 +- .../material/app_bar/sliver_app_bar.3.dart | 2 +- .../material/autocomplete/autocomplete.0.dart | 2 +- .../material/autocomplete/autocomplete.1.dart | 2 +- .../material/banner/material_banner.0.dart | 2 +- .../material/banner/material_banner.1.dart | 2 +- .../bottom_app_bar/bottom_app_bar.1.dart | 2 +- .../bottom_navigation_bar.0.dart | 2 +- .../bottom_navigation_bar.1.dart | 2 +- .../bottom_navigation_bar.2.dart | 2 +- .../show_modal_bottom_sheet.0.dart | 2 +- .../show_modal_bottom_sheet.1.dart | 2 +- .../material/button_style/button_style.0.dart | 2 +- examples/api/lib/material/card/card.0.dart | 2 +- examples/api/lib/material/card/card.1.dart | 2 +- examples/api/lib/material/card/card.2.dart | 2 +- .../api/lib/material/checkbox/checkbox.0.dart | 2 +- .../checkbox_list_tile.0.dart | 2 +- .../checkbox_list_tile.1.dart | 2 +- .../checkbox_list_tile.2.dart | 2 +- ...eletable_chip_attributes.on_deleted.0.dart | 2 +- .../material/choice_chip/choice_chip.0.dart | 2 +- .../lib/material/data_table/data_table.0.dart | 2 +- .../lib/material/data_table/data_table.1.dart | 2 +- .../date_picker/show_date_picker.0.dart | 2 +- .../date_picker/show_date_range_picker.0.dart | 2 +- .../lib/material/dialog/alert_dialog.0.dart | 2 +- .../lib/material/dialog/alert_dialog.1.dart | 2 +- .../api/lib/material/dialog/dialog.0.dart | 2 +- .../lib/material/dialog/show_dialog.0.dart | 2 +- .../lib/material/dialog/show_dialog.1.dart | 2 +- .../lib/material/dialog/show_dialog.2.dart | 2 +- .../api/lib/material/divider/divider.0.dart | 2 +- .../api/lib/material/divider/divider.1.dart | 2 +- .../material/divider/vertical_divider.0.dart | 2 +- .../material/divider/vertical_divider.1.dart | 2 +- .../material/dropdown/dropdown_button.0.dart | 2 +- ...opdown_button.selected_item_builder.0.dart | 2 +- .../dropdown/dropdown_button.style.0.dart | 2 +- .../dropdown_menu/dropdown_menu.0.dart | 4 +-- .../elevated_button/elevated_button.0.dart | 2 +- .../expansion_panel_list.0.dart | 2 +- ...nel_list.expansion_panel_list_radio.0.dart | 2 +- .../expansion_tile/expansion_tile.0.dart | 2 +- .../filled_button/filled_button.0.dart | 2 +- .../material/filter_chip/filter_chip.0.dart | 2 +- .../flexible_space_bar.0.dart | 2 +- .../floating_action_button.0.dart | 2 +- .../floating_action_button.1.dart | 2 +- .../floating_action_button.2.dart | 2 +- .../floating_action_button.3.dart | 2 +- .../standard_fab_location.0.dart | 2 +- .../material/icon_button/icon_button.0.dart | 2 +- .../material/icon_button/icon_button.1.dart | 2 +- .../material/icon_button/icon_button.2.dart | 2 +- .../material/icon_button/icon_button.3.dart | 2 +- .../lib/material/ink/ink.image_clip.0.dart | 2 +- .../lib/material/ink/ink.image_clip.1.dart | 2 +- .../api/lib/material/ink_well/ink_well.0.dart | 2 +- .../input_decorator/input_decoration.0.dart | 2 +- .../input_decorator/input_decoration.1.dart | 2 +- .../input_decorator/input_decoration.2.dart | 2 +- .../input_decorator/input_decoration.3.dart | 2 +- ...coration.floating_label_style_error.0.dart | 2 +- .../input_decoration.label.0.dart | 2 +- .../input_decoration.label_style_error.0.dart | 2 +- .../input_decoration.material_state.0.dart | 2 +- .../input_decoration.material_state.1.dart | 2 +- .../input_decoration.prefix_icon.0.dart | 2 +- ..._decoration.prefix_icon_constraints.0.dart | 2 +- .../input_decoration.suffix_icon.0.dart | 2 +- ..._decoration.suffix_icon_constraints.0.dart | 2 +- .../lib/material/list_tile/list_tile.0.dart | 2 +- .../lib/material/list_tile/list_tile.1.dart | 2 +- .../lib/material/list_tile/list_tile.4.dart | 2 +- .../lib/material/list_tile/list_tile.5.dart | 2 +- .../list_tile/list_tile.selected.0.dart | 2 +- .../material_state_border_side.0.dart | 2 +- .../material_state_mouse_cursor.0.dart | 2 +- .../material_state_outlined_border.0.dart | 2 +- .../material_state_property.0.dart | 2 +- .../menu_anchor/checkbox_menu_button.0.dart | 2 +- .../menu_anchor/menu_accelerator_label.0.dart | 2 +- .../material/menu_anchor/menu_anchor.0.dart | 2 +- .../material/menu_anchor/menu_anchor.1.dart | 2 +- .../lib/material/menu_anchor/menu_bar.0.dart | 2 +- .../menu_anchor/radio_menu_button.0.dart | 2 +- .../navigation_bar/navigation_bar.0.dart | 2 +- .../navigation_bar/navigation_bar.1.dart | 2 +- .../navigation_bar/navigation_bar.2.dart | 2 +- .../navigation_rail/navigation_rail.0.dart | 2 +- .../navigation_rail/navigation_rail.1.dart | 2 +- .../navigation_rail.extended_animation.0.dart | 2 +- .../outlined_button/outlined_button.0.dart | 2 +- .../platform_menu_bar.0.dart | 4 +-- .../lib/material/popup_menu/popup_menu.0.dart | 2 +- .../lib/material/popup_menu/popup_menu.1.dart | 2 +- .../circular_progress_indicator.0.dart | 2 +- .../circular_progress_indicator.1.dart | 2 +- .../linear_progress_indicator.0.dart | 2 +- .../linear_progress_indicator.1.dart | 2 +- examples/api/lib/material/radio/radio.0.dart | 2 +- .../material/radio/radio.toggleable.0.dart | 2 +- .../radio_list_tile/radio_list_tile.0.dart | 2 +- .../radio_list_tile/radio_list_tile.1.dart | 2 +- .../radio_list_tile/radio_list_tile.2.dart | 2 +- .../radio_list_tile.toggleable.0.dart | 2 +- .../material/range_slider/range_slider.0.dart | 2 +- .../refresh_indicator.0.dart | 2 +- .../refresh_indicator.1.dart | 2 +- .../reorderable_list_view.0.dart | 2 +- .../reorderable_list_view.1.dart | 2 +- ...ist_view.build_default_drag_handles.0.dart | 2 +- ..._view.reorderable_list_view_builder.0.dart | 2 +- .../api/lib/material/scaffold/scaffold.0.dart | 2 +- .../api/lib/material/scaffold/scaffold.1.dart | 2 +- .../api/lib/material/scaffold/scaffold.2.dart | 2 +- .../material/scaffold/scaffold.drawer.0.dart | 2 +- .../scaffold/scaffold.end_drawer.0.dart | 2 +- .../lib/material/scaffold/scaffold.of.0.dart | 2 +- .../lib/material/scaffold/scaffold.of.1.dart | 2 +- .../scaffold/scaffold_messenger.0.dart | 2 +- .../scaffold/scaffold_messenger.of.0.dart | 2 +- .../scaffold/scaffold_messenger.of.1.dart | 2 +- ...essenger_state.show_material_banner.0.dart | 2 +- ...fold_messenger_state.show_snack_bar.0.dart | 2 +- ...fold_messenger_state.show_snack_bar.1.dart | 2 +- .../scaffold_state.show_bottom_sheet.0.dart | 2 +- .../scaffold_state.show_snack_bar.0.dart | 2 +- .../lib/material/scrollbar/scrollbar.0.dart | 2 +- .../lib/material/scrollbar/scrollbar.1.dart | 2 +- .../segmented_button/segmented_button.0.dart | 2 +- .../selectable_region.0.dart | 2 +- .../selection_area/selection_area.0.dart | 2 +- .../selection_container.0.dart | 2 +- .../selection_container_disabled.0.dart | 2 +- .../api/lib/material/slider/slider.0.dart | 2 +- .../api/lib/material/slider/slider.1.dart | 2 +- .../api/lib/material/slider/slider.2.dart | 2 +- .../lib/material/snack_bar/snack_bar.0.dart | 2 +- .../lib/material/snack_bar/snack_bar.1.dart | 2 +- .../lib/material/snack_bar/snack_bar.2.dart | 2 +- .../api/lib/material/stepper/stepper.0.dart | 2 +- .../stepper/stepper.controls_builder.0.dart | 2 +- .../api/lib/material/switch/switch.0.dart | 2 +- .../api/lib/material/switch/switch.1.dart | 2 +- .../api/lib/material/switch/switch.3.dart | 2 +- .../switch_list_tile/switch_list_tile.0.dart | 2 +- .../switch_list_tile/switch_list_tile.1.dart | 2 +- .../switch_list_tile/switch_list_tile.2.dart | 2 +- .../tab_controller/tab_controller.1.dart | 2 +- examples/api/lib/material/tabs/tab_bar.0.dart | 2 +- examples/api/lib/material/tabs/tab_bar.1.dart | 2 +- .../material/text_button/text_button.0.dart | 2 +- .../material/text_button/text_button.1.dart | 2 +- .../lib/material/text_field/text_field.1.dart | 2 +- .../lib/material/text_field/text_field.2.dart | 2 +- .../text_form_field/text_form_field.1.dart | 2 +- .../lib/material/theme/theme_extension.1.dart | 2 +- .../time_picker/show_time_picker.0.dart | 2 +- .../toggle_buttons/toggle_buttons.0.dart | 2 +- .../api/lib/material/tooltip/tooltip.0.dart | 2 +- .../api/lib/material/tooltip/tooltip.1.dart | 2 +- .../api/lib/material/tooltip/tooltip.2.dart | 2 +- .../api/lib/material/tooltip/tooltip.3.dart | 2 +- .../borders/border_side.stroke_align.0.dart | 2 +- .../painting/gradient/linear_gradient.0.dart | 2 +- .../painting/star_border/star_border.0.dart | 2 +- ...elegate_with_fixed_cross_axis_count.0.dart | 2 +- ...elegate_with_fixed_cross_axis_count.1.dart | 2 +- .../api/lib/sample_templates/cupertino.0.dart | 2 +- .../api/lib/sample_templates/material.0.dart | 2 +- .../api/lib/sample_templates/widgets.0.dart | 2 +- .../keyboard_key/logical_keyboard_key.0.dart | 2 +- .../keyboard_key/physical_keyboard_key.0.dart | 2 +- .../services/mouse_cursor/mouse_cursor.0.dart | 2 +- ...chrome.set_system_u_i_overlay_style.1.dart | 2 +- examples/api/lib/ui/text/font_feature.0.dart | 2 +- ...nt_feature.font_feature_alternative.0.dart | 2 +- ....font_feature_alternative_fractions.0.dart | 2 +- ...e.font_feature_case_sensitive_forms.0.dart | 2 +- ...ture.font_feature_character_variant.0.dart | 2 +- ....font_feature_contextual_alternates.0.dart | 2 +- ...nt_feature.font_feature_denominator.0.dart | 2 +- ...font_feature.font_feature_fractions.0.dart | 2 +- ...ature.font_feature_historical_forms.0.dart | 2 +- ...e.font_feature_historical_ligatures.0.dart | 2 +- ...feature.font_feature_lining_figures.0.dart | 3 +- ...t_feature.font_feature_locale_aware.0.dart | 2 +- ...ature.font_feature_notational_forms.0.dart | 2 +- ...ont_feature.font_feature_numerators.0.dart | 2 +- ...ature.font_feature_oldstyle_figures.0.dart | 2 +- ..._feature.font_feature_ordinal_forms.0.dart | 2 +- ...e.font_feature_proportional_figures.0.dart | 2 +- ...e.font_feature_scientific_inferiors.0.dart | 2 +- ...t_feature.font_feature_slashed_zero.0.dart | 2 +- ...e.font_feature_stylistic_alternates.0.dart | 2 +- ..._feature.font_feature_stylistic_set.0.dart | 2 +- ..._feature.font_feature_stylistic_set.1.dart | 2 +- ...ont_feature.font_feature_subscripts.0.dart | 2 +- ...t_feature.font_feature_superscripts.0.dart | 3 +- .../font_feature.font_feature_swash.0.dart | 2 +- ...eature.font_feature_tabular_figures.0.dart | 2 +- .../actions/action.action_overridable.0.dart | 2 +- .../widgets/actions/action_listener.0.dart | 2 +- .../api/lib/widgets/actions/actions.0.dart | 2 +- .../actions/focusable_action_detector.0.dart | 2 +- .../animated_grid/animated_grid.0.dart | 2 +- .../animated_grid/sliver_animated_grid.0.dart | 2 +- .../animated_list/animated_list.0.dart | 2 +- .../animated_list/sliver_animated_list.0.dart | 2 +- .../animated_size/animated_size.0.dart | 2 +- .../animated_switcher.0.dart | 2 +- .../app/widgets_app.widgets_app.0.dart | 2 +- .../lib/widgets/async/future_builder.0.dart | 2 +- .../lib/widgets/async/stream_builder.0.dart | 2 +- .../autocomplete/raw_autocomplete.0.dart | 2 +- .../autocomplete/raw_autocomplete.1.dart | 2 +- .../autocomplete/raw_autocomplete.2.dart | 2 +- .../raw_autocomplete.focus_node.0.dart | 2 +- .../widgets/autofill/autofill_group.0.dart | 2 +- .../lib/widgets/basic/absorb_pointer.0.dart | 2 +- .../api/lib/widgets/basic/aspect_ratio.0.dart | 2 +- .../api/lib/widgets/basic/aspect_ratio.1.dart | 2 +- .../api/lib/widgets/basic/aspect_ratio.2.dart | 2 +- .../api/lib/widgets/basic/clip_rrect.0.dart | 2 +- .../api/lib/widgets/basic/clip_rrect.1.dart | 2 +- .../basic/custom_multi_child_layout.0.dart | 2 +- .../api/lib/widgets/basic/expanded.0.dart | 2 +- .../api/lib/widgets/basic/expanded.1.dart | 2 +- .../api/lib/widgets/basic/fitted_box.0.dart | 2 +- examples/api/lib/widgets/basic/flow.0.dart | 2 +- .../basic/fractionally_sized_box.0.dart | 2 +- .../lib/widgets/basic/ignore_pointer.0.dart | 2 +- .../lib/widgets/basic/indexed_stack.0.dart | 2 +- .../api/lib/widgets/basic/listener.0.dart | 2 +- .../api/lib/widgets/basic/mouse_region.0.dart | 2 +- .../widgets/basic/mouse_region.on_exit.0.dart | 2 +- .../widgets/basic/mouse_region.on_exit.1.dart | 2 +- .../api/lib/widgets/basic/offstage.0.dart | 2 +- .../lib/widgets/basic/physical_shape.0.dart | 2 +- .../binding/widget_binding_observer.0.dart | 2 +- .../color_filter/color_filtered.0.dart | 2 +- .../widgets/dismissible/dismissible.0.dart | 2 +- .../lib/widgets/drag_target/draggable.0.dart | 2 +- .../editable_text.on_changed.0.dart | 2 +- .../text_editing_controller.0.dart | 2 +- .../widgets/focus_manager/focus_node.0.dart | 2 +- .../focus_manager/focus_node.unfocus.0.dart | 2 +- .../api/lib/widgets/focus_scope/focus.0.dart | 2 +- .../api/lib/widgets/focus_scope/focus.1.dart | 2 +- .../api/lib/widgets/focus_scope/focus.2.dart | 2 +- .../widgets/focus_scope/focus_scope.0.dart | 2 +- .../focus_traversal_group.0.dart | 2 +- .../ordered_traversal_policy.0.dart | 2 +- examples/api/lib/widgets/form/form.0.dart | 2 +- .../lib/widgets/framework/build_owner.0.dart | 2 +- .../lib/widgets/framework/error_widget.0.dart | 2 +- .../gesture_detector/gesture_detector.0.dart | 2 +- .../gesture_detector/gesture_detector.1.dart | 2 +- .../gesture_detector/gesture_detector.2.dart | 2 +- .../key_event_manager.0.dart | 2 +- examples/api/lib/widgets/heroes/hero.0.dart | 2 +- examples/api/lib/widgets/heroes/hero.1.dart | 2 +- .../widgets/image/image.error_builder.0.dart | 2 +- .../widgets/image/image.frame_builder.0.dart | 2 +- .../image/image.loading_builder.0.dart | 2 +- .../implicit_animations/animated_align.0.dart | 2 +- .../animated_container.0.dart | 2 +- .../animated_fractionally_sized_box.0.dart | 2 +- .../animated_padding.0.dart | 2 +- .../animated_positioned.0.dart | 2 +- .../implicit_animations/animated_slide.0.dart | 2 +- .../sliver_animated_opacity.0.dart | 2 +- .../inherited_model/inherited_model.0.dart | 2 +- .../inherited_notifier.0.dart | 2 +- .../inherited_theme/inherited_theme.0.dart | 2 +- .../interactive_viewer.0.dart | 2 +- .../interactive_viewer.builder.0.dart | 2 +- .../interactive_viewer.constrained.0.dart | 2 +- ...ve_viewer.transformation_controller.0.dart | 2 +- .../layout_builder/layout_builder.0.dart | 2 +- ...ia_query_data.system_gesture_insets.0.dart | 2 +- .../lib/widgets/navigator/navigator.0.dart | 2 +- .../navigator.restorable_push.0.dart | 2 +- ...or.restorable_push_and_remove_until.0.dart | 2 +- ...vigator.restorable_push_replacement.0.dart | 2 +- .../navigator_state.restorable_push.0.dart | 2 +- ...te.restorable_push_and_remove_until.0.dart | 2 +- ...r_state.restorable_push_replacement.0.dart | 2 +- .../navigator/restorable_route_future.0.dart | 2 +- .../nested_scroll_view.0.dart | 2 +- .../nested_scroll_view.1.dart | 2 +- .../nested_scroll_view.2.dart | 2 +- .../nested_scroll_view_state.0.dart | 2 +- .../notification_listener/notification.0.dart | 2 +- .../widgets/overflow_bar/overflow_bar.0.dart | 2 +- .../api/lib/widgets/overlay/overlay.0.dart | 2 +- .../glowing_overscroll_indicator.0.dart | 2 +- .../glowing_overscroll_indicator.1.dart | 2 +- .../widgets/page_storage/page_storage.0.dart | 2 +- .../lib/widgets/page_view/page_view.0.dart | 2 +- .../preferred_size/preferred_size.0.dart | 2 +- .../restoration/restoration_mixin.0.dart | 2 +- .../restorable_value.0.dart | 2 +- .../api/lib/widgets/routes/popup_route.0.dart | 2 +- .../widgets/routes/show_general_dialog.0.dart | 2 +- .../scroll_metrics_notification.0.dart | 2 +- .../scroll_view/custom_scroll_view.1.dart | 2 +- .../scroll_view/listview_select.1.dart | 2 +- .../widgets/scrollbar/raw_scrollbar.0.dart | 2 +- .../widgets/scrollbar/raw_scrollbar.1.dart | 2 +- .../widgets/scrollbar/raw_scrollbar.2.dart | 2 +- .../scrollbar/raw_scrollbar.desktop.0.dart | 2 +- .../scrollbar/raw_scrollbar.shape.0.dart | 2 +- .../shared_app_data/shared_app_data.0.dart | 2 +- .../shared_app_data/shared_app_data.1.dart | 2 +- .../shortcuts/character_activator.0.dart | 2 +- .../widgets/shortcuts/logical_key_set.0.dart | 2 +- .../lib/widgets/shortcuts/shortcuts.0.dart | 2 +- .../lib/widgets/shortcuts/shortcuts.1.dart | 2 +- .../single_activator.single_activator.0.dart | 2 +- .../single_child_scroll_view.0.dart | 2 +- .../single_child_scroll_view.1.dart | 2 +- .../lib/widgets/sliver/sliver_opacity.1.dart | 2 +- .../sliver_fill/sliver_fill_remaining.0.dart | 2 +- .../sliver_fill/sliver_fill_remaining.1.dart | 2 +- .../sliver_fill/sliver_fill_remaining.2.dart | 2 +- .../sliver_fill/sliver_fill_remaining.3.dart | 2 +- ...ti_child_render_object_widget_mixin.0.dart | 2 +- examples/api/lib/widgets/table/table.0.dart | 2 +- .../tap_region/text_field_tap_region.0.dart | 2 +- .../transitions/align_transition.0.dart | 2 +- .../transitions/animated_builder.0.dart | 2 +- .../transitions/animated_widget.0.dart | 2 +- .../decorated_box_transition.0.dart | 2 +- .../default_text_style_transition.0.dart | 2 +- .../transitions/fade_transition.0.dart | 2 +- .../transitions/listenable_builder.0.dart | 2 +- .../transitions/listenable_builder.1.dart | 2 +- .../transitions/positioned_transition.0.dart | 2 +- .../relative_positioned_transition.0.dart | 2 +- .../transitions/rotation_transition.0.dart | 2 +- .../transitions/scale_transition.0.dart | 2 +- .../transitions/size_transition.0.dart | 2 +- .../transitions/slide_transition.0.dart | 2 +- .../transitions/sliver_fade_transition.0.dart | 2 +- .../tween_animation_builder.0.dart | 2 +- .../will_pop_scope/will_pop_scope.0.dart | 2 +- packages/flutter/lib/src/widgets/async.dart | 4 --- .../test/animation/animation_sheet_test.dart | 1 + .../test/animation/live_binding_test.dart | 1 + .../test/cupertino/action_sheet_test.dart | 1 + .../cupertino/activity_indicator_test.dart | 1 + .../test/cupertino/date_picker_test.dart | 1 + .../flutter/test/cupertino/dialog_test.dart | 1 + .../test/cupertino/magnifier_test.dart | 1 + .../flutter/test/cupertino/nav_bar_test.dart | 1 + .../cupertino/nav_bar_transition_test.dart | 3 +- .../flutter/test/cupertino/refresh_test.dart | 1 + .../flutter/test/cupertino/route_test.dart | 2 ++ .../cupertino/segmented_control_test.dart | 1 + .../flutter/test/cupertino/switch_test.dart | 1 + .../test/cupertino/text_field_test.dart | 1 + .../test/cupertino/text_selection_test.dart | 1 + .../test/dart/browser_environment_test.dart | 1 + .../test/examples/sector_layout_test.dart | 2 ++ .../foundation/consolidate_response_test.dart | 1 + .../test/foundation/error_reporting_test.dart | 1 + .../foundation/service_extensions_test.dart | 1 + .../test/foundation/stack_trace_test.dart | 1 + .../test/material/animated_icons_test.dart | 1 + packages/flutter/test/material/app_test.dart | 1 + .../test/material/bottom_app_bar_test.dart | 1 + .../material/bottom_app_bar_theme_test.dart | 1 + .../material/bottom_navigation_bar_test.dart | 1 + .../test/material/card_theme_test.dart | 1 + .../test/material/circle_avatar_test.dart | 2 ++ .../test/material/data_table_test.dart | 2 ++ .../test/material/dialog_theme_test.dart | 1 + .../flutter/test/material/dropdown_test.dart | 1 + .../flexible_space_bar_stretch_mode_test.dart | 1 + .../material/flexible_space_bar_test.dart | 1 + .../material/floating_action_button_test.dart | 3 +- .../test/material/flutter_logo_test.dart | 1 + .../flutter/test/material/icons_test.dart | 1 + .../test/material/ink_sparkle_test.dart | 1 + .../test/material/input_decorator_test.dart | 1 + .../flutter/test/material/magnifier_test.dart | 1 + .../flutter/test/material/material_test.dart | 1 + packages/flutter/test/material/page_test.dart | 1 + .../material/paginated_data_table_test.dart | 1 + .../material/progress_indicator_test.dart | 1 + .../flutter/test/material/radio_test.dart | 1 + .../test/material/reorderable_list_test.dart | 1 + .../flutter/test/material/scrollbar_test.dart | 1 + .../flutter/test/material/snack_bar_test.dart | 1 + .../flutter/test/material/switch_test.dart | 1 + .../test/material/tab_bar_theme_test.dart | 1 + .../test/material/text_field_test.dart | 1 + .../test/material/text_selection_test.dart | 1 + .../test/material/time_picker_test.dart | 2 ++ .../test/material/toggle_buttons_test.dart | 1 + .../value_indicating_slider_test.dart | 1 + .../test/painting/box_painter_test.dart | 1 + .../continuous_rectangle_border_test.dart | 1 + .../test/painting/flutter_logo_test.dart | 1 + .../flutter/test/painting/gradient_test.dart | 1 + .../test/painting/star_border_test.dart | 1 + .../flutter/test/physics/newton_test.dart | 1 + .../flutter/test/rendering/editable_test.dart | 1 + .../test/rendering/localized_fonts_test.dart | 1 + .../flutter/test/rendering/viewport_test.dart | 1 + .../test/services/message_codecs_vm_test.dart | 2 ++ .../test/services/platform_channel_test.dart | 1 + .../test/services/platform_messages_test.dart | 2 ++ .../test/widgets/backdrop_filter_test.dart | 1 + packages/flutter/test/widgets/basic_test.dart | 1 + packages/flutter/test/widgets/clip_test.dart | 1 + .../test/widgets/color_filter_test.dart | 3 +- .../flutter/test/widgets/container_test.dart | 1 + .../flutter/test/widgets/draggable_test.dart | 1 + .../widgets/editable_text_cursor_test.dart | 3 +- .../test/widgets/html_element_view_test.dart | 2 ++ .../widgets/image_filter_quality_test.dart | 1 + .../test/widgets/image_filter_test.dart | 1 + .../test/widgets/image_resolution_test.dart | 2 ++ packages/flutter/test/widgets/image_test.dart | 1 + .../test/widgets/invert_colors_test.dart | 1 + .../widgets/list_wheel_scroll_view_test.dart | 1 + .../flutter/test/widgets/magnifier_test.dart | 1 + .../flutter/test/widgets/opacity_test.dart | 1 + .../overscroll_stretch_indicator_test.dart | 1 + .../test/widgets/page_route_builder_test.dart | 1 + .../test/widgets/physical_model_test.dart | 1 + .../test/widgets/platform_view_test.dart | 1 + .../route_notification_messages_test.dart | 2 ++ .../selectable_region_context_menu_test.dart | 1 + .../test/widgets/selectable_text_test.dart | 3 +- ...ssion_for_current_semantics_tree_test.dart | 2 ++ .../test/widgets/shader_mask_test.dart | 1 + .../flutter/test/widgets/shadow_test.dart | 1 + .../test/widgets/snapshot_widget_test.dart | 1 + .../test/widgets/text_golden_test.dart | 3 +- .../flutter/test/widgets/transform_test.dart | 1 + .../test/widgets/widget_inspector_test.dart | 2 +- .../lib/src/common/fuchsia_compat.dart | 3 -- .../test/src/real_tests/extension_test.dart | 1 + packages/flutter_test/test/bindings_test.dart | 2 ++ .../test/test_text_input_test.dart | 1 + packages/flutter_tools/lib/src/base/io.dart | 1 + .../permeable/packages_test.dart | 1 + .../dart/language_version_test.dart | 1 + .../break_on_framework_exceptions_test.dart | 1 + .../overall_experience_test.dart | 1 + .../test_data/migrate_project.dart | 1 + .../test/integration.shard/test_test.dart | 1 + .../test/navigation/url_strategy_test.dart | 1 + .../test/navigation/utils_test.dart | 1 + .../test/plugin_event_channel_test.dart | 1 + .../test/plugin_registry_test.dart | 1 + .../test/web_extension_test.dart | 2 ++ 516 files changed, 554 insertions(+), 435 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 13cfbe926e8e..c88c8521dac2 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -95,7 +95,7 @@ linter: # - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204 - control_flow_in_finally - curly_braces_in_flow_control_structures - # - dangling_library_doc_comments # not yet tested + - dangling_library_doc_comments - depend_on_referenced_packages - deprecated_consistency # - diagnostic_describe_all_properties # enabled only at the framework level (packages/flutter/lib) @@ -116,7 +116,7 @@ linter: - iterable_contains_unrelated_type # - join_return_with_assignment # not required by flutter style - leading_newlines_in_multiline_strings - # - library_annotations # not yet tested + - library_annotations - library_names - library_prefixes - library_private_types_in_public_api diff --git a/dev/bots/test/analyze-snippet-code-test-input/known_broken_documentation.dart b/dev/bots/test/analyze-snippet-code-test-input/known_broken_documentation.dart index 6334e772b91e..5a64e67b3965 100644 --- a/dev/bots/test/analyze-snippet-code-test-input/known_broken_documentation.dart +++ b/dev/bots/test/analyze-snippet-code-test-input/known_broken_documentation.dart @@ -166,3 +166,4 @@ /// error (something about backticks) /// this must be the last error, since it aborts parsing of this file /// ``` +String? foo; diff --git a/dev/bots/test/analyze-snippet-code-test-input/short_but_still_broken.dart b/dev/bots/test/analyze-snippet-code-test-input/short_but_still_broken.dart index 2f991c57d6fd..7f551f593a16 100644 --- a/dev/bots/test/analyze-snippet-code-test-input/short_but_still_broken.dart +++ b/dev/bots/test/analyze-snippet-code-test-input/short_but_still_broken.dart @@ -11,7 +11,9 @@ /// ```dart /// print(x); /// ``` +String? bar; /// error: empty dart block /// ```dart /// ``` +String? foo; diff --git a/dev/bots/test/analyze-test-input/root/packages/foo/golden_doc.dart b/dev/bots/test/analyze-test-input/root/packages/foo/golden_doc.dart index f6a365b457e9..e1f5f427bd78 100644 --- a/dev/bots/test/analyze-test-input/root/packages/foo/golden_doc.dart +++ b/dev/bots/test/analyze-test-input/root/packages/foo/golden_doc.dart @@ -35,7 +35,7 @@ /// ``` /// {@end-tool} /// - +String? foo; // Other comments // matchesGoldenFile('comment.png'); diff --git a/dev/bots/test/analyze-test-input/root/packages/foo/golden_ignore.dart b/dev/bots/test/analyze-test-input/root/packages/foo/golden_ignore.dart index d9b179ede408..5ae47e74db15 100644 --- a/dev/bots/test/analyze-test-input/root/packages/foo/golden_ignore.dart +++ b/dev/bots/test/analyze-test-input/root/packages/foo/golden_ignore.dart @@ -6,6 +6,7 @@ // flutter_ignore_for_file: golden_tag (see analyze.dart) @Tags(['some-other-tag']) +library; import 'package:test/test.dart'; diff --git a/dev/bots/test/analyze-test-input/root/packages/foo/golden_missing_tag.dart b/dev/bots/test/analyze-test-input/root/packages/foo/golden_missing_tag.dart index 543562b6d127..a2a6f85a6214 100644 --- a/dev/bots/test/analyze-test-input/root/packages/foo/golden_missing_tag.dart +++ b/dev/bots/test/analyze-test-input/root/packages/foo/golden_missing_tag.dart @@ -4,6 +4,7 @@ // The reduced test set tag is missing. This should fail analysis. @Tags(['some-other-tag']) +library; import 'package:test/test.dart'; diff --git a/dev/bots/test/analyze_snippet_code_test.dart b/dev/bots/test/analyze_snippet_code_test.dart index d79a57bf62e8..965e7c6d1f9d 100644 --- a/dev/bots/test/analyze_snippet_code_test.dart +++ b/dev/bots/test/analyze_snippet_code_test.dart @@ -29,7 +29,7 @@ const List expectedMainErrors = [ 'dev/bots/test/analyze-snippet-code-test-input/known_broken_documentation.dart:161:7: (top-level declaration) (undefined_identifier)', 'dev/bots/test/analyze-snippet-code-test-input/known_broken_documentation.dart:165: Found "```" in code but it did not match RegExp: pattern=^ */// *```dart\$ flags= so something is wrong. Line was: "/// ```"', 'dev/bots/test/analyze-snippet-code-test-input/short_but_still_broken.dart:9:12: (statement) (invalid_assignment)', - 'dev/bots/test/analyze-snippet-code-test-input/short_but_still_broken.dart:17:4: Empty ```dart block in snippet code.', + 'dev/bots/test/analyze-snippet-code-test-input/short_but_still_broken.dart:18:4: Empty ```dart block in snippet code.', ]; const List expectedUiErrors = [ diff --git a/dev/bots/unpublish_package.dart b/dev/bots/unpublish_package.dart index 61ede5a93f60..fd8f60bd7f73 100644 --- a/dev/bots/unpublish_package.dart +++ b/dev/bots/unpublish_package.dart @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - /// This script removes published archives from the cloud storage and the /// corresponding JSON metadata file that the website uses to determine what /// releases are available. @@ -10,6 +9,7 @@ /// If asked to remove a release that is currently the release on that channel, /// it will replace that release with the next most recent release on that /// channel. +library; import 'dart:async'; import 'dart:convert'; diff --git a/dev/conductor/core/test/codesign_integration_test.dart b/dev/conductor/core/test/codesign_integration_test.dart index 777a40e1906d..e06506629920 100644 --- a/dev/conductor/core/test/codesign_integration_test.dart +++ b/dev/conductor/core/test/codesign_integration_test.dart @@ -5,6 +5,7 @@ // This test clones the framework and downloads pre-built binaries; it sometimes // times out with the default 5 minutes: https://github.com/flutter/flutter/issues/100937 @Timeout(Duration(minutes: 10)) +library; import 'package:args/command_runner.dart'; import 'package:conductor_core/src/codesign.dart' show CodesignCommand; diff --git a/dev/devicelab/bin/tasks/flutter_gallery__back_button_memory.dart b/dev/devicelab/bin/tasks/flutter_gallery__back_button_memory.dart index 2063b5f9f556..4e94b62d03d2 100644 --- a/dev/devicelab/bin/tasks/flutter_gallery__back_button_memory.dart +++ b/dev/devicelab/bin/tasks/flutter_gallery__back_button_memory.dart @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Measure application memory usage after pausing and resuming the app -/// with the Android back button. - import 'package:flutter_devicelab/framework/devices.dart'; import 'package:flutter_devicelab/framework/framework.dart'; import 'package:flutter_devicelab/framework/utils.dart'; @@ -13,6 +10,8 @@ import 'package:flutter_devicelab/tasks/perf_tests.dart'; const String packageName = 'io.flutter.demo.gallery'; const String activityName = 'io.flutter.demo.gallery.MainActivity'; +/// Measure application memory usage after pausing and resuming the app +/// with the Android back button. class BackButtonMemoryTest extends MemoryTest { BackButtonMemoryTest() : super('${flutterDirectory.path}/dev/integration_tests/flutter_gallery', 'test_memory/back_button.dart', packageName); diff --git a/dev/tools/localization/bin/gen_date_localizations.dart b/dev/tools/localization/bin/gen_date_localizations.dart index 3dd922bda517..7ce4811b7d44 100644 --- a/dev/tools/localization/bin/gen_date_localizations.dart +++ b/dev/tools/localization/bin/gen_date_localizations.dart @@ -2,6 +2,22 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +import 'dart:async'; +import 'dart:convert'; +import 'dart:io'; + +import 'package:path/path.dart' as path; + +import '../localizations_utils.dart'; + +const String _kCommandName = 'gen_date_localizations.dart'; + +// Used to let _jsonToMap know what locale it's date symbols converting for. +// Date symbols for the Kannada locale ('kn') are handled specially because +// some of the strings contain characters that can crash Emacs on Linux. +// See packages/flutter_localizations/lib/src/l10n/README for more information. +String? currentLocale; + /// This program extracts localized date symbols and patterns from the intl /// package for the subset of locales supported by the flutter_localizations /// package. @@ -25,23 +41,6 @@ /// ``` /// dart dev/tools/localization/bin/gen_date_localizations.dart --overwrite /// ``` - -import 'dart:async'; -import 'dart:convert'; -import 'dart:io'; - -import 'package:path/path.dart' as path; - -import '../localizations_utils.dart'; - -const String _kCommandName = 'gen_date_localizations.dart'; - -// Used to let _jsonToMap know what locale it's date symbols converting for. -// Date symbols for the Kannada locale ('kn') are handled specially because -// some of the strings contain characters that can crash Emacs on Linux. -// See packages/flutter_localizations/lib/src/l10n/README for more information. -String? currentLocale; - Future main(List rawArgs) async { checkCwdIsRepoRoot(_kCommandName); diff --git a/dev/tools/mega_gallery.dart b/dev/tools/mega_gallery.dart index c0d0d69ab9aa..f75315d97016 100644 --- a/dev/tools/mega_gallery.dart +++ b/dev/tools/mega_gallery.dart @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Make `n` copies of flutter_gallery. - import 'dart:io'; import 'package:args/args.dart'; @@ -12,6 +10,7 @@ import 'package:path/path.dart' as path; /// If no `copies` param is passed in, we scale the generated app up to 60k lines. const int kTargetLineCount = 60 * 1024; +/// Make `n` copies of flutter_gallery. void main(List args) { // If we're run from the `tools` dir, set the cwd to the repo root. if (path.basename(Directory.current.path) == 'tools') { diff --git a/examples/api/lib/animation/curves/curve2_d.0.dart b/examples/api/lib/animation/curves/curve2_d.0.dart index b4f3c1bba47c..74b93a66b96f 100644 --- a/examples/api/lib/animation/curves/curve2_d.0.dart +++ b/examples/api/lib/animation/curves/curve2_d.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Curve2D]. +// Flutter code sample for [Curve2D]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/cupertino/activity_indicator/cupertino_activity_indicator.0.dart b/examples/api/lib/cupertino/activity_indicator/cupertino_activity_indicator.0.dart index 22cfcf2e7550..11fa04598720 100644 --- a/examples/api/lib/cupertino/activity_indicator/cupertino_activity_indicator.0.dart +++ b/examples/api/lib/cupertino/activity_indicator/cupertino_activity_indicator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoActivityIndicator]. +// Flutter code sample for [CupertinoActivityIndicator]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/bottom_tab_bar/cupertino_tab_bar.0.dart b/examples/api/lib/cupertino/bottom_tab_bar/cupertino_tab_bar.0.dart index 0efdca3b5fa4..582bf255441c 100644 --- a/examples/api/lib/cupertino/bottom_tab_bar/cupertino_tab_bar.0.dart +++ b/examples/api/lib/cupertino/bottom_tab_bar/cupertino_tab_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoTabBar]. +// Flutter code sample for [CupertinoTabBar]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/button/cupertino_button.0.dart b/examples/api/lib/cupertino/button/cupertino_button.0.dart index 02dc8894b3ab..e8264b331449 100644 --- a/examples/api/lib/cupertino/button/cupertino_button.0.dart +++ b/examples/api/lib/cupertino/button/cupertino_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoButton]. +// Flutter code sample for [CupertinoButton]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/context_menu/cupertino_context_menu.0.dart b/examples/api/lib/cupertino/context_menu/cupertino_context_menu.0.dart index 2324397c9694..e989b91180c7 100644 --- a/examples/api/lib/cupertino/context_menu/cupertino_context_menu.0.dart +++ b/examples/api/lib/cupertino/context_menu/cupertino_context_menu.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoContextMenu]. +// Flutter code sample for [CupertinoContextMenu]. import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/cupertino/context_menu/cupertino_context_menu.1.dart b/examples/api/lib/cupertino/context_menu/cupertino_context_menu.1.dart index e89901ae3b54..dc75a71c0708 100644 --- a/examples/api/lib/cupertino/context_menu/cupertino_context_menu.1.dart +++ b/examples/api/lib/cupertino/context_menu/cupertino_context_menu.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoContextMenu]. +// Flutter code sample for [CupertinoContextMenu]. import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/cupertino/date_picker/cupertino_date_picker.0.dart b/examples/api/lib/cupertino/date_picker/cupertino_date_picker.0.dart index 026dbe0c5514..ec0fd154b6e6 100644 --- a/examples/api/lib/cupertino/date_picker/cupertino_date_picker.0.dart +++ b/examples/api/lib/cupertino/date_picker/cupertino_date_picker.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoDatePicker]. +// Flutter code sample for [CupertinoDatePicker]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/date_picker/cupertino_timer_picker.0.dart b/examples/api/lib/cupertino/date_picker/cupertino_timer_picker.0.dart index 511fb5f4eadb..e27dbaeb0c92 100644 --- a/examples/api/lib/cupertino/date_picker/cupertino_timer_picker.0.dart +++ b/examples/api/lib/cupertino/date_picker/cupertino_timer_picker.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoTimerPicker]. +// Flutter code sample for [CupertinoTimerPicker]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/dialog/cupertino_action_sheet.0.dart b/examples/api/lib/cupertino/dialog/cupertino_action_sheet.0.dart index 7116b991d296..aa382ef7cc3e 100644 --- a/examples/api/lib/cupertino/dialog/cupertino_action_sheet.0.dart +++ b/examples/api/lib/cupertino/dialog/cupertino_action_sheet.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoActionSheet]. +// Flutter code sample for [CupertinoActionSheet]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/dialog/cupertino_alert_dialog.0.dart b/examples/api/lib/cupertino/dialog/cupertino_alert_dialog.0.dart index 246a1f90e7a9..74a3d5842b06 100644 --- a/examples/api/lib/cupertino/dialog/cupertino_alert_dialog.0.dart +++ b/examples/api/lib/cupertino/dialog/cupertino_alert_dialog.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoAlertDialog]. +// Flutter code sample for [CupertinoAlertDialog]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/form_row/cupertino_form_row.0.dart b/examples/api/lib/cupertino/form_row/cupertino_form_row.0.dart index 7f4731de344d..79798f83df99 100644 --- a/examples/api/lib/cupertino/form_row/cupertino_form_row.0.dart +++ b/examples/api/lib/cupertino/form_row/cupertino_form_row.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoFormRow]. +// Flutter code sample for [CupertinoFormRow]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/list_section/list_section_base.0.dart b/examples/api/lib/cupertino/list_section/list_section_base.0.dart index 792b38763fdd..dcdc6a2913cd 100644 --- a/examples/api/lib/cupertino/list_section/list_section_base.0.dart +++ b/examples/api/lib/cupertino/list_section/list_section_base.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for base [CupertinoListSection] and [CupertinoListTile]. +// Flutter code sample for base [CupertinoListSection] and [CupertinoListTile]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/list_section/list_section_inset.0.dart b/examples/api/lib/cupertino/list_section/list_section_inset.0.dart index 1120fa5c34ec..3844514a727f 100644 --- a/examples/api/lib/cupertino/list_section/list_section_inset.0.dart +++ b/examples/api/lib/cupertino/list_section/list_section_inset.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for inset [CupertinoListSection] and [CupertinoListTile]. +// Flutter code sample for inset [CupertinoListSection] and [CupertinoListTile]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/nav_bar/cupertino_navigation_bar.0.dart b/examples/api/lib/cupertino/nav_bar/cupertino_navigation_bar.0.dart index c185859c82b0..4db7493826d9 100644 --- a/examples/api/lib/cupertino/nav_bar/cupertino_navigation_bar.0.dart +++ b/examples/api/lib/cupertino/nav_bar/cupertino_navigation_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoNavigationBar]. +// Flutter code sample for [CupertinoNavigationBar]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/nav_bar/cupertino_sliver_nav_bar.0.dart b/examples/api/lib/cupertino/nav_bar/cupertino_sliver_nav_bar.0.dart index 9fb484aa60ee..8f37cc7e7dae 100644 --- a/examples/api/lib/cupertino/nav_bar/cupertino_sliver_nav_bar.0.dart +++ b/examples/api/lib/cupertino/nav_bar/cupertino_sliver_nav_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSliverNavigationBar]. +// Flutter code sample for [CupertinoSliverNavigationBar]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/page_scaffold/cupertino_page_scaffold.0.dart b/examples/api/lib/cupertino/page_scaffold/cupertino_page_scaffold.0.dart index 2871248b155e..c7c4dcd8704b 100644 --- a/examples/api/lib/cupertino/page_scaffold/cupertino_page_scaffold.0.dart +++ b/examples/api/lib/cupertino/page_scaffold/cupertino_page_scaffold.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoPageScaffold]. +// Flutter code sample for [CupertinoPageScaffold]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/picker/cupertino_picker.0.dart b/examples/api/lib/cupertino/picker/cupertino_picker.0.dart index c97b707be648..ca626d29c844 100644 --- a/examples/api/lib/cupertino/picker/cupertino_picker.0.dart +++ b/examples/api/lib/cupertino/picker/cupertino_picker.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoPicker]. +// Flutter code sample for [CupertinoPicker]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/refresh/cupertino_sliver_refresh_control.0.dart b/examples/api/lib/cupertino/refresh/cupertino_sliver_refresh_control.0.dart index 76a18af232af..ac5da6acf380 100644 --- a/examples/api/lib/cupertino/refresh/cupertino_sliver_refresh_control.0.dart +++ b/examples/api/lib/cupertino/refresh/cupertino_sliver_refresh_control.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSliverRefreshControl]. +// Flutter code sample for [CupertinoSliverRefreshControl]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/route/show_cupertino_dialog.0.dart b/examples/api/lib/cupertino/route/show_cupertino_dialog.0.dart index 6acc189e429e..1f68bcd645dd 100644 --- a/examples/api/lib/cupertino/route/show_cupertino_dialog.0.dart +++ b/examples/api/lib/cupertino/route/show_cupertino_dialog.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showCupertinoDialog]. +// Flutter code sample for [showCupertinoDialog]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/route/show_cupertino_modal_popup.0.dart b/examples/api/lib/cupertino/route/show_cupertino_modal_popup.0.dart index 1132c98f1a66..3f263122df1e 100644 --- a/examples/api/lib/cupertino/route/show_cupertino_modal_popup.0.dart +++ b/examples/api/lib/cupertino/route/show_cupertino_modal_popup.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showCupertinoModalPopup]. +// Flutter code sample for [showCupertinoModalPopup]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.0.dart b/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.0.dart index 05721ca18a81..277a89f2fd9a 100644 --- a/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.0.dart +++ b/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoScrollbar]. +// Flutter code sample for [CupertinoScrollbar]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.1.dart b/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.1.dart index 58ccfed31e3c..efcfb1eeda5f 100644 --- a/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.1.dart +++ b/examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoScrollbar]. +// Flutter code sample for [CupertinoScrollbar]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/search_field/cupertino_search_field.0.dart b/examples/api/lib/cupertino/search_field/cupertino_search_field.0.dart index d688e3c588f2..c2b2bedbe81b 100644 --- a/examples/api/lib/cupertino/search_field/cupertino_search_field.0.dart +++ b/examples/api/lib/cupertino/search_field/cupertino_search_field.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSearchTextField]. +// Flutter code sample for [CupertinoSearchTextField]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart b/examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart index eb431eab70fd..84ae32986133 100644 --- a/examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart +++ b/examples/api/lib/cupertino/search_field/cupertino_search_field.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSearchTextField]. +// Flutter code sample for [CupertinoSearchTextField]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/segmented_control/cupertino_segmented_control.0.dart b/examples/api/lib/cupertino/segmented_control/cupertino_segmented_control.0.dart index 8841a1f0d57f..9eedc9ddda46 100644 --- a/examples/api/lib/cupertino/segmented_control/cupertino_segmented_control.0.dart +++ b/examples/api/lib/cupertino/segmented_control/cupertino_segmented_control.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSegmentedControl]. +// Flutter code sample for [CupertinoSegmentedControl]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/segmented_control/cupertino_sliding_segmented_control.0.dart b/examples/api/lib/cupertino/segmented_control/cupertino_sliding_segmented_control.0.dart index ea363cc1c41d..7b98ec3e0770 100644 --- a/examples/api/lib/cupertino/segmented_control/cupertino_sliding_segmented_control.0.dart +++ b/examples/api/lib/cupertino/segmented_control/cupertino_sliding_segmented_control.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSlidingSegmentedControl]. +// Flutter code sample for [CupertinoSlidingSegmentedControl]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/slider/cupertino_slider.0.dart b/examples/api/lib/cupertino/slider/cupertino_slider.0.dart index fd1dd1f08a1c..13468066a82e 100644 --- a/examples/api/lib/cupertino/slider/cupertino_slider.0.dart +++ b/examples/api/lib/cupertino/slider/cupertino_slider.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSlider]. +// Flutter code sample for [CupertinoSlider]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/switch/cupertino_switch.0.dart b/examples/api/lib/cupertino/switch/cupertino_switch.0.dart index 9028c2b090b3..8f5759f16af3 100644 --- a/examples/api/lib/cupertino/switch/cupertino_switch.0.dart +++ b/examples/api/lib/cupertino/switch/cupertino_switch.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoSwitch]. +// Flutter code sample for [CupertinoSwitch]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_controller.0.dart b/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_controller.0.dart index e375a50de5f0..fbc139e45509 100644 --- a/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_controller.0.dart +++ b/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_controller.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoTabController]. +// Flutter code sample for [CupertinoTabController]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_scaffold.0.dart b/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_scaffold.0.dart index b50e8127ea1d..14be6554f48b 100644 --- a/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_scaffold.0.dart +++ b/examples/api/lib/cupertino/tab_scaffold/cupertino_tab_scaffold.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoTabScaffold]. +// Flutter code sample for [CupertinoTabScaffold]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/text_field/cupertino_text_field.0.dart b/examples/api/lib/cupertino/text_field/cupertino_text_field.0.dart index dfa6772cf6e5..f33365a8e61c 100644 --- a/examples/api/lib/cupertino/text_field/cupertino_text_field.0.dart +++ b/examples/api/lib/cupertino/text_field/cupertino_text_field.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoTextField]. +// Flutter code sample for [CupertinoTextField]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/cupertino/text_form_field_row/cupertino_text_form_field_row.1.dart b/examples/api/lib/cupertino/text_form_field_row/cupertino_text_form_field_row.1.dart index 0e4445a1ca73..73a2b73567cc 100644 --- a/examples/api/lib/cupertino/text_form_field_row/cupertino_text_form_field_row.1.dart +++ b/examples/api/lib/cupertino/text_form_field_row/cupertino_text_form_field_row.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CupertinoTextFormFieldRow]. +// Flutter code sample for [CupertinoTextFormFieldRow]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/gestures/pointer_signal_resolver/pointer_signal_resolver.0.dart b/examples/api/lib/gestures/pointer_signal_resolver/pointer_signal_resolver.0.dart index a3f4ececff1c..d2f5a22733ec 100644 --- a/examples/api/lib/gestures/pointer_signal_resolver/pointer_signal_resolver.0.dart +++ b/examples/api/lib/gestures/pointer_signal_resolver/pointer_signal_resolver.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PointerSignalResolver]. +// Flutter code sample for [PointerSignalResolver]. import 'package:flutter/gestures.dart'; diff --git a/examples/api/lib/material/about/about_list_tile.0.dart b/examples/api/lib/material/about/about_list_tile.0.dart index 260fd06d4098..7b7e7e9e5cff 100644 --- a/examples/api/lib/material/about/about_list_tile.0.dart +++ b/examples/api/lib/material/about/about_list_tile.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AboutListTile]. +// Flutter code sample for [AboutListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/action_chip/action_chip.0.dart b/examples/api/lib/material/action_chip/action_chip.0.dart index f24115a2dd21..27eadcb84922 100644 --- a/examples/api/lib/material/action_chip/action_chip.0.dart +++ b/examples/api/lib/material/action_chip/action_chip.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample [ActionChip]. +// Flutter code sample [ActionChip]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/animated_icon/animated_icon.0.dart b/examples/api/lib/material/animated_icon/animated_icon.0.dart index aa772650fc47..9e0716252662 100644 --- a/examples/api/lib/material/animated_icon/animated_icon.0.dart +++ b/examples/api/lib/material/animated_icon/animated_icon.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedIcon]. +// Flutter code sample for [AnimatedIcon]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/animated_icon/animated_icons_data.0.dart b/examples/api/lib/material/animated_icon/animated_icons_data.0.dart index 5613f30920a3..6f068730d59c 100644 --- a/examples/api/lib/material/animated_icon/animated_icons_data.0.dart +++ b/examples/api/lib/material/animated_icon/animated_icons_data.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedIcon]. +// Flutter code sample for [AnimatedIcon]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/app_bar/app_bar.0.dart b/examples/api/lib/material/app_bar/app_bar.0.dart index f39259d7f7ec..e07989229758 100644 --- a/examples/api/lib/material/app_bar/app_bar.0.dart +++ b/examples/api/lib/material/app_bar/app_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AppBar]. +// Flutter code sample for [AppBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/app_bar/app_bar.1.dart b/examples/api/lib/material/app_bar/app_bar.1.dart index ff3d3a96ce3e..9ded23bf0f81 100644 --- a/examples/api/lib/material/app_bar/app_bar.1.dart +++ b/examples/api/lib/material/app_bar/app_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AppBar]. +// Flutter code sample for [AppBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/app_bar/app_bar.2.dart b/examples/api/lib/material/app_bar/app_bar.2.dart index fc6d437fcda3..23632b479292 100644 --- a/examples/api/lib/material/app_bar/app_bar.2.dart +++ b/examples/api/lib/material/app_bar/app_bar.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AppBar]. +// Flutter code sample for [AppBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/app_bar/app_bar.3.dart b/examples/api/lib/material/app_bar/app_bar.3.dart index f58d94d77346..e8624f1cc201 100644 --- a/examples/api/lib/material/app_bar/app_bar.3.dart +++ b/examples/api/lib/material/app_bar/app_bar.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AppBar]. +// Flutter code sample for [AppBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/app_bar/sliver_app_bar.1.dart b/examples/api/lib/material/app_bar/sliver_app_bar.1.dart index 0ce2273b9c16..1c8266efed2c 100644 --- a/examples/api/lib/material/app_bar/sliver_app_bar.1.dart +++ b/examples/api/lib/material/app_bar/sliver_app_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverAppBar]. +// Flutter code sample for [SliverAppBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/app_bar/sliver_app_bar.2.dart b/examples/api/lib/material/app_bar/sliver_app_bar.2.dart index 4491f8166e12..a5108d616aa2 100644 --- a/examples/api/lib/material/app_bar/sliver_app_bar.2.dart +++ b/examples/api/lib/material/app_bar/sliver_app_bar.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverAppBar.medium]. +// Flutter code sample for [SliverAppBar.medium]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/app_bar/sliver_app_bar.3.dart b/examples/api/lib/material/app_bar/sliver_app_bar.3.dart index e30ead81ba85..fec0a738aef7 100644 --- a/examples/api/lib/material/app_bar/sliver_app_bar.3.dart +++ b/examples/api/lib/material/app_bar/sliver_app_bar.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverAppBar.large]. +// Flutter code sample for [SliverAppBar.large]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/autocomplete/autocomplete.0.dart b/examples/api/lib/material/autocomplete/autocomplete.0.dart index 4a533744de30..3c17423dc2b3 100644 --- a/examples/api/lib/material/autocomplete/autocomplete.0.dart +++ b/examples/api/lib/material/autocomplete/autocomplete.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Autocomplete]. +// Flutter code sample for [Autocomplete]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/autocomplete/autocomplete.1.dart b/examples/api/lib/material/autocomplete/autocomplete.1.dart index 436301cfe08f..09700bf7d494 100644 --- a/examples/api/lib/material/autocomplete/autocomplete.1.dart +++ b/examples/api/lib/material/autocomplete/autocomplete.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Autocomplete]. +// Flutter code sample for [Autocomplete]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/banner/material_banner.0.dart b/examples/api/lib/material/banner/material_banner.0.dart index f4bbd7d1024a..5569c04cd7ea 100644 --- a/examples/api/lib/material/banner/material_banner.0.dart +++ b/examples/api/lib/material/banner/material_banner.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MaterialBanner]. +// Flutter code sample for [MaterialBanner]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/banner/material_banner.1.dart b/examples/api/lib/material/banner/material_banner.1.dart index 0f280e315935..1811a30a6896 100644 --- a/examples/api/lib/material/banner/material_banner.1.dart +++ b/examples/api/lib/material/banner/material_banner.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MaterialBanner]. +// Flutter code sample for [MaterialBanner]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/bottom_app_bar/bottom_app_bar.1.dart b/examples/api/lib/material/bottom_app_bar/bottom_app_bar.1.dart index 278e3e966214..2e629db54953 100644 --- a/examples/api/lib/material/bottom_app_bar/bottom_app_bar.1.dart +++ b/examples/api/lib/material/bottom_app_bar/bottom_app_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [BottomAppBar]. +// Flutter code sample for [BottomAppBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.0.dart b/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.0.dart index 8d883564297b..58e6d5e84dff 100644 --- a/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.0.dart +++ b/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [BottomNavigationBar]. +// Flutter code sample for [BottomNavigationBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.1.dart b/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.1.dart index 3e0aa4f8e62a..1eb7b0df5e65 100644 --- a/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.1.dart +++ b/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [BottomNavigationBar]. +// Flutter code sample for [BottomNavigationBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.2.dart b/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.2.dart index 43c952ea708f..53ac823feff8 100644 --- a/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.2.dart +++ b/examples/api/lib/material/bottom_navigation_bar/bottom_navigation_bar.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [BottomNavigationBar]. +// Flutter code sample for [BottomNavigationBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.0.dart b/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.0.dart index 503129ef3c59..9508152c7637 100644 --- a/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.0.dart +++ b/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showModalBottomSheet]. +// Flutter code sample for [showModalBottomSheet]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.1.dart b/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.1.dart index 21eda9e8af01..eb40ff768ed9 100644 --- a/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.1.dart +++ b/examples/api/lib/material/bottom_sheet/show_modal_bottom_sheet.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showModalBottomSheet]. +// Flutter code sample for [showModalBottomSheet]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/button_style/button_style.0.dart b/examples/api/lib/material/button_style/button_style.0.dart index 45f93d359833..4cf91113467f 100644 --- a/examples/api/lib/material/button_style/button_style.0.dart +++ b/examples/api/lib/material/button_style/button_style.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ElevatedButton]. +// Flutter code sample for [ElevatedButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/card/card.0.dart b/examples/api/lib/material/card/card.0.dart index d1b72fad5bc3..fcfaf6ef31ed 100644 --- a/examples/api/lib/material/card/card.0.dart +++ b/examples/api/lib/material/card/card.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Card]. +// Flutter code sample for [Card]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/card/card.1.dart b/examples/api/lib/material/card/card.1.dart index c22069ce133c..931ada357c13 100644 --- a/examples/api/lib/material/card/card.1.dart +++ b/examples/api/lib/material/card/card.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Card]. +// Flutter code sample for [Card]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/card/card.2.dart b/examples/api/lib/material/card/card.2.dart index 9737e6648a08..b123bc486ac5 100644 --- a/examples/api/lib/material/card/card.2.dart +++ b/examples/api/lib/material/card/card.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Card]. +// Flutter code sample for [Card]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/checkbox/checkbox.0.dart b/examples/api/lib/material/checkbox/checkbox.0.dart index d658e8147dcf..8597947130a4 100644 --- a/examples/api/lib/material/checkbox/checkbox.0.dart +++ b/examples/api/lib/material/checkbox/checkbox.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Checkbox]. +// Flutter code sample for [Checkbox]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.0.dart b/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.0.dart index 33b89664b295..fcb4244be09c 100644 --- a/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.0.dart +++ b/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CheckboxListTile]. +// Flutter code sample for [CheckboxListTile]. import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart' show timeDilation; diff --git a/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.1.dart b/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.1.dart index c071cf37908a..61620bf38abb 100644 --- a/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.1.dart +++ b/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CheckboxListTile]. +// Flutter code sample for [CheckboxListTile]. import 'package:flutter/gestures.dart'; diff --git a/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.2.dart b/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.2.dart index 09d95096546c..a7b0a17994a9 100644 --- a/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.2.dart +++ b/examples/api/lib/material/checkbox_list_tile/checkbox_list_tile.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CheckboxListTile]. +// Flutter code sample for [CheckboxListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/chip/deletable_chip_attributes.on_deleted.0.dart b/examples/api/lib/material/chip/deletable_chip_attributes.on_deleted.0.dart index f0552ddefa77..01b24a09ec16 100644 --- a/examples/api/lib/material/chip/deletable_chip_attributes.on_deleted.0.dart +++ b/examples/api/lib/material/chip/deletable_chip_attributes.on_deleted.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DeletableChipAttributes.onDeleted]. +// Flutter code sample for [DeletableChipAttributes.onDeleted]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/choice_chip/choice_chip.0.dart b/examples/api/lib/material/choice_chip/choice_chip.0.dart index 72f59b348ea6..a7b444217d64 100644 --- a/examples/api/lib/material/choice_chip/choice_chip.0.dart +++ b/examples/api/lib/material/choice_chip/choice_chip.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ActionChoice]. +// Flutter code sample for [ActionChoice]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/data_table/data_table.0.dart b/examples/api/lib/material/data_table/data_table.0.dart index 64ccae015e34..f9707cd0591d 100644 --- a/examples/api/lib/material/data_table/data_table.0.dart +++ b/examples/api/lib/material/data_table/data_table.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DataTable]. +// Flutter code sample for [DataTable]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/data_table/data_table.1.dart b/examples/api/lib/material/data_table/data_table.1.dart index 367cb3022b1f..219db6ec46c9 100644 --- a/examples/api/lib/material/data_table/data_table.1.dart +++ b/examples/api/lib/material/data_table/data_table.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DataTable]. +// Flutter code sample for [DataTable]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/date_picker/show_date_picker.0.dart b/examples/api/lib/material/date_picker/show_date_picker.0.dart index 17de0260ece8..2fdb4970e759 100644 --- a/examples/api/lib/material/date_picker/show_date_picker.0.dart +++ b/examples/api/lib/material/date_picker/show_date_picker.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showDatePicker]. +// Flutter code sample for [showDatePicker]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/date_picker/show_date_range_picker.0.dart b/examples/api/lib/material/date_picker/show_date_range_picker.0.dart index ecb7d98a430c..f7cfa9c0dbc9 100644 --- a/examples/api/lib/material/date_picker/show_date_range_picker.0.dart +++ b/examples/api/lib/material/date_picker/show_date_range_picker.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showDateRangePicker]. +// Flutter code sample for [showDateRangePicker]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dialog/alert_dialog.0.dart b/examples/api/lib/material/dialog/alert_dialog.0.dart index 627e23719cc2..98745b503b5b 100644 --- a/examples/api/lib/material/dialog/alert_dialog.0.dart +++ b/examples/api/lib/material/dialog/alert_dialog.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AlertDialog]. +// Flutter code sample for [AlertDialog]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dialog/alert_dialog.1.dart b/examples/api/lib/material/dialog/alert_dialog.1.dart index 22fd0a7e9063..aef1273cd83d 100644 --- a/examples/api/lib/material/dialog/alert_dialog.1.dart +++ b/examples/api/lib/material/dialog/alert_dialog.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AlertDialog]. +// Flutter code sample for [AlertDialog]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dialog/dialog.0.dart b/examples/api/lib/material/dialog/dialog.0.dart index be8dbd592097..aa20856def18 100644 --- a/examples/api/lib/material/dialog/dialog.0.dart +++ b/examples/api/lib/material/dialog/dialog.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Dialog]. +// Flutter code sample for [Dialog]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dialog/show_dialog.0.dart b/examples/api/lib/material/dialog/show_dialog.0.dart index 3a6f55375e4d..2ef272e59d63 100644 --- a/examples/api/lib/material/dialog/show_dialog.0.dart +++ b/examples/api/lib/material/dialog/show_dialog.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showDialog]. +// Flutter code sample for [showDialog]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dialog/show_dialog.1.dart b/examples/api/lib/material/dialog/show_dialog.1.dart index 3a5a856f1e41..50d17482157e 100644 --- a/examples/api/lib/material/dialog/show_dialog.1.dart +++ b/examples/api/lib/material/dialog/show_dialog.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showDialog]. +// Flutter code sample for [showDialog]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dialog/show_dialog.2.dart b/examples/api/lib/material/dialog/show_dialog.2.dart index d69c62412929..b68bdbb00b67 100644 --- a/examples/api/lib/material/dialog/show_dialog.2.dart +++ b/examples/api/lib/material/dialog/show_dialog.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showDialog]. +// Flutter code sample for [showDialog]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/divider/divider.0.dart b/examples/api/lib/material/divider/divider.0.dart index 973b4ce32328..7c87236dd46d 100644 --- a/examples/api/lib/material/divider/divider.0.dart +++ b/examples/api/lib/material/divider/divider.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Divider]. +// Flutter code sample for [Divider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/divider/divider.1.dart b/examples/api/lib/material/divider/divider.1.dart index 708e642152d6..97c7499520c6 100644 --- a/examples/api/lib/material/divider/divider.1.dart +++ b/examples/api/lib/material/divider/divider.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Divider]. +// Flutter code sample for [Divider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/divider/vertical_divider.0.dart b/examples/api/lib/material/divider/vertical_divider.0.dart index 2bb5ad1e78f0..512283f6116b 100644 --- a/examples/api/lib/material/divider/vertical_divider.0.dart +++ b/examples/api/lib/material/divider/vertical_divider.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [VerticalDivider]. +// Flutter code sample for [VerticalDivider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/divider/vertical_divider.1.dart b/examples/api/lib/material/divider/vertical_divider.1.dart index 47a7b548dd12..558f30be2b09 100644 --- a/examples/api/lib/material/divider/vertical_divider.1.dart +++ b/examples/api/lib/material/divider/vertical_divider.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Divider]. +// Flutter code sample for [Divider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dropdown/dropdown_button.0.dart b/examples/api/lib/material/dropdown/dropdown_button.0.dart index fc380befd6d7..fb8647fca012 100644 --- a/examples/api/lib/material/dropdown/dropdown_button.0.dart +++ b/examples/api/lib/material/dropdown/dropdown_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DropdownButton]. +// Flutter code sample for [DropdownButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dropdown/dropdown_button.selected_item_builder.0.dart b/examples/api/lib/material/dropdown/dropdown_button.selected_item_builder.0.dart index adbc1fc50b5d..ee453fee5a52 100644 --- a/examples/api/lib/material/dropdown/dropdown_button.selected_item_builder.0.dart +++ b/examples/api/lib/material/dropdown/dropdown_button.selected_item_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DropdownButton.selectedItemBuilder]. +// Flutter code sample for [DropdownButton.selectedItemBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dropdown/dropdown_button.style.0.dart b/examples/api/lib/material/dropdown/dropdown_button.style.0.dart index 72c79f96697a..f17f27256a63 100644 --- a/examples/api/lib/material/dropdown/dropdown_button.style.0.dart +++ b/examples/api/lib/material/dropdown/dropdown_button.style.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DropdownButton.style]. +// Flutter code sample for [DropdownButton.style]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/dropdown_menu/dropdown_menu.0.dart b/examples/api/lib/material/dropdown_menu/dropdown_menu.0.dart index 39e82f6c436d..44fcbe8de786 100644 --- a/examples/api/lib/material/dropdown_menu/dropdown_menu.0.dart +++ b/examples/api/lib/material/dropdown_menu/dropdown_menu.0.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DropdownMenu]s. The first dropdown menu has an outlined border -/// which is the default configuration, and the second one has a filled input decoration. +// Flutter code sample for [DropdownMenu]s. The first dropdown menu has an outlined border +// which is the default configuration, and the second one has a filled input decoration. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/elevated_button/elevated_button.0.dart b/examples/api/lib/material/elevated_button/elevated_button.0.dart index eaa0d4eb4ebe..e9dd0179edd1 100644 --- a/examples/api/lib/material/elevated_button/elevated_button.0.dart +++ b/examples/api/lib/material/elevated_button/elevated_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ElevatedButton]. +// Flutter code sample for [ElevatedButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/expansion_panel/expansion_panel_list.0.dart b/examples/api/lib/material/expansion_panel/expansion_panel_list.0.dart index b6e6379815b2..cefe7482e4bc 100644 --- a/examples/api/lib/material/expansion_panel/expansion_panel_list.0.dart +++ b/examples/api/lib/material/expansion_panel/expansion_panel_list.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ExpansionPanelList]. +// Flutter code sample for [ExpansionPanelList]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart b/examples/api/lib/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart index b86c2e8e1536..b8c25e057202 100644 --- a/examples/api/lib/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart +++ b/examples/api/lib/material/expansion_panel/expansion_panel_list.expansion_panel_list_radio.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ExpansionPanelList.ExpansionPanelList.radio]. +// Flutter code sample for [ExpansionPanelList.ExpansionPanelList.radio]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/expansion_tile/expansion_tile.0.dart b/examples/api/lib/material/expansion_tile/expansion_tile.0.dart index 688f77242862..711b9e354285 100644 --- a/examples/api/lib/material/expansion_tile/expansion_tile.0.dart +++ b/examples/api/lib/material/expansion_tile/expansion_tile.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ExpansionTile]. +// Flutter code sample for [ExpansionTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/filled_button/filled_button.0.dart b/examples/api/lib/material/filled_button/filled_button.0.dart index 2f72e0fbfc12..36e8e83be025 100644 --- a/examples/api/lib/material/filled_button/filled_button.0.dart +++ b/examples/api/lib/material/filled_button/filled_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FilledButton]. +// Flutter code sample for [FilledButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/filter_chip/filter_chip.0.dart b/examples/api/lib/material/filter_chip/filter_chip.0.dart index ed9f27567eeb..0c62193c6851 100644 --- a/examples/api/lib/material/filter_chip/filter_chip.0.dart +++ b/examples/api/lib/material/filter_chip/filter_chip.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FilterChip]. +// Flutter code sample for [FilterChip]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/flexible_space_bar/flexible_space_bar.0.dart b/examples/api/lib/material/flexible_space_bar/flexible_space_bar.0.dart index 86126652eacf..48cf73b0d75a 100644 --- a/examples/api/lib/material/flexible_space_bar/flexible_space_bar.0.dart +++ b/examples/api/lib/material/flexible_space_bar/flexible_space_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FlexibleSpaceBar]. +// Flutter code sample for [FlexibleSpaceBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/floating_action_button/floating_action_button.0.dart b/examples/api/lib/material/floating_action_button/floating_action_button.0.dart index b889ccd331bd..63a9aa69edda 100644 --- a/examples/api/lib/material/floating_action_button/floating_action_button.0.dart +++ b/examples/api/lib/material/floating_action_button/floating_action_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FloatingActionButton]. +// Flutter code sample for [FloatingActionButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/floating_action_button/floating_action_button.1.dart b/examples/api/lib/material/floating_action_button/floating_action_button.1.dart index 48c31428127e..79eaa0619405 100644 --- a/examples/api/lib/material/floating_action_button/floating_action_button.1.dart +++ b/examples/api/lib/material/floating_action_button/floating_action_button.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FloatingActionButton]. +// Flutter code sample for [FloatingActionButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/floating_action_button/floating_action_button.2.dart b/examples/api/lib/material/floating_action_button/floating_action_button.2.dart index b6a8f37e3eab..30e6f7564488 100644 --- a/examples/api/lib/material/floating_action_button/floating_action_button.2.dart +++ b/examples/api/lib/material/floating_action_button/floating_action_button.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FloatingActionButton]. +// Flutter code sample for [FloatingActionButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/floating_action_button/floating_action_button.3.dart b/examples/api/lib/material/floating_action_button/floating_action_button.3.dart index a0f800b3b223..5d88caf18c46 100644 --- a/examples/api/lib/material/floating_action_button/floating_action_button.3.dart +++ b/examples/api/lib/material/floating_action_button/floating_action_button.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FloatingActionButton]. +// Flutter code sample for [FloatingActionButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/floating_action_button_location/standard_fab_location.0.dart b/examples/api/lib/material/floating_action_button_location/standard_fab_location.0.dart index 3d56a38456d2..2cb8105090a1 100644 --- a/examples/api/lib/material/floating_action_button_location/standard_fab_location.0.dart +++ b/examples/api/lib/material/floating_action_button_location/standard_fab_location.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [StandardFabLocation]. +// Flutter code sample for [StandardFabLocation]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/icon_button/icon_button.0.dart b/examples/api/lib/material/icon_button/icon_button.0.dart index 08a7c70d0574..5a03a4432f98 100644 --- a/examples/api/lib/material/icon_button/icon_button.0.dart +++ b/examples/api/lib/material/icon_button/icon_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [IconButton]. +// Flutter code sample for [IconButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/icon_button/icon_button.1.dart b/examples/api/lib/material/icon_button/icon_button.1.dart index aa12f4ad9811..6b8ec045f58f 100644 --- a/examples/api/lib/material/icon_button/icon_button.1.dart +++ b/examples/api/lib/material/icon_button/icon_button.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [IconButton]. +// Flutter code sample for [IconButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/icon_button/icon_button.2.dart b/examples/api/lib/material/icon_button/icon_button.2.dart index c00d29138945..e3a516d4f364 100644 --- a/examples/api/lib/material/icon_button/icon_button.2.dart +++ b/examples/api/lib/material/icon_button/icon_button.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [IconButton]. +// Flutter code sample for [IconButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/icon_button/icon_button.3.dart b/examples/api/lib/material/icon_button/icon_button.3.dart index e7428e2743db..5b250f01eefa 100644 --- a/examples/api/lib/material/icon_button/icon_button.3.dart +++ b/examples/api/lib/material/icon_button/icon_button.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [IconButton] with toggle feature. +// Flutter code sample for [IconButton] with toggle feature. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/ink/ink.image_clip.0.dart b/examples/api/lib/material/ink/ink.image_clip.0.dart index 80e3e6979dc6..5a39b61c9557 100644 --- a/examples/api/lib/material/ink/ink.image_clip.0.dart +++ b/examples/api/lib/material/ink/ink.image_clip.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Image.frameBuilder]. +// Flutter code sample for [Image.frameBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/ink/ink.image_clip.1.dart b/examples/api/lib/material/ink/ink.image_clip.1.dart index bc8757541f4f..334d63115c92 100644 --- a/examples/api/lib/material/ink/ink.image_clip.1.dart +++ b/examples/api/lib/material/ink/ink.image_clip.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Image.frameBuilder]. +// Flutter code sample for [Image.frameBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/ink_well/ink_well.0.dart b/examples/api/lib/material/ink_well/ink_well.0.dart index 238c8c2304a6..36712b223e30 100644 --- a/examples/api/lib/material/ink_well/ink_well.0.dart +++ b/examples/api/lib/material/ink_well/ink_well.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InkWell]. +// Flutter code sample for [InkWell]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.0.dart b/examples/api/lib/material/input_decorator/input_decoration.0.dart index 98e9befb8242..e6c4b6709197 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration]. +// Flutter code sample for [InputDecoration]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.1.dart b/examples/api/lib/material/input_decorator/input_decoration.1.dart index ff209876e149..cb0412ac71df 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.1.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration]. +// Flutter code sample for [InputDecoration]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.2.dart b/examples/api/lib/material/input_decorator/input_decoration.2.dart index e2b05b1cafe3..331493ba5a2c 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.2.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration]. +// Flutter code sample for [InputDecoration]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.3.dart b/examples/api/lib/material/input_decorator/input_decoration.3.dart index 3c3b9718db5b..ad67a95ca76e 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.3.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration]. +// Flutter code sample for [InputDecoration]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.floating_label_style_error.0.dart b/examples/api/lib/material/input_decorator/input_decoration.floating_label_style_error.0.dart index a620114dc997..98e5c90417d0 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.floating_label_style_error.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.floating_label_style_error.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecorator]. +// Flutter code sample for [InputDecorator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.label.0.dart b/examples/api/lib/material/input_decorator/input_decoration.label.0.dart index 5f9b39fd9224..9852129485d9 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.label.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.label.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration.label]. +// Flutter code sample for [InputDecoration.label]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.label_style_error.0.dart b/examples/api/lib/material/input_decorator/input_decoration.label_style_error.0.dart index 4724436c131d..5655ecea9ab6 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.label_style_error.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.label_style_error.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecorator]. +// Flutter code sample for [InputDecorator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.material_state.0.dart b/examples/api/lib/material/input_decorator/input_decoration.material_state.0.dart index 7fcf5a561d8b..1d621c0325cb 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.material_state.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.material_state.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration]. +// Flutter code sample for [InputDecoration]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.material_state.1.dart b/examples/api/lib/material/input_decorator/input_decoration.material_state.1.dart index 9c23b03d5160..6de820764410 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.material_state.1.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.material_state.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration]. +// Flutter code sample for [InputDecoration]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.prefix_icon.0.dart b/examples/api/lib/material/input_decorator/input_decoration.prefix_icon.0.dart index 681be1ea299e..42cc45ff7768 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.prefix_icon.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.prefix_icon.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecorator]. +// Flutter code sample for [InputDecorator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.prefix_icon_constraints.0.dart b/examples/api/lib/material/input_decorator/input_decoration.prefix_icon_constraints.0.dart index b6355d34ee1e..a89612ee6d8f 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.prefix_icon_constraints.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.prefix_icon_constraints.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration.prefixIconConstraints]. +// Flutter code sample for [InputDecoration.prefixIconConstraints]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.suffix_icon.0.dart b/examples/api/lib/material/input_decorator/input_decoration.suffix_icon.0.dart index 8ad45d52dbd3..83e1acc8556f 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.suffix_icon.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.suffix_icon.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecorator]. +// Flutter code sample for [InputDecorator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/input_decorator/input_decoration.suffix_icon_constraints.0.dart b/examples/api/lib/material/input_decorator/input_decoration.suffix_icon_constraints.0.dart index 77af958aed4a..885c69487b63 100644 --- a/examples/api/lib/material/input_decorator/input_decoration.suffix_icon_constraints.0.dart +++ b/examples/api/lib/material/input_decorator/input_decoration.suffix_icon_constraints.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InputDecoration.suffixIconConstraints]. +// Flutter code sample for [InputDecoration.suffixIconConstraints]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/list_tile/list_tile.0.dart b/examples/api/lib/material/list_tile/list_tile.0.dart index 25b2226292d7..3a384a3b7623 100644 --- a/examples/api/lib/material/list_tile/list_tile.0.dart +++ b/examples/api/lib/material/list_tile/list_tile.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ListTile]. +// Flutter code sample for [ListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/list_tile/list_tile.1.dart b/examples/api/lib/material/list_tile/list_tile.1.dart index ec482eabeda6..26cc83c7b1c7 100644 --- a/examples/api/lib/material/list_tile/list_tile.1.dart +++ b/examples/api/lib/material/list_tile/list_tile.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ListTile]. +// Flutter code sample for [ListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/list_tile/list_tile.4.dart b/examples/api/lib/material/list_tile/list_tile.4.dart index 403a880b5a35..4d748fa10813 100644 --- a/examples/api/lib/material/list_tile/list_tile.4.dart +++ b/examples/api/lib/material/list_tile/list_tile.4.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ListTile]. +// Flutter code sample for [ListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/list_tile/list_tile.5.dart b/examples/api/lib/material/list_tile/list_tile.5.dart index 60532019f0ee..3a6ab7615bc6 100644 --- a/examples/api/lib/material/list_tile/list_tile.5.dart +++ b/examples/api/lib/material/list_tile/list_tile.5.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ListTile]. +// Flutter code sample for [ListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/list_tile/list_tile.selected.0.dart b/examples/api/lib/material/list_tile/list_tile.selected.0.dart index de74ef0b2da4..59295707e3ee 100644 --- a/examples/api/lib/material/list_tile/list_tile.selected.0.dart +++ b/examples/api/lib/material/list_tile/list_tile.selected.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ListTile.selected]. +// Flutter code sample for [ListTile.selected]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/material_state/material_state_border_side.0.dart b/examples/api/lib/material/material_state/material_state_border_side.0.dart index 9fb0f38bc012..4cb49e25f261 100644 --- a/examples/api/lib/material/material_state/material_state_border_side.0.dart +++ b/examples/api/lib/material/material_state/material_state_border_side.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MaterialStateBorderSide]. +// Flutter code sample for [MaterialStateBorderSide]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart b/examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart index c4b5c62bff05..fc4af22a4b64 100644 --- a/examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart +++ b/examples/api/lib/material/material_state/material_state_mouse_cursor.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MaterialStateMouseCursor]. +// Flutter code sample for [MaterialStateMouseCursor]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/material_state/material_state_outlined_border.0.dart b/examples/api/lib/material/material_state/material_state_outlined_border.0.dart index eb92cd750536..337534bd3dba 100644 --- a/examples/api/lib/material/material_state/material_state_outlined_border.0.dart +++ b/examples/api/lib/material/material_state/material_state_outlined_border.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MaterialStateOutlinedBorder]. +// Flutter code sample for [MaterialStateOutlinedBorder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/material_state/material_state_property.0.dart b/examples/api/lib/material/material_state/material_state_property.0.dart index da746d0b60f3..a55baeccaf3a 100644 --- a/examples/api/lib/material/material_state/material_state_property.0.dart +++ b/examples/api/lib/material/material_state/material_state_property.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MaterialStateProperty]. +// Flutter code sample for [MaterialStateProperty]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/menu_anchor/checkbox_menu_button.0.dart b/examples/api/lib/material/menu_anchor/checkbox_menu_button.0.dart index 1b51066b16b6..fc89517abf89 100644 --- a/examples/api/lib/material/menu_anchor/checkbox_menu_button.0.dart +++ b/examples/api/lib/material/menu_anchor/checkbox_menu_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CheckboxMenuButton]. +// Flutter code sample for [CheckboxMenuButton]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/menu_anchor/menu_accelerator_label.0.dart b/examples/api/lib/material/menu_anchor/menu_accelerator_label.0.dart index 096e600bbb7a..9bcb1e7dbe5c 100644 --- a/examples/api/lib/material/menu_anchor/menu_accelerator_label.0.dart +++ b/examples/api/lib/material/menu_anchor/menu_accelerator_label.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MenuAcceleratorLabel]. +// Flutter code sample for [MenuAcceleratorLabel]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/menu_anchor/menu_anchor.0.dart b/examples/api/lib/material/menu_anchor/menu_anchor.0.dart index b613e14b0bf4..f6afb4ef4e08 100644 --- a/examples/api/lib/material/menu_anchor/menu_anchor.0.dart +++ b/examples/api/lib/material/menu_anchor/menu_anchor.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MenuAnchor]. +// Flutter code sample for [MenuAnchor]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/menu_anchor/menu_anchor.1.dart b/examples/api/lib/material/menu_anchor/menu_anchor.1.dart index da12e0b72a58..924e38bd95e1 100644 --- a/examples/api/lib/material/menu_anchor/menu_anchor.1.dart +++ b/examples/api/lib/material/menu_anchor/menu_anchor.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MenuAnchor]. +// Flutter code sample for [MenuAnchor]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/menu_anchor/menu_bar.0.dart b/examples/api/lib/material/menu_anchor/menu_bar.0.dart index f7677568ef75..da1436811a9b 100644 --- a/examples/api/lib/material/menu_anchor/menu_bar.0.dart +++ b/examples/api/lib/material/menu_anchor/menu_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MenuBar]. +// Flutter code sample for [MenuBar]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/menu_anchor/radio_menu_button.0.dart b/examples/api/lib/material/menu_anchor/radio_menu_button.0.dart index 4fe54e6c9ed5..6e36147d4f88 100644 --- a/examples/api/lib/material/menu_anchor/radio_menu_button.0.dart +++ b/examples/api/lib/material/menu_anchor/radio_menu_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RadioMenuButton]. +// Flutter code sample for [RadioMenuButton]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/navigation_bar/navigation_bar.0.dart b/examples/api/lib/material/navigation_bar/navigation_bar.0.dart index 41cca1b27597..422a08e1cf5b 100644 --- a/examples/api/lib/material/navigation_bar/navigation_bar.0.dart +++ b/examples/api/lib/material/navigation_bar/navigation_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigationBar]. +// Flutter code sample for [NavigationBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/navigation_bar/navigation_bar.1.dart b/examples/api/lib/material/navigation_bar/navigation_bar.1.dart index 06191a794282..acd300535335 100644 --- a/examples/api/lib/material/navigation_bar/navigation_bar.1.dart +++ b/examples/api/lib/material/navigation_bar/navigation_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigationBar]. +// Flutter code sample for [NavigationBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/navigation_bar/navigation_bar.2.dart b/examples/api/lib/material/navigation_bar/navigation_bar.2.dart index 42d21aa50ee1..e430eb410c05 100644 --- a/examples/api/lib/material/navigation_bar/navigation_bar.2.dart +++ b/examples/api/lib/material/navigation_bar/navigation_bar.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigationBar] with nested [Navigator] destinations. +// Flutter code sample for [NavigationBar] with nested [Navigator] destinations. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/navigation_rail/navigation_rail.0.dart b/examples/api/lib/material/navigation_rail/navigation_rail.0.dart index cbc8b1364138..e43c68f41993 100644 --- a/examples/api/lib/material/navigation_rail/navigation_rail.0.dart +++ b/examples/api/lib/material/navigation_rail/navigation_rail.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigationRail]. +// Flutter code sample for [NavigationRail]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/navigation_rail/navigation_rail.1.dart b/examples/api/lib/material/navigation_rail/navigation_rail.1.dart index 6c09adbe1401..838e0725e6c1 100644 --- a/examples/api/lib/material/navigation_rail/navigation_rail.1.dart +++ b/examples/api/lib/material/navigation_rail/navigation_rail.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigationRail]. +// Flutter code sample for [NavigationRail]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/navigation_rail/navigation_rail.extended_animation.0.dart b/examples/api/lib/material/navigation_rail/navigation_rail.extended_animation.0.dart index c7d34a65d3dd..36f575ed5f77 100644 --- a/examples/api/lib/material/navigation_rail/navigation_rail.extended_animation.0.dart +++ b/examples/api/lib/material/navigation_rail/navigation_rail.extended_animation.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigationRail.extendedAnimation]. +// Flutter code sample for [NavigationRail.extendedAnimation]. import 'dart:ui'; diff --git a/examples/api/lib/material/outlined_button/outlined_button.0.dart b/examples/api/lib/material/outlined_button/outlined_button.0.dart index f3689ccbf5b6..e9109bfa503d 100644 --- a/examples/api/lib/material/outlined_button/outlined_button.0.dart +++ b/examples/api/lib/material/outlined_button/outlined_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [OutlinedButton]. +// Flutter code sample for [OutlinedButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/platform_menu_bar/platform_menu_bar.0.dart b/examples/api/lib/material/platform_menu_bar/platform_menu_bar.0.dart index b12082525a76..5bfa01ed5b40 100644 --- a/examples/api/lib/material/platform_menu_bar/platform_menu_bar.0.dart +++ b/examples/api/lib/material/platform_menu_bar/platform_menu_bar.0.dart @@ -2,11 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PlatformMenuBar]. +// Flutter code sample for [PlatformMenuBar]. -//////////////////////////////////// // THIS SAMPLE ONLY WORKS ON MACOS. -//////////////////////////////////// import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/popup_menu/popup_menu.0.dart b/examples/api/lib/material/popup_menu/popup_menu.0.dart index f2e49370ffbf..1ceee33894e7 100644 --- a/examples/api/lib/material/popup_menu/popup_menu.0.dart +++ b/examples/api/lib/material/popup_menu/popup_menu.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PopupMenuButton]. +// Flutter code sample for [PopupMenuButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/popup_menu/popup_menu.1.dart b/examples/api/lib/material/popup_menu/popup_menu.1.dart index 80cb83a77880..2c0063d3676c 100644 --- a/examples/api/lib/material/popup_menu/popup_menu.1.dart +++ b/examples/api/lib/material/popup_menu/popup_menu.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PopupMenuButton]. +// Flutter code sample for [PopupMenuButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/progress_indicator/circular_progress_indicator.0.dart b/examples/api/lib/material/progress_indicator/circular_progress_indicator.0.dart index 70b5aa270cc1..c701c8c8cde0 100644 --- a/examples/api/lib/material/progress_indicator/circular_progress_indicator.0.dart +++ b/examples/api/lib/material/progress_indicator/circular_progress_indicator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CircularProgressIndicator]. +// Flutter code sample for [CircularProgressIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/progress_indicator/circular_progress_indicator.1.dart b/examples/api/lib/material/progress_indicator/circular_progress_indicator.1.dart index 36ca9b121be9..eba53f6c7737 100644 --- a/examples/api/lib/material/progress_indicator/circular_progress_indicator.1.dart +++ b/examples/api/lib/material/progress_indicator/circular_progress_indicator.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CircularProgressIndicator]. +// Flutter code sample for [CircularProgressIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/progress_indicator/linear_progress_indicator.0.dart b/examples/api/lib/material/progress_indicator/linear_progress_indicator.0.dart index d06179a8df4d..81d5271210fc 100644 --- a/examples/api/lib/material/progress_indicator/linear_progress_indicator.0.dart +++ b/examples/api/lib/material/progress_indicator/linear_progress_indicator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [LinearProgressIndicator]. +// Flutter code sample for [LinearProgressIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/progress_indicator/linear_progress_indicator.1.dart b/examples/api/lib/material/progress_indicator/linear_progress_indicator.1.dart index 0518bd32a294..4fff2efb3729 100644 --- a/examples/api/lib/material/progress_indicator/linear_progress_indicator.1.dart +++ b/examples/api/lib/material/progress_indicator/linear_progress_indicator.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [LinearProgressIndicator]. +// Flutter code sample for [LinearProgressIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/radio/radio.0.dart b/examples/api/lib/material/radio/radio.0.dart index f1b72c91fe19..f0374c5dbadd 100644 --- a/examples/api/lib/material/radio/radio.0.dart +++ b/examples/api/lib/material/radio/radio.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Radio]. +// Flutter code sample for [Radio]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/radio/radio.toggleable.0.dart b/examples/api/lib/material/radio/radio.toggleable.0.dart index 2fa293ff73d8..3ae99d19172b 100644 --- a/examples/api/lib/material/radio/radio.toggleable.0.dart +++ b/examples/api/lib/material/radio/radio.toggleable.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Radio.toggleable]. +// Flutter code sample for [Radio.toggleable]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/radio_list_tile/radio_list_tile.0.dart b/examples/api/lib/material/radio_list_tile/radio_list_tile.0.dart index 8ed74b873223..8924fe7223d5 100644 --- a/examples/api/lib/material/radio_list_tile/radio_list_tile.0.dart +++ b/examples/api/lib/material/radio_list_tile/radio_list_tile.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RadioListTile]. +// Flutter code sample for [RadioListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/radio_list_tile/radio_list_tile.1.dart b/examples/api/lib/material/radio_list_tile/radio_list_tile.1.dart index 2129bed8fe57..4620b47cd2b5 100644 --- a/examples/api/lib/material/radio_list_tile/radio_list_tile.1.dart +++ b/examples/api/lib/material/radio_list_tile/radio_list_tile.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RadioListTile]. +// Flutter code sample for [RadioListTile]. import 'package:flutter/gestures.dart'; diff --git a/examples/api/lib/material/radio_list_tile/radio_list_tile.2.dart b/examples/api/lib/material/radio_list_tile/radio_list_tile.2.dart index fc4d2db43a36..ddd85dd1b83d 100644 --- a/examples/api/lib/material/radio_list_tile/radio_list_tile.2.dart +++ b/examples/api/lib/material/radio_list_tile/radio_list_tile.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RadioListTile]. +// Flutter code sample for [RadioListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/radio_list_tile/radio_list_tile.toggleable.0.dart b/examples/api/lib/material/radio_list_tile/radio_list_tile.toggleable.0.dart index d975560f0237..f025260e548f 100644 --- a/examples/api/lib/material/radio_list_tile/radio_list_tile.toggleable.0.dart +++ b/examples/api/lib/material/radio_list_tile/radio_list_tile.toggleable.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RadioListTile.toggleable]. +// Flutter code sample for [RadioListTile.toggleable]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/range_slider/range_slider.0.dart b/examples/api/lib/material/range_slider/range_slider.0.dart index 0a7f29455180..3d7ecc9b2781 100644 --- a/examples/api/lib/material/range_slider/range_slider.0.dart +++ b/examples/api/lib/material/range_slider/range_slider.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RangeSlider]. +// Flutter code sample for [RangeSlider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/refresh_indicator/refresh_indicator.0.dart b/examples/api/lib/material/refresh_indicator/refresh_indicator.0.dart index 516fdddd7891..9ff9f1f94987 100644 --- a/examples/api/lib/material/refresh_indicator/refresh_indicator.0.dart +++ b/examples/api/lib/material/refresh_indicator/refresh_indicator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RefreshIndicator]. +// Flutter code sample for [RefreshIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/refresh_indicator/refresh_indicator.1.dart b/examples/api/lib/material/refresh_indicator/refresh_indicator.1.dart index 693fa400e05c..6f0172210f8c 100644 --- a/examples/api/lib/material/refresh_indicator/refresh_indicator.1.dart +++ b/examples/api/lib/material/refresh_indicator/refresh_indicator.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RefreshIndicator]. +// Flutter code sample for [RefreshIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/reorderable_list/reorderable_list_view.0.dart b/examples/api/lib/material/reorderable_list/reorderable_list_view.0.dart index f0f131c97a7b..60b0a9caff72 100644 --- a/examples/api/lib/material/reorderable_list/reorderable_list_view.0.dart +++ b/examples/api/lib/material/reorderable_list/reorderable_list_view.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ReorderableListView]. +// Flutter code sample for [ReorderableListView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart b/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart index c09b83d059b7..3ad16a75af2f 100644 --- a/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart +++ b/examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ReorderableListView]. +// Flutter code sample for [ReorderableListView]. import 'dart:ui'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart b/examples/api/lib/material/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart index 77db7674f038..1701325f5006 100644 --- a/examples/api/lib/material/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart +++ b/examples/api/lib/material/reorderable_list/reorderable_list_view.build_default_drag_handles.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ReorderableListView.buildDefaultDragHandles]. +// Flutter code sample for [ReorderableListView.buildDefaultDragHandles]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart b/examples/api/lib/material/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart index 0f826f89029c..3df8bc128ea0 100644 --- a/examples/api/lib/material/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart +++ b/examples/api/lib/material/reorderable_list/reorderable_list_view.reorderable_list_view_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ReorderableListView.ReorderableListView.builder]. +// Flutter code sample for [ReorderableListView.ReorderableListView.builder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold.0.dart b/examples/api/lib/material/scaffold/scaffold.0.dart index d75ec1f4b775..edc73ec39d8a 100644 --- a/examples/api/lib/material/scaffold/scaffold.0.dart +++ b/examples/api/lib/material/scaffold/scaffold.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scaffold]. +// Flutter code sample for [Scaffold]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold.1.dart b/examples/api/lib/material/scaffold/scaffold.1.dart index 2c8b0a3ddf78..74cb69509f77 100644 --- a/examples/api/lib/material/scaffold/scaffold.1.dart +++ b/examples/api/lib/material/scaffold/scaffold.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scaffold]. +// Flutter code sample for [Scaffold]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold.2.dart b/examples/api/lib/material/scaffold/scaffold.2.dart index 3bca41a36217..98caab4513da 100644 --- a/examples/api/lib/material/scaffold/scaffold.2.dart +++ b/examples/api/lib/material/scaffold/scaffold.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scaffold]. +// Flutter code sample for [Scaffold]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold.drawer.0.dart b/examples/api/lib/material/scaffold/scaffold.drawer.0.dart index 533ff6c223ce..38e48f87334d 100644 --- a/examples/api/lib/material/scaffold/scaffold.drawer.0.dart +++ b/examples/api/lib/material/scaffold/scaffold.drawer.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scaffold.drawer]. +// Flutter code sample for [Scaffold.drawer]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold.end_drawer.0.dart b/examples/api/lib/material/scaffold/scaffold.end_drawer.0.dart index 0794b7d23540..76862e016c8e 100644 --- a/examples/api/lib/material/scaffold/scaffold.end_drawer.0.dart +++ b/examples/api/lib/material/scaffold/scaffold.end_drawer.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scaffold.endDrawer]. +// Flutter code sample for [Scaffold.endDrawer]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold.of.0.dart b/examples/api/lib/material/scaffold/scaffold.of.0.dart index c791dbddc7b0..6b7ed6604c4e 100644 --- a/examples/api/lib/material/scaffold/scaffold.of.0.dart +++ b/examples/api/lib/material/scaffold/scaffold.of.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scaffold.of]. +// Flutter code sample for [Scaffold.of]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold.of.1.dart b/examples/api/lib/material/scaffold/scaffold.of.1.dart index 07199e9a3105..7dee0f8c83e9 100644 --- a/examples/api/lib/material/scaffold/scaffold.of.1.dart +++ b/examples/api/lib/material/scaffold/scaffold.of.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scaffold.of]. +// Flutter code sample for [Scaffold.of]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_messenger.0.dart b/examples/api/lib/material/scaffold/scaffold_messenger.0.dart index 058aad1b58d6..bf52cc68b32c 100644 --- a/examples/api/lib/material/scaffold/scaffold_messenger.0.dart +++ b/examples/api/lib/material/scaffold/scaffold_messenger.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaffoldMessenger]. +// Flutter code sample for [ScaffoldMessenger]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_messenger.of.0.dart b/examples/api/lib/material/scaffold/scaffold_messenger.of.0.dart index f2902b648e9b..51644425e8fc 100644 --- a/examples/api/lib/material/scaffold/scaffold_messenger.of.0.dart +++ b/examples/api/lib/material/scaffold/scaffold_messenger.of.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaffoldMessenger.of]. +// Flutter code sample for [ScaffoldMessenger.of]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_messenger.of.1.dart b/examples/api/lib/material/scaffold/scaffold_messenger.of.1.dart index 0b239022bfb2..bcd59be48ed5 100644 --- a/examples/api/lib/material/scaffold/scaffold_messenger.of.1.dart +++ b/examples/api/lib/material/scaffold/scaffold_messenger.of.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaffoldMessenger.of]. +// Flutter code sample for [ScaffoldMessenger.of]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_messenger_state.show_material_banner.0.dart b/examples/api/lib/material/scaffold/scaffold_messenger_state.show_material_banner.0.dart index 0e61f010a0fb..dd801d4116f0 100644 --- a/examples/api/lib/material/scaffold/scaffold_messenger_state.show_material_banner.0.dart +++ b/examples/api/lib/material/scaffold/scaffold_messenger_state.show_material_banner.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaffoldMessengerState.showMaterialBanner]. +// Flutter code sample for [ScaffoldMessengerState.showMaterialBanner]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.0.dart b/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.0.dart index 808a89c63561..b522c4bf1e3d 100644 --- a/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.0.dart +++ b/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaffoldMessengerState.showSnackBar]. +// Flutter code sample for [ScaffoldMessengerState.showSnackBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.1.dart b/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.1.dart index 29970120ab56..e242a68b5567 100644 --- a/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.1.dart +++ b/examples/api/lib/material/scaffold/scaffold_messenger_state.show_snack_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SnackBar]. +// Flutter code sample for [SnackBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_state.show_bottom_sheet.0.dart b/examples/api/lib/material/scaffold/scaffold_state.show_bottom_sheet.0.dart index fdb48f8918bc..f77f60973b50 100644 --- a/examples/api/lib/material/scaffold/scaffold_state.show_bottom_sheet.0.dart +++ b/examples/api/lib/material/scaffold/scaffold_state.show_bottom_sheet.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaffoldState.showBottomSheet]. +// Flutter code sample for [ScaffoldState.showBottomSheet]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scaffold/scaffold_state.show_snack_bar.0.dart b/examples/api/lib/material/scaffold/scaffold_state.show_snack_bar.0.dart index 1f2cf1dab631..d3cc78da1105 100644 --- a/examples/api/lib/material/scaffold/scaffold_state.show_snack_bar.0.dart +++ b/examples/api/lib/material/scaffold/scaffold_state.show_snack_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaffoldState.showSnackBar]. +// Flutter code sample for [ScaffoldState.showSnackBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scrollbar/scrollbar.0.dart b/examples/api/lib/material/scrollbar/scrollbar.0.dart index 5f0c92db5ba5..0ba5d0ecd6af 100644 --- a/examples/api/lib/material/scrollbar/scrollbar.0.dart +++ b/examples/api/lib/material/scrollbar/scrollbar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scrollbar]. +// Flutter code sample for [Scrollbar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/scrollbar/scrollbar.1.dart b/examples/api/lib/material/scrollbar/scrollbar.1.dart index aea9bebce3b7..2b703625547c 100644 --- a/examples/api/lib/material/scrollbar/scrollbar.1.dart +++ b/examples/api/lib/material/scrollbar/scrollbar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scrollbar]. +// Flutter code sample for [Scrollbar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/segmented_button/segmented_button.0.dart b/examples/api/lib/material/segmented_button/segmented_button.0.dart index dfc738e74107..ff0b26a26fc9 100644 --- a/examples/api/lib/material/segmented_button/segmented_button.0.dart +++ b/examples/api/lib/material/segmented_button/segmented_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SegmentedButton]. +// Flutter code sample for [SegmentedButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/selectable_region/selectable_region.0.dart b/examples/api/lib/material/selectable_region/selectable_region.0.dart index 3364ce98b4fc..553a41177d0f 100644 --- a/examples/api/lib/material/selectable_region/selectable_region.0.dart +++ b/examples/api/lib/material/selectable_region/selectable_region.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SelectableRegion]. +// Flutter code sample for [SelectableRegion]. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/examples/api/lib/material/selection_area/selection_area.0.dart b/examples/api/lib/material/selection_area/selection_area.0.dart index cd65006e3289..b460a3da950b 100644 --- a/examples/api/lib/material/selection_area/selection_area.0.dart +++ b/examples/api/lib/material/selection_area/selection_area.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SelectionArea]. +// Flutter code sample for [SelectionArea]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/selection_container/selection_container.0.dart b/examples/api/lib/material/selection_container/selection_container.0.dart index 53ec0952b74f..fa0716ad5e76 100644 --- a/examples/api/lib/material/selection_container/selection_container.0.dart +++ b/examples/api/lib/material/selection_container/selection_container.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SelectionContainer]. +// Flutter code sample for [SelectionContainer]. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/examples/api/lib/material/selection_container/selection_container_disabled.0.dart b/examples/api/lib/material/selection_container/selection_container_disabled.0.dart index a5a8f8c0be58..2296b924964b 100644 --- a/examples/api/lib/material/selection_container/selection_container_disabled.0.dart +++ b/examples/api/lib/material/selection_container/selection_container_disabled.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter example for [SelectionContainer.disabled]. +// Flutter example for [SelectionContainer.disabled]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/slider/slider.0.dart b/examples/api/lib/material/slider/slider.0.dart index f179bd356afd..cbbe332ab315 100644 --- a/examples/api/lib/material/slider/slider.0.dart +++ b/examples/api/lib/material/slider/slider.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Slider]. +// Flutter code sample for [Slider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/slider/slider.1.dart b/examples/api/lib/material/slider/slider.1.dart index 9d032bf5486a..1d9a312b92af 100644 --- a/examples/api/lib/material/slider/slider.1.dart +++ b/examples/api/lib/material/slider/slider.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Slider]. +// Flutter code sample for [Slider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/slider/slider.2.dart b/examples/api/lib/material/slider/slider.2.dart index 0ac2c1e9761c..c6d5bdcf0090 100644 --- a/examples/api/lib/material/slider/slider.2.dart +++ b/examples/api/lib/material/slider/slider.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Slider]. +// Flutter code sample for [Slider]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/snack_bar/snack_bar.0.dart b/examples/api/lib/material/snack_bar/snack_bar.0.dart index 7bd1f18cbc3b..edc2884b8db2 100644 --- a/examples/api/lib/material/snack_bar/snack_bar.0.dart +++ b/examples/api/lib/material/snack_bar/snack_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SnackBar]. +// Flutter code sample for [SnackBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/snack_bar/snack_bar.1.dart b/examples/api/lib/material/snack_bar/snack_bar.1.dart index 7668f55a8927..581db9b2dda1 100644 --- a/examples/api/lib/material/snack_bar/snack_bar.1.dart +++ b/examples/api/lib/material/snack_bar/snack_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SnackBar]. +// Flutter code sample for [SnackBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/snack_bar/snack_bar.2.dart b/examples/api/lib/material/snack_bar/snack_bar.2.dart index 6eb17467017c..28dc54658d6b 100644 --- a/examples/api/lib/material/snack_bar/snack_bar.2.dart +++ b/examples/api/lib/material/snack_bar/snack_bar.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SnackBar] with Material 3 specifications. +// Flutter code sample for [SnackBar] with Material 3 specifications. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/stepper/stepper.0.dart b/examples/api/lib/material/stepper/stepper.0.dart index add1a0be021c..d16f32a0dd8d 100644 --- a/examples/api/lib/material/stepper/stepper.0.dart +++ b/examples/api/lib/material/stepper/stepper.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Stepper]. +// Flutter code sample for [Stepper]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/stepper/stepper.controls_builder.0.dart b/examples/api/lib/material/stepper/stepper.controls_builder.0.dart index d370e72bff73..05afa692344d 100644 --- a/examples/api/lib/material/stepper/stepper.controls_builder.0.dart +++ b/examples/api/lib/material/stepper/stepper.controls_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Stepper.controlsBuilder]. +// Flutter code sample for [Stepper.controlsBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/switch/switch.0.dart b/examples/api/lib/material/switch/switch.0.dart index 7a1bc5a1b659..0b8d4c497483 100644 --- a/examples/api/lib/material/switch/switch.0.dart +++ b/examples/api/lib/material/switch/switch.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Switch]. +// Flutter code sample for [Switch]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/switch/switch.1.dart b/examples/api/lib/material/switch/switch.1.dart index 2687a0f09641..fee110a3a8fd 100644 --- a/examples/api/lib/material/switch/switch.1.dart +++ b/examples/api/lib/material/switch/switch.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Switch]. +// Flutter code sample for [Switch]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/switch/switch.3.dart b/examples/api/lib/material/switch/switch.3.dart index 7caed5719c82..3ed31ea455bf 100644 --- a/examples/api/lib/material/switch/switch.3.dart +++ b/examples/api/lib/material/switch/switch.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Switch]. +// Flutter code sample for [Switch]. import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/switch_list_tile/switch_list_tile.0.dart b/examples/api/lib/material/switch_list_tile/switch_list_tile.0.dart index 92a084c43b59..9fb2228b6858 100644 --- a/examples/api/lib/material/switch_list_tile/switch_list_tile.0.dart +++ b/examples/api/lib/material/switch_list_tile/switch_list_tile.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SwitchListTile]. +// Flutter code sample for [SwitchListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/switch_list_tile/switch_list_tile.1.dart b/examples/api/lib/material/switch_list_tile/switch_list_tile.1.dart index 30e5a9db283e..46d10ef9ae42 100644 --- a/examples/api/lib/material/switch_list_tile/switch_list_tile.1.dart +++ b/examples/api/lib/material/switch_list_tile/switch_list_tile.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SwitchListTile]. +// Flutter code sample for [SwitchListTile]. import 'package:flutter/gestures.dart'; diff --git a/examples/api/lib/material/switch_list_tile/switch_list_tile.2.dart b/examples/api/lib/material/switch_list_tile/switch_list_tile.2.dart index 105d1460495e..0ea6a8882ae8 100644 --- a/examples/api/lib/material/switch_list_tile/switch_list_tile.2.dart +++ b/examples/api/lib/material/switch_list_tile/switch_list_tile.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SwitchListTile]. +// Flutter code sample for [SwitchListTile]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/tab_controller/tab_controller.1.dart b/examples/api/lib/material/tab_controller/tab_controller.1.dart index ee44def2f13e..cfee433cfae9 100644 --- a/examples/api/lib/material/tab_controller/tab_controller.1.dart +++ b/examples/api/lib/material/tab_controller/tab_controller.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TabController]. +// Flutter code sample for [TabController]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/tabs/tab_bar.0.dart b/examples/api/lib/material/tabs/tab_bar.0.dart index 48e327153ae1..fa0453d89edb 100644 --- a/examples/api/lib/material/tabs/tab_bar.0.dart +++ b/examples/api/lib/material/tabs/tab_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TabBar]. +// Flutter code sample for [TabBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/tabs/tab_bar.1.dart b/examples/api/lib/material/tabs/tab_bar.1.dart index 022f29bd10a9..8cbc76085417 100644 --- a/examples/api/lib/material/tabs/tab_bar.1.dart +++ b/examples/api/lib/material/tabs/tab_bar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TabBar]. +// Flutter code sample for [TabBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/text_button/text_button.0.dart b/examples/api/lib/material/text_button/text_button.0.dart index 1839848ea7ab..d0a31e211ce5 100644 --- a/examples/api/lib/material/text_button/text_button.0.dart +++ b/examples/api/lib/material/text_button/text_button.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TextButton]. +// Flutter code sample for [TextButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/text_button/text_button.1.dart b/examples/api/lib/material/text_button/text_button.1.dart index 0c85d65c55b7..b33b6a132634 100644 --- a/examples/api/lib/material/text_button/text_button.1.dart +++ b/examples/api/lib/material/text_button/text_button.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TextButton]. +// Flutter code sample for [TextButton]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/text_field/text_field.1.dart b/examples/api/lib/material/text_field/text_field.1.dart index 98f550c36c68..2b09139ba03f 100644 --- a/examples/api/lib/material/text_field/text_field.1.dart +++ b/examples/api/lib/material/text_field/text_field.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TextField]. +// Flutter code sample for [TextField]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/text_field/text_field.2.dart b/examples/api/lib/material/text_field/text_field.2.dart index 585d2fa19826..aa835237f1a5 100644 --- a/examples/api/lib/material/text_field/text_field.2.dart +++ b/examples/api/lib/material/text_field/text_field.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for Material Design 3 [TextField]s. +// Flutter code sample for Material Design 3 [TextField]s. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/text_form_field/text_form_field.1.dart b/examples/api/lib/material/text_form_field/text_form_field.1.dart index 979965b5e348..bdbb12438c5c 100644 --- a/examples/api/lib/material/text_form_field/text_form_field.1.dart +++ b/examples/api/lib/material/text_form_field/text_form_field.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TextFormField]. +// Flutter code sample for [TextFormField]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/material/theme/theme_extension.1.dart b/examples/api/lib/material/theme/theme_extension.1.dart index 5b18656eb321..9cc0be84c885 100644 --- a/examples/api/lib/material/theme/theme_extension.1.dart +++ b/examples/api/lib/material/theme/theme_extension.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ThemeExtension]. +// Flutter code sample for [ThemeExtension]. import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; diff --git a/examples/api/lib/material/time_picker/show_time_picker.0.dart b/examples/api/lib/material/time_picker/show_time_picker.0.dart index 02401a6fcb92..aa30b428697c 100644 --- a/examples/api/lib/material/time_picker/show_time_picker.0.dart +++ b/examples/api/lib/material/time_picker/show_time_picker.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showTimePicker]. +// Flutter code sample for [showTimePicker]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/toggle_buttons/toggle_buttons.0.dart b/examples/api/lib/material/toggle_buttons/toggle_buttons.0.dart index 28837c2392a1..578ae48a020b 100644 --- a/examples/api/lib/material/toggle_buttons/toggle_buttons.0.dart +++ b/examples/api/lib/material/toggle_buttons/toggle_buttons.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ToggleButtons]. +// Flutter code sample for [ToggleButtons]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/tooltip/tooltip.0.dart b/examples/api/lib/material/tooltip/tooltip.0.dart index 1d0539b55004..3da1cd83fe68 100644 --- a/examples/api/lib/material/tooltip/tooltip.0.dart +++ b/examples/api/lib/material/tooltip/tooltip.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Tooltip]. +// Flutter code sample for [Tooltip]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/tooltip/tooltip.1.dart b/examples/api/lib/material/tooltip/tooltip.1.dart index 466e8cfbe231..9e551a4fd258 100644 --- a/examples/api/lib/material/tooltip/tooltip.1.dart +++ b/examples/api/lib/material/tooltip/tooltip.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Tooltip]. +// Flutter code sample for [Tooltip]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/tooltip/tooltip.2.dart b/examples/api/lib/material/tooltip/tooltip.2.dart index a0c860c5374c..8fd57403817c 100644 --- a/examples/api/lib/material/tooltip/tooltip.2.dart +++ b/examples/api/lib/material/tooltip/tooltip.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Tooltip]. +// Flutter code sample for [Tooltip]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/material/tooltip/tooltip.3.dart b/examples/api/lib/material/tooltip/tooltip.3.dart index 9ceb7e9b11c2..adad13653d8d 100644 --- a/examples/api/lib/material/tooltip/tooltip.3.dart +++ b/examples/api/lib/material/tooltip/tooltip.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Tooltip]. +// Flutter code sample for [Tooltip]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/painting/borders/border_side.stroke_align.0.dart b/examples/api/lib/painting/borders/border_side.stroke_align.0.dart index 0158f1c75e40..821a88fd3a65 100644 --- a/examples/api/lib/painting/borders/border_side.stroke_align.0.dart +++ b/examples/api/lib/painting/borders/border_side.stroke_align.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [BorderSide.strokeAlign]. +// Flutter code sample for [BorderSide.strokeAlign]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/painting/gradient/linear_gradient.0.dart b/examples/api/lib/painting/gradient/linear_gradient.0.dart index 76de54e9926a..22afe765150b 100644 --- a/examples/api/lib/painting/gradient/linear_gradient.0.dart +++ b/examples/api/lib/painting/gradient/linear_gradient.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [LinearGradient]. +// Flutter code sample for [LinearGradient]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/painting/star_border/star_border.0.dart b/examples/api/lib/painting/star_border/star_border.0.dart index a1a5e51982e2..a89c7f6a9f1e 100644 --- a/examples/api/lib/painting/star_border/star_border.0.dart +++ b/examples/api/lib/painting/star_border/star_border.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// An example showing usage of [StarBorder]. +// An example showing usage of [StarBorder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.0.dart b/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.0.dart index c857bbb23dd8..fec0c816e997 100644 --- a/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.0.dart +++ b/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverGridDelegateWithFixedCrossAxisCount]. +// Flutter code sample for [SliverGridDelegateWithFixedCrossAxisCount]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.1.dart b/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.1.dart index 1a734e129f93..4f460e84b0e7 100644 --- a/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.1.dart +++ b/examples/api/lib/rendering/sliver_grid/sliver_grid_delegate_with_fixed_cross_axis_count.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverGridDelegateWithFixedCrossAxisCount]. +// Flutter code sample for [SliverGridDelegateWithFixedCrossAxisCount]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/sample_templates/cupertino.0.dart b/examples/api/lib/sample_templates/cupertino.0.dart index cdfe73393250..e8b32cf09834 100644 --- a/examples/api/lib/sample_templates/cupertino.0.dart +++ b/examples/api/lib/sample_templates/cupertino.0.dart @@ -29,7 +29,7 @@ // is referenced more than once, link back to the instance the example file is // named for. -/// Flutter code sample for [Placeholder]. +// Flutter code sample for [Placeholder]. import 'package:flutter/cupertino.dart'; diff --git a/examples/api/lib/sample_templates/material.0.dart b/examples/api/lib/sample_templates/material.0.dart index 67907ce883a8..15a94a958d8b 100644 --- a/examples/api/lib/sample_templates/material.0.dart +++ b/examples/api/lib/sample_templates/material.0.dart @@ -29,7 +29,7 @@ // is referenced more than once, link back to the instance the example file is // named for. -/// Flutter code sample for [Placeholder]. +// Flutter code sample for [Placeholder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/sample_templates/widgets.0.dart b/examples/api/lib/sample_templates/widgets.0.dart index 4efd39d0a877..6da96deac034 100644 --- a/examples/api/lib/sample_templates/widgets.0.dart +++ b/examples/api/lib/sample_templates/widgets.0.dart @@ -29,7 +29,7 @@ // is referenced more than once, link back to the instance the example file is // named for. -/// Flutter code sample for [Placeholder]. +// Flutter code sample for [Placeholder]. import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/services/keyboard_key/logical_keyboard_key.0.dart b/examples/api/lib/services/keyboard_key/logical_keyboard_key.0.dart index 298bb0c60e63..1cbd13cb0753 100644 --- a/examples/api/lib/services/keyboard_key/logical_keyboard_key.0.dart +++ b/examples/api/lib/services/keyboard_key/logical_keyboard_key.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [LogicalKeyboardKey]. +// Flutter code sample for [LogicalKeyboardKey]. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/services/keyboard_key/physical_keyboard_key.0.dart b/examples/api/lib/services/keyboard_key/physical_keyboard_key.0.dart index a62aca155d8a..6d8f7993aec7 100644 --- a/examples/api/lib/services/keyboard_key/physical_keyboard_key.0.dart +++ b/examples/api/lib/services/keyboard_key/physical_keyboard_key.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PhysicalKeyboardKey]. +// Flutter code sample for [PhysicalKeyboardKey]. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart b/examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart index 099c0b7dbe30..ba2d1edc66c3 100644 --- a/examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart +++ b/examples/api/lib/services/mouse_cursor/mouse_cursor.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MouseCursor]. +// Flutter code sample for [MouseCursor]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/services/system_chrome/system_chrome.set_system_u_i_overlay_style.1.dart b/examples/api/lib/services/system_chrome/system_chrome.set_system_u_i_overlay_style.1.dart index 86a00a28375a..192f989880d3 100644 --- a/examples/api/lib/services/system_chrome/system_chrome.set_system_u_i_overlay_style.1.dart +++ b/examples/api/lib/services/system_chrome/system_chrome.set_system_u_i_overlay_style.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SystemChrome.setSystemUIOverlayStyle]. +// Flutter code sample for [SystemChrome.setSystemUIOverlayStyle]. import 'dart:math' as math; diff --git a/examples/api/lib/ui/text/font_feature.0.dart b/examples/api/lib/ui/text/font_feature.0.dart index fd07be4ebb91..a24a86d45b49 100644 --- a/examples/api/lib/ui/text/font_feature.0.dart +++ b/examples/api/lib/ui/text/font_feature.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature]. +// Flutter code sample for [FontFeature]. import 'dart:ui'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_alternative.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_alternative.0.dart index e513306eec2e..932e3cd2c3f4 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_alternative.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_alternative.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.alternative]. +// Flutter code sample for [FontFeature.FontFeature.alternative]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_alternative_fractions.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_alternative_fractions.0.dart index b315dc7bcef0..f59fb68fb7aa 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_alternative_fractions.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_alternative_fractions.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.alternativeFractions]. +// Flutter code sample for [FontFeature.FontFeature.alternativeFractions]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_case_sensitive_forms.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_case_sensitive_forms.0.dart index ebad9c338f8e..1d99d3d3b9ce 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_case_sensitive_forms.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_case_sensitive_forms.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.caseSensitiveForms]. +// Flutter code sample for [FontFeature.FontFeature.caseSensitiveForms]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_character_variant.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_character_variant.0.dart index eef33af5a2ba..ff8a2c0f1b8f 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_character_variant.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_character_variant.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.characterVariant]. +// Flutter code sample for [FontFeature.FontFeature.characterVariant]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_contextual_alternates.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_contextual_alternates.0.dart index 74df7b8c8821..e2378411d12c 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_contextual_alternates.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_contextual_alternates.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.contextualAlternates]. +// Flutter code sample for [FontFeature.FontFeature.contextualAlternates]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_denominator.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_denominator.0.dart index d07080e4ca26..0d01028da307 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_denominator.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_denominator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.denominator]. +// Flutter code sample for [FontFeature.FontFeature.denominator]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_fractions.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_fractions.0.dart index 2cea9f15e93c..23aab9506a02 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_fractions.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_fractions.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.fractions]. +// Flutter code sample for [FontFeature.FontFeature.fractions]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_historical_forms.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_historical_forms.0.dart index 59fcf0dfe28d..e88262dcd0c7 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_historical_forms.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_historical_forms.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.historicalForms]. +// Flutter code sample for [FontFeature.FontFeature.historicalForms]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_historical_ligatures.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_historical_ligatures.0.dart index 50a9a8176a2d..5a689b35673a 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_historical_ligatures.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_historical_ligatures.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.historicalLigatures]. +// Flutter code sample for [FontFeature.FontFeature.historicalLigatures]. import 'dart:ui'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_lining_figures.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_lining_figures.0.dart index 19a4fd94e7ed..f225e863ad9b 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_lining_figures.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_lining_figures.0.dart @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.liningFigures]. +// Flutter code sample for [FontFeature.FontFeature.liningFigures]. + import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_locale_aware.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_locale_aware.0.dart index e0a6bad400f9..8ef16e55e82f 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_locale_aware.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_locale_aware.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.localeAware]. +// Flutter code sample for [FontFeature.FontFeature.localeAware]. import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_notational_forms.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_notational_forms.0.dart index 30ceb9c4d7dc..d4f5aa380e7b 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_notational_forms.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_notational_forms.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.notationalForms]. +// Flutter code sample for [FontFeature.FontFeature.notationalForms]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_numerators.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_numerators.0.dart index 40794cbe38f2..b68128a2e2d7 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_numerators.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_numerators.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.numerators]. +// Flutter code sample for [FontFeature.FontFeature.numerators]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_oldstyle_figures.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_oldstyle_figures.0.dart index 30a635c6ca94..b9c13b29be12 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_oldstyle_figures.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_oldstyle_figures.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.oldstyleFigures]. +// Flutter code sample for [FontFeature.FontFeature.oldstyleFigures]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_ordinal_forms.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_ordinal_forms.0.dart index 0cfa435847ac..87e6c5c46b2b 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_ordinal_forms.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_ordinal_forms.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.ordinalForms]. +// Flutter code sample for [FontFeature.FontFeature.ordinalForms]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_proportional_figures.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_proportional_figures.0.dart index 82e0c1e35714..3e2721e99955 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_proportional_figures.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_proportional_figures.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.proportionalFigures]. +// Flutter code sample for [FontFeature.FontFeature.proportionalFigures]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_scientific_inferiors.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_scientific_inferiors.0.dart index 764525416271..87a02094ce67 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_scientific_inferiors.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_scientific_inferiors.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.scientificInferiors]. +// Flutter code sample for [FontFeature.FontFeature.scientificInferiors]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_slashed_zero.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_slashed_zero.0.dart index 90ab9f6fe147..d023e056ced3 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_slashed_zero.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_slashed_zero.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.slashedZero]. +// Flutter code sample for [FontFeature.FontFeature.slashedZero]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_stylistic_alternates.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_stylistic_alternates.0.dart index 2853ad0a1c21..c9b533326305 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_stylistic_alternates.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_stylistic_alternates.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.stylisticAlternates]. +// Flutter code sample for [FontFeature.FontFeature.stylisticAlternates]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.0.dart index 65bb623f8549..aca567403993 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.stylisticSet]. +// Flutter code sample for [FontFeature.FontFeature.stylisticSet]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.1.dart b/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.1.dart index bfeb969e28e5..adcb2c5f65e0 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.1.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_stylistic_set.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.stylisticSet]. +// Flutter code sample for [FontFeature.FontFeature.stylisticSet]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_subscripts.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_subscripts.0.dart index 98516bd38540..1687d06f90f5 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_subscripts.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_subscripts.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.subscripts]. +// Flutter code sample for [FontFeature.FontFeature.subscripts]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_superscripts.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_superscripts.0.dart index 3fefddc66f09..75a65f622746 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_superscripts.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_superscripts.0.dart @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.superscripts]. +// Flutter code sample for [FontFeature.FontFeature.superscripts]. + import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_swash.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_swash.0.dart index fc4951676843..d39e9be58c73 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_swash.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_swash.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FontFeature.FontFeature.swash]. +// Flutter code sample for [FontFeature.FontFeature.swash]. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/ui/text/font_feature.font_feature_tabular_figures.0.dart b/examples/api/lib/ui/text/font_feature.font_feature_tabular_figures.0.dart index e2076424b726..13ea07a67283 100644 --- a/examples/api/lib/ui/text/font_feature.font_feature_tabular_figures.0.dart +++ b/examples/api/lib/ui/text/font_feature.font_feature_tabular_figures.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [dart]:ui FontFeature.FontFeature.tabularFigures. +// Flutter code sample for [dart]:ui FontFeature.FontFeature.tabularFigures. import 'dart:ui'; import 'package:flutter/widgets.dart'; diff --git a/examples/api/lib/widgets/actions/action.action_overridable.0.dart b/examples/api/lib/widgets/actions/action.action_overridable.0.dart index 33d97e64ce48..f54952a23549 100644 --- a/examples/api/lib/widgets/actions/action.action_overridable.0.dart +++ b/examples/api/lib/widgets/actions/action.action_overridable.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Action.Action.overridable]. +// Flutter code sample for [Action.Action.overridable]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/actions/action_listener.0.dart b/examples/api/lib/widgets/actions/action_listener.0.dart index 4c9bc958acf1..98f7a15cd54b 100644 --- a/examples/api/lib/widgets/actions/action_listener.0.dart +++ b/examples/api/lib/widgets/actions/action_listener.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ActionListener]. +// Flutter code sample for [ActionListener]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/actions/actions.0.dart b/examples/api/lib/widgets/actions/actions.0.dart index 7f230c59a841..8fbeaf16e780 100644 --- a/examples/api/lib/widgets/actions/actions.0.dart +++ b/examples/api/lib/widgets/actions/actions.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Actions]. +// Flutter code sample for [Actions]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/actions/focusable_action_detector.0.dart b/examples/api/lib/widgets/actions/focusable_action_detector.0.dart index 85006424c343..019d39984dfd 100644 --- a/examples/api/lib/widgets/actions/focusable_action_detector.0.dart +++ b/examples/api/lib/widgets/actions/focusable_action_detector.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FocusableActionDetector]. +// Flutter code sample for [FocusableActionDetector]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/animated_grid/animated_grid.0.dart b/examples/api/lib/widgets/animated_grid/animated_grid.0.dart index 76dc3e41be82..b09c82172536 100644 --- a/examples/api/lib/widgets/animated_grid/animated_grid.0.dart +++ b/examples/api/lib/widgets/animated_grid/animated_grid.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedGrid]. +// Flutter code sample for [AnimatedGrid]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/animated_grid/sliver_animated_grid.0.dart b/examples/api/lib/widgets/animated_grid/sliver_animated_grid.0.dart index 157043fc6eb4..34af8c01e41b 100644 --- a/examples/api/lib/widgets/animated_grid/sliver_animated_grid.0.dart +++ b/examples/api/lib/widgets/animated_grid/sliver_animated_grid.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverAnimatedGrid]. +// Flutter code sample for [SliverAnimatedGrid]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/animated_list/animated_list.0.dart b/examples/api/lib/widgets/animated_list/animated_list.0.dart index d95c2e93dd2c..2b195a0931cb 100644 --- a/examples/api/lib/widgets/animated_list/animated_list.0.dart +++ b/examples/api/lib/widgets/animated_list/animated_list.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedList]. +// Flutter code sample for [AnimatedList]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/animated_list/sliver_animated_list.0.dart b/examples/api/lib/widgets/animated_list/sliver_animated_list.0.dart index 8135c10954ac..6193a963ffd4 100644 --- a/examples/api/lib/widgets/animated_list/sliver_animated_list.0.dart +++ b/examples/api/lib/widgets/animated_list/sliver_animated_list.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverAnimatedList]. +// Flutter code sample for [SliverAnimatedList]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/animated_size/animated_size.0.dart b/examples/api/lib/widgets/animated_size/animated_size.0.dart index cd818a4a8c2f..915eae05c8bf 100644 --- a/examples/api/lib/widgets/animated_size/animated_size.0.dart +++ b/examples/api/lib/widgets/animated_size/animated_size.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedSize]. +// Flutter code sample for [AnimatedSize]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/animated_switcher/animated_switcher.0.dart b/examples/api/lib/widgets/animated_switcher/animated_switcher.0.dart index 97871088bdc5..208759cd5ed4 100644 --- a/examples/api/lib/widgets/animated_switcher/animated_switcher.0.dart +++ b/examples/api/lib/widgets/animated_switcher/animated_switcher.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedSwitcher]. +// Flutter code sample for [AnimatedSwitcher]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/app/widgets_app.widgets_app.0.dart b/examples/api/lib/widgets/app/widgets_app.widgets_app.0.dart index 5510dbd3e553..f09e72c6df32 100644 --- a/examples/api/lib/widgets/app/widgets_app.widgets_app.0.dart +++ b/examples/api/lib/widgets/app/widgets_app.widgets_app.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [WidgetsApp]. +// Flutter code sample for [WidgetsApp]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/async/future_builder.0.dart b/examples/api/lib/widgets/async/future_builder.0.dart index 84505669a2bb..ed9b5f707104 100644 --- a/examples/api/lib/widgets/async/future_builder.0.dart +++ b/examples/api/lib/widgets/async/future_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FutureBuilder]. +// Flutter code sample for [FutureBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/async/stream_builder.0.dart b/examples/api/lib/widgets/async/stream_builder.0.dart index f2bc8e6c8c9c..289c8902bbbc 100644 --- a/examples/api/lib/widgets/async/stream_builder.0.dart +++ b/examples/api/lib/widgets/async/stream_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [StreamBuilder]. +// Flutter code sample for [StreamBuilder]. import 'dart:async'; diff --git a/examples/api/lib/widgets/autocomplete/raw_autocomplete.0.dart b/examples/api/lib/widgets/autocomplete/raw_autocomplete.0.dart index 2e99b5e3a0b8..d2ae2ae997af 100644 --- a/examples/api/lib/widgets/autocomplete/raw_autocomplete.0.dart +++ b/examples/api/lib/widgets/autocomplete/raw_autocomplete.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawAutocomplete]. +// Flutter code sample for [RawAutocomplete]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart b/examples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart index 4fe8559fede7..1bb54d5b1c49 100644 --- a/examples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart +++ b/examples/api/lib/widgets/autocomplete/raw_autocomplete.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawAutocomplete]. +// Flutter code sample for [RawAutocomplete]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart b/examples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart index c19e791b2f92..12bb6dc8bb40 100644 --- a/examples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart +++ b/examples/api/lib/widgets/autocomplete/raw_autocomplete.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawAutocomplete]. +// Flutter code sample for [RawAutocomplete]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/autocomplete/raw_autocomplete.focus_node.0.dart b/examples/api/lib/widgets/autocomplete/raw_autocomplete.focus_node.0.dart index d64892e858cf..8a30c81e59ce 100644 --- a/examples/api/lib/widgets/autocomplete/raw_autocomplete.focus_node.0.dart +++ b/examples/api/lib/widgets/autocomplete/raw_autocomplete.focus_node.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawAutocomplete.focusNode]. +// Flutter code sample for [RawAutocomplete.focusNode]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/autofill/autofill_group.0.dart b/examples/api/lib/widgets/autofill/autofill_group.0.dart index 5d06645d7ac9..61b1f406ac34 100644 --- a/examples/api/lib/widgets/autofill/autofill_group.0.dart +++ b/examples/api/lib/widgets/autofill/autofill_group.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AutofillGroup]. +// Flutter code sample for [AutofillGroup]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/absorb_pointer.0.dart b/examples/api/lib/widgets/basic/absorb_pointer.0.dart index a5d6667576d3..e9e02cab0c61 100644 --- a/examples/api/lib/widgets/basic/absorb_pointer.0.dart +++ b/examples/api/lib/widgets/basic/absorb_pointer.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AbsorbPointer]. +// Flutter code sample for [AbsorbPointer]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/aspect_ratio.0.dart b/examples/api/lib/widgets/basic/aspect_ratio.0.dart index fee8351f99d5..e8e0834ba96d 100644 --- a/examples/api/lib/widgets/basic/aspect_ratio.0.dart +++ b/examples/api/lib/widgets/basic/aspect_ratio.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AspectRatio]. +// Flutter code sample for [AspectRatio]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/aspect_ratio.1.dart b/examples/api/lib/widgets/basic/aspect_ratio.1.dart index fda6866d3517..47a01fdc67cd 100644 --- a/examples/api/lib/widgets/basic/aspect_ratio.1.dart +++ b/examples/api/lib/widgets/basic/aspect_ratio.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AspectRatio]. +// Flutter code sample for [AspectRatio]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/aspect_ratio.2.dart b/examples/api/lib/widgets/basic/aspect_ratio.2.dart index f1d2d4ee313d..40132e073c19 100644 --- a/examples/api/lib/widgets/basic/aspect_ratio.2.dart +++ b/examples/api/lib/widgets/basic/aspect_ratio.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AspectRatio]. +// Flutter code sample for [AspectRatio]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/clip_rrect.0.dart b/examples/api/lib/widgets/basic/clip_rrect.0.dart index 761fd90b04e2..6b7bbd9aa08b 100644 --- a/examples/api/lib/widgets/basic/clip_rrect.0.dart +++ b/examples/api/lib/widgets/basic/clip_rrect.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ClipRRect]. +// Flutter code sample for [ClipRRect]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/clip_rrect.1.dart b/examples/api/lib/widgets/basic/clip_rrect.1.dart index 3f84ba23c8cc..829f37cb9081 100644 --- a/examples/api/lib/widgets/basic/clip_rrect.1.dart +++ b/examples/api/lib/widgets/basic/clip_rrect.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ClipRRect]. +// Flutter code sample for [ClipRRect]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/custom_multi_child_layout.0.dart b/examples/api/lib/widgets/basic/custom_multi_child_layout.0.dart index e8af705a8ea4..7f8bc59eb5e5 100644 --- a/examples/api/lib/widgets/basic/custom_multi_child_layout.0.dart +++ b/examples/api/lib/widgets/basic/custom_multi_child_layout.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CustomMultiChildLayout]. +// Flutter code sample for [CustomMultiChildLayout]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/expanded.0.dart b/examples/api/lib/widgets/basic/expanded.0.dart index 1deb25b4408e..0cedcb9dc0a9 100644 --- a/examples/api/lib/widgets/basic/expanded.0.dart +++ b/examples/api/lib/widgets/basic/expanded.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Expanded]. +// Flutter code sample for [Expanded]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/expanded.1.dart b/examples/api/lib/widgets/basic/expanded.1.dart index b14cca384d21..7eb5c73cb7d0 100644 --- a/examples/api/lib/widgets/basic/expanded.1.dart +++ b/examples/api/lib/widgets/basic/expanded.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Expanded]. +// Flutter code sample for [Expanded]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/fitted_box.0.dart b/examples/api/lib/widgets/basic/fitted_box.0.dart index 4347d9c03426..cea3c3d41aaf 100644 --- a/examples/api/lib/widgets/basic/fitted_box.0.dart +++ b/examples/api/lib/widgets/basic/fitted_box.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FittedBox]. +// Flutter code sample for [FittedBox]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/flow.0.dart b/examples/api/lib/widgets/basic/flow.0.dart index 5e67056d790a..a31a42c13bbb 100644 --- a/examples/api/lib/widgets/basic/flow.0.dart +++ b/examples/api/lib/widgets/basic/flow.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Flow]. +// Flutter code sample for [Flow]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/fractionally_sized_box.0.dart b/examples/api/lib/widgets/basic/fractionally_sized_box.0.dart index 30910794547b..7be229474868 100644 --- a/examples/api/lib/widgets/basic/fractionally_sized_box.0.dart +++ b/examples/api/lib/widgets/basic/fractionally_sized_box.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FractionallySizedBox]. +// Flutter code sample for [FractionallySizedBox]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/ignore_pointer.0.dart b/examples/api/lib/widgets/basic/ignore_pointer.0.dart index 931f3df63a3c..935395f7f4fb 100644 --- a/examples/api/lib/widgets/basic/ignore_pointer.0.dart +++ b/examples/api/lib/widgets/basic/ignore_pointer.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [IgnorePointer]. +// Flutter code sample for [IgnorePointer]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/indexed_stack.0.dart b/examples/api/lib/widgets/basic/indexed_stack.0.dart index b5dc76d0af82..08d9aa3b5fa8 100644 --- a/examples/api/lib/widgets/basic/indexed_stack.0.dart +++ b/examples/api/lib/widgets/basic/indexed_stack.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [IndexedStack.]. +// Flutter code sample for [IndexedStack.]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/listener.0.dart b/examples/api/lib/widgets/basic/listener.0.dart index 3d763e31adc1..4e9b00adf6ab 100644 --- a/examples/api/lib/widgets/basic/listener.0.dart +++ b/examples/api/lib/widgets/basic/listener.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Listener]. +// Flutter code sample for [Listener]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/mouse_region.0.dart b/examples/api/lib/widgets/basic/mouse_region.0.dart index 04727520194c..65fce481cdd6 100644 --- a/examples/api/lib/widgets/basic/mouse_region.0.dart +++ b/examples/api/lib/widgets/basic/mouse_region.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MouseRegion]. +// Flutter code sample for [MouseRegion]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/mouse_region.on_exit.0.dart b/examples/api/lib/widgets/basic/mouse_region.on_exit.0.dart index d539f59c6a40..1d07f7b86c97 100644 --- a/examples/api/lib/widgets/basic/mouse_region.on_exit.0.dart +++ b/examples/api/lib/widgets/basic/mouse_region.on_exit.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MouseRegion.onExit]. +// Flutter code sample for [MouseRegion.onExit]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/mouse_region.on_exit.1.dart b/examples/api/lib/widgets/basic/mouse_region.on_exit.1.dart index 9f7002a7e772..b3cde3292ca2 100644 --- a/examples/api/lib/widgets/basic/mouse_region.on_exit.1.dart +++ b/examples/api/lib/widgets/basic/mouse_region.on_exit.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MouseRegion.onExit]. +// Flutter code sample for [MouseRegion.onExit]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/offstage.0.dart b/examples/api/lib/widgets/basic/offstage.0.dart index 5d07668dab10..6addd66efef1 100644 --- a/examples/api/lib/widgets/basic/offstage.0.dart +++ b/examples/api/lib/widgets/basic/offstage.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Offstage]. +// Flutter code sample for [Offstage]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/basic/physical_shape.0.dart b/examples/api/lib/widgets/basic/physical_shape.0.dart index d019410fd41e..88978e63b465 100644 --- a/examples/api/lib/widgets/basic/physical_shape.0.dart +++ b/examples/api/lib/widgets/basic/physical_shape.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PhysicalShape]. +// Flutter code sample for [PhysicalShape]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/binding/widget_binding_observer.0.dart b/examples/api/lib/widgets/binding/widget_binding_observer.0.dart index dc6224aea177..0a2f6061c3c4 100644 --- a/examples/api/lib/widgets/binding/widget_binding_observer.0.dart +++ b/examples/api/lib/widgets/binding/widget_binding_observer.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [WidgetBindingsObserver]. +// Flutter code sample for [WidgetBindingsObserver]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/color_filter/color_filtered.0.dart b/examples/api/lib/widgets/color_filter/color_filtered.0.dart index 283503a04fa8..50158de983d1 100644 --- a/examples/api/lib/widgets/color_filter/color_filtered.0.dart +++ b/examples/api/lib/widgets/color_filter/color_filtered.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ColorFiltered]. +// Flutter code sample for [ColorFiltered]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/dismissible/dismissible.0.dart b/examples/api/lib/widgets/dismissible/dismissible.0.dart index d528e0b6d94b..5cb896e0f693 100644 --- a/examples/api/lib/widgets/dismissible/dismissible.0.dart +++ b/examples/api/lib/widgets/dismissible/dismissible.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Dismissible]. +// Flutter code sample for [Dismissible]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/drag_target/draggable.0.dart b/examples/api/lib/widgets/drag_target/draggable.0.dart index 5ee6c89eb509..641beafc8d2b 100644 --- a/examples/api/lib/widgets/drag_target/draggable.0.dart +++ b/examples/api/lib/widgets/drag_target/draggable.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Draggable]. +// Flutter code sample for [Draggable]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/editable_text/editable_text.on_changed.0.dart b/examples/api/lib/widgets/editable_text/editable_text.on_changed.0.dart index cb4162647b04..eef91e98f4d2 100644 --- a/examples/api/lib/widgets/editable_text/editable_text.on_changed.0.dart +++ b/examples/api/lib/widgets/editable_text/editable_text.on_changed.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [EditableText.onChanged]. +// Flutter code sample for [EditableText.onChanged]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/editable_text/text_editing_controller.0.dart b/examples/api/lib/widgets/editable_text/text_editing_controller.0.dart index 5e35da498922..f0b435594741 100644 --- a/examples/api/lib/widgets/editable_text/text_editing_controller.0.dart +++ b/examples/api/lib/widgets/editable_text/text_editing_controller.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TextEditingController]. +// Flutter code sample for [TextEditingController]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/focus_manager/focus_node.0.dart b/examples/api/lib/widgets/focus_manager/focus_node.0.dart index 2374de596fae..aaaf2a9b0d6d 100644 --- a/examples/api/lib/widgets/focus_manager/focus_node.0.dart +++ b/examples/api/lib/widgets/focus_manager/focus_node.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FocusNode]. +// Flutter code sample for [FocusNode]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart b/examples/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart index 07d5c69243a9..8e57aca41872 100644 --- a/examples/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart +++ b/examples/api/lib/widgets/focus_manager/focus_node.unfocus.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FocusNode.unfocus]. +// Flutter code sample for [FocusNode.unfocus]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/focus_scope/focus.0.dart b/examples/api/lib/widgets/focus_scope/focus.0.dart index 25d85ae28f53..4defbdfe3d2f 100644 --- a/examples/api/lib/widgets/focus_scope/focus.0.dart +++ b/examples/api/lib/widgets/focus_scope/focus.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Focus]. +// Flutter code sample for [Focus]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/focus_scope/focus.1.dart b/examples/api/lib/widgets/focus_scope/focus.1.dart index e9f08fcf5c0f..ed6f46e7212c 100644 --- a/examples/api/lib/widgets/focus_scope/focus.1.dart +++ b/examples/api/lib/widgets/focus_scope/focus.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Focus]. +// Flutter code sample for [Focus]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/focus_scope/focus.2.dart b/examples/api/lib/widgets/focus_scope/focus.2.dart index fbc10caa5022..53876c5b7e5a 100644 --- a/examples/api/lib/widgets/focus_scope/focus.2.dart +++ b/examples/api/lib/widgets/focus_scope/focus.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Focus]. +// Flutter code sample for [Focus]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/focus_scope/focus_scope.0.dart b/examples/api/lib/widgets/focus_scope/focus_scope.0.dart index 63bf46a15cc2..5383d68b1f72 100644 --- a/examples/api/lib/widgets/focus_scope/focus_scope.0.dart +++ b/examples/api/lib/widgets/focus_scope/focus_scope.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FocusScope]. +// Flutter code sample for [FocusScope]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/focus_traversal/focus_traversal_group.0.dart b/examples/api/lib/widgets/focus_traversal/focus_traversal_group.0.dart index 4c45823c4366..55ac18cd03a7 100644 --- a/examples/api/lib/widgets/focus_traversal/focus_traversal_group.0.dart +++ b/examples/api/lib/widgets/focus_traversal/focus_traversal_group.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FocusTraversalGroup]. +// Flutter code sample for [FocusTraversalGroup]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/focus_traversal/ordered_traversal_policy.0.dart b/examples/api/lib/widgets/focus_traversal/ordered_traversal_policy.0.dart index c4f8b1bdc0eb..780592b30d43 100644 --- a/examples/api/lib/widgets/focus_traversal/ordered_traversal_policy.0.dart +++ b/examples/api/lib/widgets/focus_traversal/ordered_traversal_policy.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [OrderedTraversalPolicy]. +// Flutter code sample for [OrderedTraversalPolicy]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/form/form.0.dart b/examples/api/lib/widgets/form/form.0.dart index 428b49733582..e82291dc103d 100644 --- a/examples/api/lib/widgets/form/form.0.dart +++ b/examples/api/lib/widgets/form/form.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Form]. +// Flutter code sample for [Form]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/framework/build_owner.0.dart b/examples/api/lib/widgets/framework/build_owner.0.dart index b3f28e8eba7e..1bca301de9db 100644 --- a/examples/api/lib/widgets/framework/build_owner.0.dart +++ b/examples/api/lib/widgets/framework/build_owner.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [BuildOwner]. +// Flutter code sample for [BuildOwner]. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/examples/api/lib/widgets/framework/error_widget.0.dart b/examples/api/lib/widgets/framework/error_widget.0.dart index 0863b5f2d293..73ef0fff5848 100644 --- a/examples/api/lib/widgets/framework/error_widget.0.dart +++ b/examples/api/lib/widgets/framework/error_widget.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ErrorWidget]. +// Flutter code sample for [ErrorWidget]. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/gesture_detector/gesture_detector.0.dart b/examples/api/lib/widgets/gesture_detector/gesture_detector.0.dart index b72e034d1a5b..f6010ac504f6 100644 --- a/examples/api/lib/widgets/gesture_detector/gesture_detector.0.dart +++ b/examples/api/lib/widgets/gesture_detector/gesture_detector.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [GestureDetector]. +// Flutter code sample for [GestureDetector]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/gesture_detector/gesture_detector.1.dart b/examples/api/lib/widgets/gesture_detector/gesture_detector.1.dart index 4771f527c7a0..fd0606bde2d2 100644 --- a/examples/api/lib/widgets/gesture_detector/gesture_detector.1.dart +++ b/examples/api/lib/widgets/gesture_detector/gesture_detector.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [GestureDetector]. +// Flutter code sample for [GestureDetector]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/gesture_detector/gesture_detector.2.dart b/examples/api/lib/widgets/gesture_detector/gesture_detector.2.dart index 8be9043ff90b..6017ffb4c30c 100644 --- a/examples/api/lib/widgets/gesture_detector/gesture_detector.2.dart +++ b/examples/api/lib/widgets/gesture_detector/gesture_detector.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [GestureDetector]. +// Flutter code sample for [GestureDetector]. import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/hardware_keyboard/key_event_manager.0.dart b/examples/api/lib/widgets/hardware_keyboard/key_event_manager.0.dart index e54a7e5671d7..2d16609a86d6 100644 --- a/examples/api/lib/widgets/hardware_keyboard/key_event_manager.0.dart +++ b/examples/api/lib/widgets/hardware_keyboard/key_event_manager.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [KeyEventManager.keyMessageHandler]. +// Flutter code sample for [KeyEventManager.keyMessageHandler]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/heroes/hero.0.dart b/examples/api/lib/widgets/heroes/hero.0.dart index 8741ea3bdead..c81cfbe88f6f 100644 --- a/examples/api/lib/widgets/heroes/hero.0.dart +++ b/examples/api/lib/widgets/heroes/hero.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Hero]. +// Flutter code sample for [Hero]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/heroes/hero.1.dart b/examples/api/lib/widgets/heroes/hero.1.dart index 7ced9d71bbf3..51685ce6cf8d 100644 --- a/examples/api/lib/widgets/heroes/hero.1.dart +++ b/examples/api/lib/widgets/heroes/hero.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Hero]. +// Flutter code sample for [Hero]. import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; diff --git a/examples/api/lib/widgets/image/image.error_builder.0.dart b/examples/api/lib/widgets/image/image.error_builder.0.dart index 9c9ca1eeedf8..be1aa826d17d 100644 --- a/examples/api/lib/widgets/image/image.error_builder.0.dart +++ b/examples/api/lib/widgets/image/image.error_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Image.errorBuilder]. +// Flutter code sample for [Image.errorBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/image/image.frame_builder.0.dart b/examples/api/lib/widgets/image/image.frame_builder.0.dart index e90447bae1a5..b04d6f88052f 100644 --- a/examples/api/lib/widgets/image/image.frame_builder.0.dart +++ b/examples/api/lib/widgets/image/image.frame_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Image.frameBuilder]. +// Flutter code sample for [Image.frameBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/image/image.loading_builder.0.dart b/examples/api/lib/widgets/image/image.loading_builder.0.dart index 5127cce2e93d..6e9b97f1feb9 100644 --- a/examples/api/lib/widgets/image/image.loading_builder.0.dart +++ b/examples/api/lib/widgets/image/image.loading_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Image.loadingBuilder]. +// Flutter code sample for [Image.loadingBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/implicit_animations/animated_align.0.dart b/examples/api/lib/widgets/implicit_animations/animated_align.0.dart index aae7428a9159..3a73a99ccf37 100644 --- a/examples/api/lib/widgets/implicit_animations/animated_align.0.dart +++ b/examples/api/lib/widgets/implicit_animations/animated_align.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedAlign]. +// Flutter code sample for [AnimatedAlign]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/implicit_animations/animated_container.0.dart b/examples/api/lib/widgets/implicit_animations/animated_container.0.dart index 174142ac8f09..a374cd086524 100644 --- a/examples/api/lib/widgets/implicit_animations/animated_container.0.dart +++ b/examples/api/lib/widgets/implicit_animations/animated_container.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedContainer]. +// Flutter code sample for [AnimatedContainer]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/implicit_animations/animated_fractionally_sized_box.0.dart b/examples/api/lib/widgets/implicit_animations/animated_fractionally_sized_box.0.dart index 6c0ec1301334..a3d6c2523390 100644 --- a/examples/api/lib/widgets/implicit_animations/animated_fractionally_sized_box.0.dart +++ b/examples/api/lib/widgets/implicit_animations/animated_fractionally_sized_box.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedFractionallySizedBox]. +// Flutter code sample for [AnimatedFractionallySizedBox]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/implicit_animations/animated_padding.0.dart b/examples/api/lib/widgets/implicit_animations/animated_padding.0.dart index 9459ffeb44f9..2d4248035885 100644 --- a/examples/api/lib/widgets/implicit_animations/animated_padding.0.dart +++ b/examples/api/lib/widgets/implicit_animations/animated_padding.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedPadding]. +// Flutter code sample for [AnimatedPadding]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/implicit_animations/animated_positioned.0.dart b/examples/api/lib/widgets/implicit_animations/animated_positioned.0.dart index c43715d67346..55478c855227 100644 --- a/examples/api/lib/widgets/implicit_animations/animated_positioned.0.dart +++ b/examples/api/lib/widgets/implicit_animations/animated_positioned.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedPositioned]. +// Flutter code sample for [AnimatedPositioned]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/implicit_animations/animated_slide.0.dart b/examples/api/lib/widgets/implicit_animations/animated_slide.0.dart index d23f4c48089f..ed742adda77d 100644 --- a/examples/api/lib/widgets/implicit_animations/animated_slide.0.dart +++ b/examples/api/lib/widgets/implicit_animations/animated_slide.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedSlide]. +// Flutter code sample for [AnimatedSlide]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/implicit_animations/sliver_animated_opacity.0.dart b/examples/api/lib/widgets/implicit_animations/sliver_animated_opacity.0.dart index 1ecc04e3fb85..cdadf62c4884 100644 --- a/examples/api/lib/widgets/implicit_animations/sliver_animated_opacity.0.dart +++ b/examples/api/lib/widgets/implicit_animations/sliver_animated_opacity.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverAnimatedOpacity]. +// Flutter code sample for [SliverAnimatedOpacity]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/inherited_model/inherited_model.0.dart b/examples/api/lib/widgets/inherited_model/inherited_model.0.dart index fa45b7bef1f0..512edc1d89ed 100644 --- a/examples/api/lib/widgets/inherited_model/inherited_model.0.dart +++ b/examples/api/lib/widgets/inherited_model/inherited_model.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InheritedModel]. +// Flutter code sample for [InheritedModel]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/inherited_notifier/inherited_notifier.0.dart b/examples/api/lib/widgets/inherited_notifier/inherited_notifier.0.dart index 6c6d53be7b9a..76ba70922487 100644 --- a/examples/api/lib/widgets/inherited_notifier/inherited_notifier.0.dart +++ b/examples/api/lib/widgets/inherited_notifier/inherited_notifier.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InheritedNotifier]. +// Flutter code sample for [InheritedNotifier]. import 'dart:math' as math; diff --git a/examples/api/lib/widgets/inherited_theme/inherited_theme.0.dart b/examples/api/lib/widgets/inherited_theme/inherited_theme.0.dart index 62756878a8b7..67b12549f1f6 100644 --- a/examples/api/lib/widgets/inherited_theme/inherited_theme.0.dart +++ b/examples/api/lib/widgets/inherited_theme/inherited_theme.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InheritedTheme]. +// Flutter code sample for [InheritedTheme]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.0.dart b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.0.dart index 586e04526674..f02786bced5b 100644 --- a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.0.dart +++ b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InteractiveViewer]. +// Flutter code sample for [InteractiveViewer]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.builder.0.dart b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.builder.0.dart index 5d8e30df2cc8..0337029bce53 100644 --- a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.builder.0.dart +++ b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InteractiveViewer.builder]. +// Flutter code sample for [InteractiveViewer.builder]. import 'package:flutter/material.dart'; import 'package:vector_math/vector_math_64.dart' show Quad, Vector3; diff --git a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.constrained.0.dart b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.constrained.0.dart index 68c5c9c7692f..5b4868921e21 100644 --- a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.constrained.0.dart +++ b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.constrained.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InteractiveViewer.constrained]. +// Flutter code sample for [InteractiveViewer.constrained]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.transformation_controller.0.dart b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.transformation_controller.0.dart index 0459b426fde6..78797178bc76 100644 --- a/examples/api/lib/widgets/interactive_viewer/interactive_viewer.transformation_controller.0.dart +++ b/examples/api/lib/widgets/interactive_viewer/interactive_viewer.transformation_controller.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [InteractiveViewer.transformationController]. +// Flutter code sample for [InteractiveViewer.transformationController]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/layout_builder/layout_builder.0.dart b/examples/api/lib/widgets/layout_builder/layout_builder.0.dart index 4c77930fd165..07dbaadbc6e4 100644 --- a/examples/api/lib/widgets/layout_builder/layout_builder.0.dart +++ b/examples/api/lib/widgets/layout_builder/layout_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [LayoutBuilder]. +// Flutter code sample for [LayoutBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/media_query/media_query_data.system_gesture_insets.0.dart b/examples/api/lib/widgets/media_query/media_query_data.system_gesture_insets.0.dart index 1ab5934c43ff..5603970e9f00 100644 --- a/examples/api/lib/widgets/media_query/media_query_data.system_gesture_insets.0.dart +++ b/examples/api/lib/widgets/media_query/media_query_data.system_gesture_insets.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [MediaQueryData.systemGestureInsets]. +// Flutter code sample for [MediaQueryData.systemGestureInsets]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/navigator.0.dart b/examples/api/lib/widgets/navigator/navigator.0.dart index 974f3f523cf7..83a3bced85ff 100644 --- a/examples/api/lib/widgets/navigator/navigator.0.dart +++ b/examples/api/lib/widgets/navigator/navigator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Navigator]. +// Flutter code sample for [Navigator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/navigator.restorable_push.0.dart b/examples/api/lib/widgets/navigator/navigator.restorable_push.0.dart index e9f041e9e241..6d440037570a 100644 --- a/examples/api/lib/widgets/navigator/navigator.restorable_push.0.dart +++ b/examples/api/lib/widgets/navigator/navigator.restorable_push.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Navigator.restorablePush]. +// Flutter code sample for [Navigator.restorablePush]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/navigator.restorable_push_and_remove_until.0.dart b/examples/api/lib/widgets/navigator/navigator.restorable_push_and_remove_until.0.dart index ea56fd4b1cfa..c66393a5fe6f 100644 --- a/examples/api/lib/widgets/navigator/navigator.restorable_push_and_remove_until.0.dart +++ b/examples/api/lib/widgets/navigator/navigator.restorable_push_and_remove_until.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Navigator.restorablePushAndRemoveUntil]. +// Flutter code sample for [Navigator.restorablePushAndRemoveUntil]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/navigator.restorable_push_replacement.0.dart b/examples/api/lib/widgets/navigator/navigator.restorable_push_replacement.0.dart index 528efa211c52..7a6cccde4d42 100644 --- a/examples/api/lib/widgets/navigator/navigator.restorable_push_replacement.0.dart +++ b/examples/api/lib/widgets/navigator/navigator.restorable_push_replacement.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Navigator.restorablePushReplacement]. +// Flutter code sample for [Navigator.restorablePushReplacement]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/navigator_state.restorable_push.0.dart b/examples/api/lib/widgets/navigator/navigator_state.restorable_push.0.dart index b6967600718a..dcb2126f7c27 100644 --- a/examples/api/lib/widgets/navigator/navigator_state.restorable_push.0.dart +++ b/examples/api/lib/widgets/navigator/navigator_state.restorable_push.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigatorState.restorablePush]. +// Flutter code sample for [NavigatorState.restorablePush]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/navigator_state.restorable_push_and_remove_until.0.dart b/examples/api/lib/widgets/navigator/navigator_state.restorable_push_and_remove_until.0.dart index a574f7efa55c..d95104b41520 100644 --- a/examples/api/lib/widgets/navigator/navigator_state.restorable_push_and_remove_until.0.dart +++ b/examples/api/lib/widgets/navigator/navigator_state.restorable_push_and_remove_until.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigatorState.restorablePushAndRemoveUntil]. +// Flutter code sample for [NavigatorState.restorablePushAndRemoveUntil]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/navigator_state.restorable_push_replacement.0.dart b/examples/api/lib/widgets/navigator/navigator_state.restorable_push_replacement.0.dart index 65b888b2ae9c..cd98e500a71e 100644 --- a/examples/api/lib/widgets/navigator/navigator_state.restorable_push_replacement.0.dart +++ b/examples/api/lib/widgets/navigator/navigator_state.restorable_push_replacement.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NavigatorState.restorablePushReplacement]. +// Flutter code sample for [NavigatorState.restorablePushReplacement]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/navigator/restorable_route_future.0.dart b/examples/api/lib/widgets/navigator/restorable_route_future.0.dart index 88a2e7bd1a7d..34d6b457ff5c 100644 --- a/examples/api/lib/widgets/navigator/restorable_route_future.0.dart +++ b/examples/api/lib/widgets/navigator/restorable_route_future.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RestorableRouteFuture]. +// Flutter code sample for [RestorableRouteFuture]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.0.dart b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.0.dart index 01867a2b9323..7c165b7f573e 100644 --- a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.0.dart +++ b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NestedScrollView]. +// Flutter code sample for [NestedScrollView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.1.dart b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.1.dart index ffe3c0725c3f..c00f2a32e5d6 100644 --- a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.1.dart +++ b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NestedScrollView]. +// Flutter code sample for [NestedScrollView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.2.dart b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.2.dart index 67347b983e74..f3acbac1dc7f 100644 --- a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.2.dart +++ b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NestedScrollView]. +// Flutter code sample for [NestedScrollView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view_state.0.dart b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view_state.0.dart index e70d34b167d8..4b27c48bce26 100644 --- a/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view_state.0.dart +++ b/examples/api/lib/widgets/nested_scroll_view/nested_scroll_view_state.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [NestedScrollViewState]. +// Flutter code sample for [NestedScrollViewState]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/notification_listener/notification.0.dart b/examples/api/lib/widgets/notification_listener/notification.0.dart index 371340a46130..bce2018357cf 100644 --- a/examples/api/lib/widgets/notification_listener/notification.0.dart +++ b/examples/api/lib/widgets/notification_listener/notification.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Notification]. +// Flutter code sample for [Notification]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/overflow_bar/overflow_bar.0.dart b/examples/api/lib/widgets/overflow_bar/overflow_bar.0.dart index febca049cd76..338df0da9970 100644 --- a/examples/api/lib/widgets/overflow_bar/overflow_bar.0.dart +++ b/examples/api/lib/widgets/overflow_bar/overflow_bar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [OverflowBar]. +// Flutter code sample for [OverflowBar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/overlay/overlay.0.dart b/examples/api/lib/widgets/overlay/overlay.0.dart index 7444f6e2cf1a..78c20b929fed 100644 --- a/examples/api/lib/widgets/overlay/overlay.0.dart +++ b/examples/api/lib/widgets/overlay/overlay.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Overlay]. +// Flutter code sample for [Overlay]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.0.dart b/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.0.dart index 48872774167e..ac9705bf7ffa 100644 --- a/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.0.dart +++ b/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [GlowingOverscrollIndicator]. +// Flutter code sample for [GlowingOverscrollIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.1.dart b/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.1.dart index 949f0900c72c..2ad79f979d30 100644 --- a/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.1.dart +++ b/examples/api/lib/widgets/overscroll_indicator/glowing_overscroll_indicator.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [GlowingOverscrollIndicator]. +// Flutter code sample for [GlowingOverscrollIndicator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/page_storage/page_storage.0.dart b/examples/api/lib/widgets/page_storage/page_storage.0.dart index 78fe9b80e8f5..b6d541e2171f 100644 --- a/examples/api/lib/widgets/page_storage/page_storage.0.dart +++ b/examples/api/lib/widgets/page_storage/page_storage.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PageStorage]. +// Flutter code sample for [PageStorage]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/page_view/page_view.0.dart b/examples/api/lib/widgets/page_view/page_view.0.dart index c97446ec5fa5..f21d6892918f 100644 --- a/examples/api/lib/widgets/page_view/page_view.0.dart +++ b/examples/api/lib/widgets/page_view/page_view.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PageView]. +// Flutter code sample for [PageView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/preferred_size/preferred_size.0.dart b/examples/api/lib/widgets/preferred_size/preferred_size.0.dart index ddf0de2d4729..e04de9cf4e20 100644 --- a/examples/api/lib/widgets/preferred_size/preferred_size.0.dart +++ b/examples/api/lib/widgets/preferred_size/preferred_size.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PreferredSize]. +// Flutter code sample for [PreferredSize]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/restoration/restoration_mixin.0.dart b/examples/api/lib/widgets/restoration/restoration_mixin.0.dart index dc0e9acbabfa..3a4c9e23ec55 100644 --- a/examples/api/lib/widgets/restoration/restoration_mixin.0.dart +++ b/examples/api/lib/widgets/restoration/restoration_mixin.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RestorationMixin]. +// Flutter code sample for [RestorationMixin]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/restoration_properties/restorable_value.0.dart b/examples/api/lib/widgets/restoration_properties/restorable_value.0.dart index f3188bbb67fc..1b3316753a10 100644 --- a/examples/api/lib/widgets/restoration_properties/restorable_value.0.dart +++ b/examples/api/lib/widgets/restoration_properties/restorable_value.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RestorableValue]. +// Flutter code sample for [RestorableValue]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/routes/popup_route.0.dart b/examples/api/lib/widgets/routes/popup_route.0.dart index 1dec9fcb2a2f..c3b6a82adfef 100644 --- a/examples/api/lib/widgets/routes/popup_route.0.dart +++ b/examples/api/lib/widgets/routes/popup_route.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PopupRoute]. +// Flutter code sample for [PopupRoute]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/routes/show_general_dialog.0.dart b/examples/api/lib/widgets/routes/show_general_dialog.0.dart index 96d5d798ca16..fd735ddf0abe 100644 --- a/examples/api/lib/widgets/routes/show_general_dialog.0.dart +++ b/examples/api/lib/widgets/routes/show_general_dialog.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [showGeneralDialog]. +// Flutter code sample for [showGeneralDialog]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scroll_position/scroll_metrics_notification.0.dart b/examples/api/lib/widgets/scroll_position/scroll_metrics_notification.0.dart index 6db2c26d2b23..a6671619f2ef 100644 --- a/examples/api/lib/widgets/scroll_position/scroll_metrics_notification.0.dart +++ b/examples/api/lib/widgets/scroll_position/scroll_metrics_notification.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScrollMetricsNotification]. +// Flutter code sample for [ScrollMetricsNotification]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scroll_view/custom_scroll_view.1.dart b/examples/api/lib/widgets/scroll_view/custom_scroll_view.1.dart index 896924fb5627..2822dad0fee9 100644 --- a/examples/api/lib/widgets/scroll_view/custom_scroll_view.1.dart +++ b/examples/api/lib/widgets/scroll_view/custom_scroll_view.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CustomScrollView]. +// Flutter code sample for [CustomScrollView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scroll_view/listview_select.1.dart b/examples/api/lib/widgets/scroll_view/listview_select.1.dart index a31757c2b3d4..d1e915fea576 100644 --- a/examples/api/lib/widgets/scroll_view/listview_select.1.dart +++ b/examples/api/lib/widgets/scroll_view/listview_select.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ListTile] selection in a ListView or GridView. +// Flutter code sample for [ListTile] selection in a ListView or GridView. // Long press any ListTile to enable selection mode. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scrollbar/raw_scrollbar.0.dart b/examples/api/lib/widgets/scrollbar/raw_scrollbar.0.dart index 0d58fa3ac727..c8e0ac0a5b67 100644 --- a/examples/api/lib/widgets/scrollbar/raw_scrollbar.0.dart +++ b/examples/api/lib/widgets/scrollbar/raw_scrollbar.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawScrollbar]. +// Flutter code sample for [RawScrollbar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scrollbar/raw_scrollbar.1.dart b/examples/api/lib/widgets/scrollbar/raw_scrollbar.1.dart index bc01d353cf45..4b5ed249ef84 100644 --- a/examples/api/lib/widgets/scrollbar/raw_scrollbar.1.dart +++ b/examples/api/lib/widgets/scrollbar/raw_scrollbar.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawScrollbar]. +// Flutter code sample for [RawScrollbar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scrollbar/raw_scrollbar.2.dart b/examples/api/lib/widgets/scrollbar/raw_scrollbar.2.dart index 866e1844e8a9..72447b563b2c 100644 --- a/examples/api/lib/widgets/scrollbar/raw_scrollbar.2.dart +++ b/examples/api/lib/widgets/scrollbar/raw_scrollbar.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawScrollbar]. +// Flutter code sample for [RawScrollbar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scrollbar/raw_scrollbar.desktop.0.dart b/examples/api/lib/widgets/scrollbar/raw_scrollbar.desktop.0.dart index 8a1ad5db781d..31d231b7b25f 100644 --- a/examples/api/lib/widgets/scrollbar/raw_scrollbar.desktop.0.dart +++ b/examples/api/lib/widgets/scrollbar/raw_scrollbar.desktop.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Scrollbar]. +// Flutter code sample for [Scrollbar]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/scrollbar/raw_scrollbar.shape.0.dart b/examples/api/lib/widgets/scrollbar/raw_scrollbar.shape.0.dart index 8685d7a29c99..dd58df95654e 100644 --- a/examples/api/lib/widgets/scrollbar/raw_scrollbar.shape.0.dart +++ b/examples/api/lib/widgets/scrollbar/raw_scrollbar.shape.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RawScrollbar.shape]. +// Flutter code sample for [RawScrollbar.shape]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/shared_app_data/shared_app_data.0.dart b/examples/api/lib/widgets/shared_app_data/shared_app_data.0.dart index a53ae13410c6..513f3dcaf106 100644 --- a/examples/api/lib/widgets/shared_app_data/shared_app_data.0.dart +++ b/examples/api/lib/widgets/shared_app_data/shared_app_data.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SharedAppData]. +// Flutter code sample for [SharedAppData]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/shared_app_data/shared_app_data.1.dart b/examples/api/lib/widgets/shared_app_data/shared_app_data.1.dart index 9ba66f63b780..123e2bc9e458 100644 --- a/examples/api/lib/widgets/shared_app_data/shared_app_data.1.dart +++ b/examples/api/lib/widgets/shared_app_data/shared_app_data.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SharedAppData]. +// Flutter code sample for [SharedAppData]. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/shortcuts/character_activator.0.dart b/examples/api/lib/widgets/shortcuts/character_activator.0.dart index 48bdbe8b22d6..d7982c6d316c 100644 --- a/examples/api/lib/widgets/shortcuts/character_activator.0.dart +++ b/examples/api/lib/widgets/shortcuts/character_activator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [CharacterActivator]. +// Flutter code sample for [CharacterActivator]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/shortcuts/logical_key_set.0.dart b/examples/api/lib/widgets/shortcuts/logical_key_set.0.dart index f617bdfc6045..6a35565426c6 100644 --- a/examples/api/lib/widgets/shortcuts/logical_key_set.0.dart +++ b/examples/api/lib/widgets/shortcuts/logical_key_set.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [LogicalKeySet]. +// Flutter code sample for [LogicalKeySet]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/shortcuts/shortcuts.0.dart b/examples/api/lib/widgets/shortcuts/shortcuts.0.dart index 3efc1d96e485..772ef74d0338 100644 --- a/examples/api/lib/widgets/shortcuts/shortcuts.0.dart +++ b/examples/api/lib/widgets/shortcuts/shortcuts.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Shortcuts]. +// Flutter code sample for [Shortcuts]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/shortcuts/shortcuts.1.dart b/examples/api/lib/widgets/shortcuts/shortcuts.1.dart index 5975d8ee2548..81964d0479f5 100644 --- a/examples/api/lib/widgets/shortcuts/shortcuts.1.dart +++ b/examples/api/lib/widgets/shortcuts/shortcuts.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Shortcuts]. +// Flutter code sample for [Shortcuts]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/shortcuts/single_activator.single_activator.0.dart b/examples/api/lib/widgets/shortcuts/single_activator.single_activator.0.dart index f9ab6ca88db0..30973a07a22b 100644 --- a/examples/api/lib/widgets/shortcuts/single_activator.single_activator.0.dart +++ b/examples/api/lib/widgets/shortcuts/single_activator.single_activator.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SingleActivator.SingleActivator]. +// Flutter code sample for [SingleActivator.SingleActivator]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.0.dart b/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.0.dart index 2c9d3f27c4ec..110c5b138586 100644 --- a/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.0.dart +++ b/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SingleChildScrollView]. +// Flutter code sample for [SingleChildScrollView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.1.dart b/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.1.dart index 4e1ac49d434d..4a82db251435 100644 --- a/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.1.dart +++ b/examples/api/lib/widgets/single_child_scroll_view/single_child_scroll_view.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SingleChildScrollView]. +// Flutter code sample for [SingleChildScrollView]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/sliver/sliver_opacity.1.dart b/examples/api/lib/widgets/sliver/sliver_opacity.1.dart index 5204770c000e..af1d7719f41b 100644 --- a/examples/api/lib/widgets/sliver/sliver_opacity.1.dart +++ b/examples/api/lib/widgets/sliver/sliver_opacity.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverOpacity]. +// Flutter code sample for [SliverOpacity]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.0.dart b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.0.dart index a941604e48cb..bc34e5c4b24f 100644 --- a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.0.dart +++ b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverFillRemaining]. +// Flutter code sample for [SliverFillRemaining]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.1.dart b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.1.dart index 71e624dd3aea..b31b70b7757b 100644 --- a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.1.dart +++ b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverFillRemaining]. +// Flutter code sample for [SliverFillRemaining]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.2.dart b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.2.dart index 46d6d0549316..fa4a748ab9ed 100644 --- a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.2.dart +++ b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.2.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverFillRemaining]. +// Flutter code sample for [SliverFillRemaining]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.3.dart b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.3.dart index 85a291baa7a5..84db1ee58c72 100644 --- a/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.3.dart +++ b/examples/api/lib/widgets/sliver_fill/sliver_fill_remaining.3.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverFillRemaining]. +// Flutter code sample for [SliverFillRemaining]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/slotted_render_object_widget/slotted_multi_child_render_object_widget_mixin.0.dart b/examples/api/lib/widgets/slotted_render_object_widget/slotted_multi_child_render_object_widget_mixin.0.dart index 1e7db77c93fa..f623709881d6 100644 --- a/examples/api/lib/widgets/slotted_render_object_widget/slotted_multi_child_render_object_widget_mixin.0.dart +++ b/examples/api/lib/widgets/slotted_render_object_widget/slotted_multi_child_render_object_widget_mixin.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SlottedMultiChildRenderObjectWidgetMixin]. +// Flutter code sample for [SlottedMultiChildRenderObjectWidgetMixin]. import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/examples/api/lib/widgets/table/table.0.dart b/examples/api/lib/widgets/table/table.0.dart index 6e158883eb1d..c917ccdb0a8b 100644 --- a/examples/api/lib/widgets/table/table.0.dart +++ b/examples/api/lib/widgets/table/table.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [Table]. +// Flutter code sample for [Table]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/tap_region/text_field_tap_region.0.dart b/examples/api/lib/widgets/tap_region/text_field_tap_region.0.dart index a935e17807ea..a755ebe2531f 100644 --- a/examples/api/lib/widgets/tap_region/text_field_tap_region.0.dart +++ b/examples/api/lib/widgets/tap_region/text_field_tap_region.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TextFieldTapRegion]. +// Flutter code sample for [TextFieldTapRegion]. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/examples/api/lib/widgets/transitions/align_transition.0.dart b/examples/api/lib/widgets/transitions/align_transition.0.dart index e1052c7a7544..a978846b2a8a 100644 --- a/examples/api/lib/widgets/transitions/align_transition.0.dart +++ b/examples/api/lib/widgets/transitions/align_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AlignTransition]. +// Flutter code sample for [AlignTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/animated_builder.0.dart b/examples/api/lib/widgets/transitions/animated_builder.0.dart index 06cfadac91fb..49d4d81b63a8 100644 --- a/examples/api/lib/widgets/transitions/animated_builder.0.dart +++ b/examples/api/lib/widgets/transitions/animated_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedBuilder]. +// Flutter code sample for [AnimatedBuilder]. import 'dart:math' as math; diff --git a/examples/api/lib/widgets/transitions/animated_widget.0.dart b/examples/api/lib/widgets/transitions/animated_widget.0.dart index 678493d12ed4..1ab888ee638e 100644 --- a/examples/api/lib/widgets/transitions/animated_widget.0.dart +++ b/examples/api/lib/widgets/transitions/animated_widget.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [AnimatedWidget]. +// Flutter code sample for [AnimatedWidget]. import 'dart:math' as math; diff --git a/examples/api/lib/widgets/transitions/decorated_box_transition.0.dart b/examples/api/lib/widgets/transitions/decorated_box_transition.0.dart index 8d7943e69401..703b44f0af7e 100644 --- a/examples/api/lib/widgets/transitions/decorated_box_transition.0.dart +++ b/examples/api/lib/widgets/transitions/decorated_box_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DecoratedBoxTransition]. +// Flutter code sample for [DecoratedBoxTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/default_text_style_transition.0.dart b/examples/api/lib/widgets/transitions/default_text_style_transition.0.dart index 319211bf87fe..92185eb6476b 100644 --- a/examples/api/lib/widgets/transitions/default_text_style_transition.0.dart +++ b/examples/api/lib/widgets/transitions/default_text_style_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [DefaultTextStyleTransition]. +// Flutter code sample for [DefaultTextStyleTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/fade_transition.0.dart b/examples/api/lib/widgets/transitions/fade_transition.0.dart index 8ba5efa58c30..fbe97f5a78da 100644 --- a/examples/api/lib/widgets/transitions/fade_transition.0.dart +++ b/examples/api/lib/widgets/transitions/fade_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [FadeTransition]. +// Flutter code sample for [FadeTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/listenable_builder.0.dart b/examples/api/lib/widgets/transitions/listenable_builder.0.dart index 801bbdd3f751..22ec43ce498e 100644 --- a/examples/api/lib/widgets/transitions/listenable_builder.0.dart +++ b/examples/api/lib/widgets/transitions/listenable_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ListenableBuilder]. +// Flutter code sample for [ListenableBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/listenable_builder.1.dart b/examples/api/lib/widgets/transitions/listenable_builder.1.dart index 8693df9b3947..f6c00b549062 100644 --- a/examples/api/lib/widgets/transitions/listenable_builder.1.dart +++ b/examples/api/lib/widgets/transitions/listenable_builder.1.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for a [ChangeNotifier] with a [ListenableBuilder]. +// Flutter code sample for a [ChangeNotifier] with a [ListenableBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/positioned_transition.0.dart b/examples/api/lib/widgets/transitions/positioned_transition.0.dart index c5153a498cd7..ef8f6ee6a627 100644 --- a/examples/api/lib/widgets/transitions/positioned_transition.0.dart +++ b/examples/api/lib/widgets/transitions/positioned_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [PositionedTransition]. +// Flutter code sample for [PositionedTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/relative_positioned_transition.0.dart b/examples/api/lib/widgets/transitions/relative_positioned_transition.0.dart index 9e60d7b5202a..aad99c7ec3dd 100644 --- a/examples/api/lib/widgets/transitions/relative_positioned_transition.0.dart +++ b/examples/api/lib/widgets/transitions/relative_positioned_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RelativePositionedTransition]. +// Flutter code sample for [RelativePositionedTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/rotation_transition.0.dart b/examples/api/lib/widgets/transitions/rotation_transition.0.dart index 06a93e66e0b3..aa554b484f90 100644 --- a/examples/api/lib/widgets/transitions/rotation_transition.0.dart +++ b/examples/api/lib/widgets/transitions/rotation_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [RotationTransition]. +// Flutter code sample for [RotationTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/scale_transition.0.dart b/examples/api/lib/widgets/transitions/scale_transition.0.dart index 1d77a5e0918f..d1eeed84e03f 100644 --- a/examples/api/lib/widgets/transitions/scale_transition.0.dart +++ b/examples/api/lib/widgets/transitions/scale_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [ScaleTransition]. +// Flutter code sample for [ScaleTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/size_transition.0.dart b/examples/api/lib/widgets/transitions/size_transition.0.dart index f64e6897a204..5358f362e01f 100644 --- a/examples/api/lib/widgets/transitions/size_transition.0.dart +++ b/examples/api/lib/widgets/transitions/size_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SizeTransition]. +// Flutter code sample for [SizeTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/slide_transition.0.dart b/examples/api/lib/widgets/transitions/slide_transition.0.dart index 9d759bfc182d..767b9699014a 100644 --- a/examples/api/lib/widgets/transitions/slide_transition.0.dart +++ b/examples/api/lib/widgets/transitions/slide_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SlideTransition]. +// Flutter code sample for [SlideTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/transitions/sliver_fade_transition.0.dart b/examples/api/lib/widgets/transitions/sliver_fade_transition.0.dart index 51a46b3a233b..b7db20048224 100644 --- a/examples/api/lib/widgets/transitions/sliver_fade_transition.0.dart +++ b/examples/api/lib/widgets/transitions/sliver_fade_transition.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [SliverFadeTransition]. +// Flutter code sample for [SliverFadeTransition]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/tween_animation_builder/tween_animation_builder.0.dart b/examples/api/lib/widgets/tween_animation_builder/tween_animation_builder.0.dart index a5b9c2f86a41..b8b487760a76 100644 --- a/examples/api/lib/widgets/tween_animation_builder/tween_animation_builder.0.dart +++ b/examples/api/lib/widgets/tween_animation_builder/tween_animation_builder.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [TweenAnimationBuilder]. +// Flutter code sample for [TweenAnimationBuilder]. import 'package:flutter/material.dart'; diff --git a/examples/api/lib/widgets/will_pop_scope/will_pop_scope.0.dart b/examples/api/lib/widgets/will_pop_scope/will_pop_scope.0.dart index 975a888516f2..74efd9463639 100644 --- a/examples/api/lib/widgets/will_pop_scope/will_pop_scope.0.dart +++ b/examples/api/lib/widgets/will_pop_scope/will_pop_scope.0.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Flutter code sample for [WillPopScope]. +// Flutter code sample for [WillPopScope]. import 'package:flutter/material.dart'; diff --git a/packages/flutter/lib/src/widgets/async.dart b/packages/flutter/lib/src/widgets/async.dart index 5a4215800758..247a9ea9ef27 100644 --- a/packages/flutter/lib/src/widgets/async.dart +++ b/packages/flutter/lib/src/widgets/async.dart @@ -2,10 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Widgets that handle interaction with asynchronous computations. -/// -/// Asynchronous computations are represented by [Future]s and [Stream]s. - import 'dart:async' show StreamSubscription; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/test/animation/animation_sheet_test.dart b/packages/flutter/test/animation/animation_sheet_test.dart index 6550f3d3756d..ab31d685f116 100644 --- a/packages/flutter/test/animation/animation_sheet_test.dart +++ b/packages/flutter/test/animation/animation_sheet_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/animation/live_binding_test.dart b/packages/flutter/test/animation/live_binding_test.dart index e698f2d56a61..f49913bc7989 100644 --- a/packages/flutter/test/animation/live_binding_test.dart +++ b/packages/flutter/test/animation/live_binding_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/cupertino/action_sheet_test.dart b/packages/flutter/test/cupertino/action_sheet_test.dart index 80b1fc413e57..b8ba57806848 100644 --- a/packages/flutter/test/cupertino/action_sheet_test.dart +++ b/packages/flutter/test/cupertino/action_sheet_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=123" @Tags(['no-shuffle']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/test/cupertino/activity_indicator_test.dart b/packages/flutter/test/cupertino/activity_indicator_test.dart index 2b6025d8aea5..3151fc1887ae 100644 --- a/packages/flutter/test/cupertino/activity_indicator_test.dart +++ b/packages/flutter/test/cupertino/activity_indicator_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/scheduler.dart'; diff --git a/packages/flutter/test/cupertino/date_picker_test.dart b/packages/flutter/test/cupertino/date_picker_test.dart index 3353f6507a0e..b7367202d2b4 100644 --- a/packages/flutter/test/cupertino/date_picker_test.dart +++ b/packages/flutter/test/cupertino/date_picker_test.dart @@ -11,6 +11,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set', 'no-shuffle']) +library; import 'dart:ui'; diff --git a/packages/flutter/test/cupertino/dialog_test.dart b/packages/flutter/test/cupertino/dialog_test.dart index d1e1b2b92993..441e4465aecb 100644 --- a/packages/flutter/test/cupertino/dialog_test.dart +++ b/packages/flutter/test/cupertino/dialog_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:math'; import 'dart:ui'; diff --git a/packages/flutter/test/cupertino/magnifier_test.dart b/packages/flutter/test/cupertino/magnifier_test.dart index 6b2ee60febd9..670283704f1b 100644 --- a/packages/flutter/test/cupertino/magnifier_test.dart +++ b/packages/flutter/test/cupertino/magnifier_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @Tags(['reduced-test-set']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/cupertino/nav_bar_test.dart b/packages/flutter/test/cupertino/nav_bar_test.dart index 269e45b181f3..a2c7520f2aa2 100644 --- a/packages/flutter/test/cupertino/nav_bar_test.dart +++ b/packages/flutter/test/cupertino/nav_bar_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/cupertino/nav_bar_transition_test.dart b/packages/flutter/test/cupertino/nav_bar_transition_test.dart index f739bc5759d2..a1e04afbacda 100644 --- a/packages/flutter/test/cupertino/nav_bar_transition_test.dart +++ b/packages/flutter/test/cupertino/nav_bar_transition_test.dart @@ -2,12 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -@TestOn('!chrome') // TODO(gspencergoog): Remove this tag once this test's state leaks/test // dependencies have been fixed. // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=456" @Tags(['no-shuffle']) +@TestOn('!chrome') +library; import 'dart:ui'; diff --git a/packages/flutter/test/cupertino/refresh_test.dart b/packages/flutter/test/cupertino/refresh_test.dart index 4873d52bab6b..7bc647570a91 100644 --- a/packages/flutter/test/cupertino/refresh_test.dart +++ b/packages/flutter/test/cupertino/refresh_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('!chrome') +library; import 'dart:async'; import 'package:flutter/cupertino.dart'; diff --git a/packages/flutter/test/cupertino/route_test.dart b/packages/flutter/test/cupertino/route_test.dart index c277d55dd933..d01a99e825c7 100644 --- a/packages/flutter/test/cupertino/route_test.dart +++ b/packages/flutter/test/cupertino/route_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'dart:ui'; import 'package:flutter/cupertino.dart'; diff --git a/packages/flutter/test/cupertino/segmented_control_test.dart b/packages/flutter/test/cupertino/segmented_control_test.dart index 65a62297adc6..42775489f9d3 100644 --- a/packages/flutter/test/cupertino/segmented_control_test.dart +++ b/packages/flutter/test/cupertino/segmented_control_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:ui' as ui; diff --git a/packages/flutter/test/cupertino/switch_test.dart b/packages/flutter/test/cupertino/switch_test.dart index 025275a7fbc7..2644de993268 100644 --- a/packages/flutter/test/cupertino/switch_test.dart +++ b/packages/flutter/test/cupertino/switch_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/test/cupertino/text_field_test.dart b/packages/flutter/test/cupertino/text_field_test.dart index 44076c65a8a5..b068ba236c53 100644 --- a/packages/flutter/test/cupertino/text_field_test.dart +++ b/packages/flutter/test/cupertino/text_field_test.dart @@ -11,6 +11,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set', 'no-shuffle']) +library; import 'dart:ui' as ui show BoxHeightStyle, BoxWidthStyle, Color; diff --git a/packages/flutter/test/cupertino/text_selection_test.dart b/packages/flutter/test/cupertino/text_selection_test.dart index 9941e8b8deed..542a014b6e94 100644 --- a/packages/flutter/test/cupertino/text_selection_test.dart +++ b/packages/flutter/test/cupertino/text_selection_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:ui' as ui show BoxHeightStyle; diff --git a/packages/flutter/test/dart/browser_environment_test.dart b/packages/flutter/test/dart/browser_environment_test.dart index f9be690282fd..892cf2c80b88 100644 --- a/packages/flutter/test/dart/browser_environment_test.dart +++ b/packages/flutter/test/dart/browser_environment_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('browser') +library; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/examples/sector_layout_test.dart b/packages/flutter/test/examples/sector_layout_test.dart index 6280854a82c8..a36460ee7c2f 100644 --- a/packages/flutter/test/examples/sector_layout_test.dart +++ b/packages/flutter/test/examples/sector_layout_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'package:flutter_test/flutter_test.dart'; import '../../../../examples/layers/rendering/custom_coordinate_systems.dart'; diff --git a/packages/flutter/test/foundation/consolidate_response_test.dart b/packages/flutter/test/foundation/consolidate_response_test.dart index 973e817afdbc..51faac9b49f5 100644 --- a/packages/flutter/test/foundation/consolidate_response_test.dart +++ b/packages/flutter/test/foundation/consolidate_response_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('!chrome') +library; import 'dart:async'; import 'dart:io'; diff --git a/packages/flutter/test/foundation/error_reporting_test.dart b/packages/flutter/test/foundation/error_reporting_test.dart index 140938a73b1d..43071a79c7b5 100644 --- a/packages/flutter/test/foundation/error_reporting_test.dart +++ b/packages/flutter/test/foundation/error_reporting_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('!chrome') +library; import 'package:flutter/foundation.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/foundation/service_extensions_test.dart b/packages/flutter/test/foundation/service_extensions_test.dart index 92620e6ce5b1..e234bf134be1 100644 --- a/packages/flutter/test/foundation/service_extensions_test.dart +++ b/packages/flutter/test/foundation/service_extensions_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=123" @Tags(['no-shuffle']) +library; import 'dart:async'; import 'dart:convert'; diff --git a/packages/flutter/test/foundation/stack_trace_test.dart b/packages/flutter/test/foundation/stack_trace_test.dart index 3885b00914be..912e5af7fd83 100644 --- a/packages/flutter/test/foundation/stack_trace_test.dart +++ b/packages/flutter/test/foundation/stack_trace_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('!chrome') +library; import 'package:flutter/foundation.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/material/animated_icons_test.dart b/packages/flutter/test/material/animated_icons_test.dart index 66d9c19ef11d..720dfa63172f 100644 --- a/packages/flutter/test/material/animated_icons_test.dart +++ b/packages/flutter/test/material/animated_icons_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @Tags(['reduced-test-set']) +library; import 'dart:math' as math show pi; diff --git a/packages/flutter/test/material/app_test.dart b/packages/flutter/test/material/app_test.dart index 9d6c9c735229..919061fac744 100644 --- a/packages/flutter/test/material/app_test.dart +++ b/packages/flutter/test/material/app_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=123" @Tags(['no-shuffle']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/test/material/bottom_app_bar_test.dart b/packages/flutter/test/material/bottom_app_bar_test.dart index 554e73a71f5a..e945a6c72704 100644 --- a/packages/flutter/test/material/bottom_app_bar_test.dart +++ b/packages/flutter/test/material/bottom_app_bar_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/material/bottom_app_bar_theme_test.dart b/packages/flutter/test/material/bottom_app_bar_theme_test.dart index f1cf780274a8..2926a8b3c9fe 100644 --- a/packages/flutter/test/material/bottom_app_bar_theme_test.dart +++ b/packages/flutter/test/material/bottom_app_bar_theme_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/material/bottom_navigation_bar_test.dart b/packages/flutter/test/material/bottom_navigation_bar_test.dart index afc87811c049..889a945eda94 100644 --- a/packages/flutter/test/material/bottom_navigation_bar_test.dart +++ b/packages/flutter/test/material/bottom_navigation_bar_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:ui'; diff --git a/packages/flutter/test/material/card_theme_test.dart b/packages/flutter/test/material/card_theme_test.dart index 11db02fa452c..0d09217d35ff 100644 --- a/packages/flutter/test/material/card_theme_test.dart +++ b/packages/flutter/test/material/card_theme_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/material/circle_avatar_test.dart b/packages/flutter/test/material/circle_avatar_test.dart index 9249f4344bb1..fb737b305388 100644 --- a/packages/flutter/test/material/circle_avatar_test.dart +++ b/packages/flutter/test/material/circle_avatar_test.dart @@ -5,6 +5,8 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; + import 'dart:typed_data'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/data_table_test.dart b/packages/flutter/test/material/data_table_test.dart index ad4733e6f0ef..177923290bdc 100644 --- a/packages/flutter/test/material/data_table_test.dart +++ b/packages/flutter/test/material/data_table_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'dart:math' as math; import 'package:flutter/gestures.dart'; diff --git a/packages/flutter/test/material/dialog_theme_test.dart b/packages/flutter/test/material/dialog_theme_test.dart index f08917f73d0f..4898ab366e21 100644 --- a/packages/flutter/test/material/dialog_theme_test.dart +++ b/packages/flutter/test/material/dialog_theme_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/material/dropdown_test.dart b/packages/flutter/test/material/dropdown_test.dart index 69dd64c3dc74..c410afd82fe3 100644 --- a/packages/flutter/test/material/dropdown_test.dart +++ b/packages/flutter/test/material/dropdown_test.dart @@ -11,6 +11,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set', 'no-shuffle']) +library; import 'dart:math' as math; diff --git a/packages/flutter/test/material/flexible_space_bar_stretch_mode_test.dart b/packages/flutter/test/material/flexible_space_bar_stretch_mode_test.dart index 52edc91f7a49..d43165dd4e5f 100644 --- a/packages/flutter/test/material/flexible_space_bar_stretch_mode_test.dart +++ b/packages/flutter/test/material/flexible_space_bar_stretch_mode_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/material/flexible_space_bar_test.dart b/packages/flutter/test/material/flexible_space_bar_test.dart index 29629167ccf4..f869f23a6411 100644 --- a/packages/flutter/test/material/flexible_space_bar_test.dart +++ b/packages/flutter/test/material/flexible_space_bar_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/material/floating_action_button_test.dart b/packages/flutter/test/material/floating_action_button_test.dart index 2fcc2e5de93a..15b4f27c63fb 100644 --- a/packages/flutter/test/material/floating_action_button_test.dart +++ b/packages/flutter/test/material/floating_action_button_test.dart @@ -5,8 +5,9 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) - @TestOn('!chrome') +library; + import 'dart:ui'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/flutter_logo_test.dart b/packages/flutter/test/material/flutter_logo_test.dart index 3a391620ed90..bc81c43333e8 100644 --- a/packages/flutter/test/material/flutter_logo_test.dart +++ b/packages/flutter/test/material/flutter_logo_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/material/icons_test.dart b/packages/flutter/test/material/icons_test.dart index 483be01ec82c..bca06d81b987 100644 --- a/packages/flutter/test/material/icons_test.dart +++ b/packages/flutter/test/material/icons_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:file/file.dart'; import 'package:file/local.dart'; diff --git a/packages/flutter/test/material/ink_sparkle_test.dart b/packages/flutter/test/material/ink_sparkle_test.dart index 0a780b028bef..6a76bb9a5361 100644 --- a/packages/flutter/test/material/ink_sparkle_test.dart +++ b/packages/flutter/test/material/ink_sparkle_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/src/foundation/constants.dart'; diff --git a/packages/flutter/test/material/input_decorator_test.dart b/packages/flutter/test/material/input_decorator_test.dart index cc2caaf9f94e..f2b3575cf14e 100644 --- a/packages/flutter/test/material/input_decorator_test.dart +++ b/packages/flutter/test/material/input_decorator_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:async'; diff --git a/packages/flutter/test/material/magnifier_test.dart b/packages/flutter/test/material/magnifier_test.dart index 4bee8a555312..59ec1edc0c5b 100644 --- a/packages/flutter/test/material/magnifier_test.dart +++ b/packages/flutter/test/material/magnifier_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @Tags(['reduced-test-set']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/material_test.dart b/packages/flutter/test/material/material_test.dart index 1ad380d440c1..ba8a399d934f 100644 --- a/packages/flutter/test/material/material_test.dart +++ b/packages/flutter/test/material/material_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/material/page_test.dart b/packages/flutter/test/material/page_test.dart index b0fe989ca4c0..0296c25bcddd 100644 --- a/packages/flutter/test/material/page_test.dart +++ b/packages/flutter/test/material/page_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @Tags(['reduced-test-set']) +library; import 'dart:ui' as ui; import 'package:flutter/cupertino.dart' show CupertinoPageRoute; diff --git a/packages/flutter/test/material/paginated_data_table_test.dart b/packages/flutter/test/material/paginated_data_table_test.dart index 38bf14ab0305..430e83ae6f5c 100644 --- a/packages/flutter/test/material/paginated_data_table_test.dart +++ b/packages/flutter/test/material/paginated_data_table_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=1000" @Tags(['no-shuffle']) +library; import 'package:flutter/gestures.dart' show DragStartBehavior; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/progress_indicator_test.dart b/packages/flutter/test/material/progress_indicator_test.dart index baf76a934ae0..4e8a39c11738 100644 --- a/packages/flutter/test/material/progress_indicator_test.dart +++ b/packages/flutter/test/material/progress_indicator_test.dart @@ -11,6 +11,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set', 'no-shuffle']) +library; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/radio_test.dart b/packages/flutter/test/material/radio_test.dart index 694b1de1f20b..6e93da5674ff 100644 --- a/packages/flutter/test/material/radio_test.dart +++ b/packages/flutter/test/material/radio_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:ui'; diff --git a/packages/flutter/test/material/reorderable_list_test.dart b/packages/flutter/test/material/reorderable_list_test.dart index e42967c7031b..ce3ce475dafc 100644 --- a/packages/flutter/test/material/reorderable_list_test.dart +++ b/packages/flutter/test/material/reorderable_list_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/scrollbar_test.dart b/packages/flutter/test/material/scrollbar_test.dart index ff114c61b3f9..eb0aa6811d89 100644 --- a/packages/flutter/test/material/scrollbar_test.dart +++ b/packages/flutter/test/material/scrollbar_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=382757700" @Tags(['no-shuffle']) +library; import 'dart:ui' as ui; diff --git a/packages/flutter/test/material/snack_bar_test.dart b/packages/flutter/test/material/snack_bar_test.dart index 7b8009f6759c..bc1c699c6743 100644 --- a/packages/flutter/test/material/snack_bar_test.dart +++ b/packages/flutter/test/material/snack_bar_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:ui'; diff --git a/packages/flutter/test/material/switch_test.dart b/packages/flutter/test/material/switch_test.dart index 98b6340ae031..150e2f61fc43 100644 --- a/packages/flutter/test/material/switch_test.dart +++ b/packages/flutter/test/material/switch_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:async'; import 'dart:ui' as ui; diff --git a/packages/flutter/test/material/tab_bar_theme_test.dart b/packages/flutter/test/material/tab_bar_theme_test.dart index 18a63c4c7e2c..b807bcd25f71 100644 --- a/packages/flutter/test/material/tab_bar_theme_test.dart +++ b/packages/flutter/test/material/tab_bar_theme_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/text_field_test.dart b/packages/flutter/test/material/text_field_test.dart index 5d8cc36bd7af..ea3ba4063214 100644 --- a/packages/flutter/test/material/text_field_test.dart +++ b/packages/flutter/test/material/text_field_test.dart @@ -11,6 +11,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set', 'no-shuffle']) +library; import 'dart:math' as math; import 'dart:ui' as ui show BoxHeightStyle, BoxWidthStyle, WindowPadding; diff --git a/packages/flutter/test/material/text_selection_test.dart b/packages/flutter/test/material/text_selection_test.dart index 230ca071422b..2bd8d97842e5 100644 --- a/packages/flutter/test/material/text_selection_test.dart +++ b/packages/flutter/test/material/text_selection_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/material/time_picker_test.dart b/packages/flutter/test/material/time_picker_test.dart index 2b5a322fed82..b8ba6ae7c99d 100644 --- a/packages/flutter/test/material/time_picker_test.dart +++ b/packages/flutter/test/material/time_picker_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'dart:ui'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/toggle_buttons_test.dart b/packages/flutter/test/material/toggle_buttons_test.dart index 981763e9428b..4223502625ed 100644 --- a/packages/flutter/test/material/toggle_buttons_test.dart +++ b/packages/flutter/test/material/toggle_buttons_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/material/value_indicating_slider_test.dart b/packages/flutter/test/material/value_indicating_slider_test.dart index fd1b90d70925..c6a75f900ae0 100644 --- a/packages/flutter/test/material/value_indicating_slider_test.dart +++ b/packages/flutter/test/material/value_indicating_slider_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/painting/box_painter_test.dart b/packages/flutter/test/painting/box_painter_test.dart index 85fec3f677b5..85d5a1d540a3 100644 --- a/packages/flutter/test/painting/box_painter_test.dart +++ b/packages/flutter/test/painting/box_painter_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/painting/continuous_rectangle_border_test.dart b/packages/flutter/test/painting/continuous_rectangle_border_test.dart index 44d6ad671d9c..1f74c3c130b8 100644 --- a/packages/flutter/test/painting/continuous_rectangle_border_test.dart +++ b/packages/flutter/test/painting/continuous_rectangle_border_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/painting/flutter_logo_test.dart b/packages/flutter/test/painting/flutter_logo_test.dart index 08b9828a8c7d..57dc97f6ba97 100644 --- a/packages/flutter/test/painting/flutter_logo_test.dart +++ b/packages/flutter/test/painting/flutter_logo_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/painting/gradient_test.dart b/packages/flutter/test/painting/gradient_test.dart index 5605325a12be..afe2e69bd939 100644 --- a/packages/flutter/test/painting/gradient_test.dart +++ b/packages/flutter/test/painting/gradient_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:math' as math; diff --git a/packages/flutter/test/painting/star_border_test.dart b/packages/flutter/test/painting/star_border_test.dart index 945f67b2b24a..a9d91cbdf0c4 100644 --- a/packages/flutter/test/painting/star_border_test.dart +++ b/packages/flutter/test/painting/star_border_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/physics/newton_test.dart b/packages/flutter/test/physics/newton_test.dart index 92852c3eaf2a..896e1319fb95 100644 --- a/packages/flutter/test/physics/newton_test.dart +++ b/packages/flutter/test/physics/newton_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=123" @Tags(['no-shuffle']) +library; import 'package:flutter/foundation.dart'; import 'package:flutter/physics.dart'; diff --git a/packages/flutter/test/rendering/editable_test.dart b/packages/flutter/test/rendering/editable_test.dart index 7a96f1402737..25edc2ab1315 100644 --- a/packages/flutter/test/rendering/editable_test.dart +++ b/packages/flutter/test/rendering/editable_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=20210704" @Tags(['no-shuffle']) +library; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; diff --git a/packages/flutter/test/rendering/localized_fonts_test.dart b/packages/flutter/test/rendering/localized_fonts_test.dart index 98497769fdc6..b1cbc5eb1229 100644 --- a/packages/flutter/test/rendering/localized_fonts_test.dart +++ b/packages/flutter/test/rendering/localized_fonts_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/rendering/viewport_test.dart b/packages/flutter/test/rendering/viewport_test.dart index fcf683382388..ea33ccc5f517 100644 --- a/packages/flutter/test/rendering/viewport_test.dart +++ b/packages/flutter/test/rendering/viewport_test.dart @@ -8,6 +8,7 @@ // (or vice versa). @Tags(['reduced-test-set']) +library; import 'dart:ui' as ui; diff --git a/packages/flutter/test/services/message_codecs_vm_test.dart b/packages/flutter/test/services/message_codecs_vm_test.dart index 8bb069f7b882..ffd96a0d331b 100644 --- a/packages/flutter/test/services/message_codecs_vm_test.dart +++ b/packages/flutter/test/services/message_codecs_vm_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'dart:typed_data'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/test/services/platform_channel_test.dart b/packages/flutter/test/services/platform_channel_test.dart index 86a3e863016a..03bf38ee07b5 100644 --- a/packages/flutter/test/services/platform_channel_test.dart +++ b/packages/flutter/test/services/platform_channel_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=20210826" @Tags(['no-shuffle']) +library; import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/services/platform_messages_test.dart b/packages/flutter/test/services/platform_messages_test.dart index 8fd3937f5c32..3e690bb49ad5 100644 --- a/packages/flutter/test/services/platform_messages_test.dart +++ b/packages/flutter/test/services/platform_messages_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/widgets/backdrop_filter_test.dart b/packages/flutter/test/widgets/backdrop_filter_test.dart index 3e7fe76fdca9..ebc77b1d0649 100644 --- a/packages/flutter/test/widgets/backdrop_filter_test.dart +++ b/packages/flutter/test/widgets/backdrop_filter_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:ui'; diff --git a/packages/flutter/test/widgets/basic_test.dart b/packages/flutter/test/widgets/basic_test.dart index 695aefe44a5b..8b0b6acabc29 100644 --- a/packages/flutter/test/widgets/basic_test.dart +++ b/packages/flutter/test/widgets/basic_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:math' as math; import 'dart:ui' as ui; diff --git a/packages/flutter/test/widgets/clip_test.dart b/packages/flutter/test/widgets/clip_test.dart index 6f62675f9f78..1a50011f61c8 100644 --- a/packages/flutter/test/widgets/clip_test.dart +++ b/packages/flutter/test/widgets/clip_test.dart @@ -6,6 +6,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/widgets/color_filter_test.dart b/packages/flutter/test/widgets/color_filter_test.dart index 1c3d20ed5925..153e6d88b81d 100644 --- a/packages/flutter/test/widgets/color_filter_test.dart +++ b/packages/flutter/test/widgets/color_filter_test.dart @@ -5,8 +5,9 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) - @TestOn('!chrome') +library; + import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/widgets/container_test.dart b/packages/flutter/test/widgets/container_test.dart index f519a381fe8f..7e3a507d197e 100644 --- a/packages/flutter/test/widgets/container_test.dart +++ b/packages/flutter/test/widgets/container_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/widgets/draggable_test.dart b/packages/flutter/test/widgets/draggable_test.dart index db14222b6e5a..e3cce7bb60ed 100644 --- a/packages/flutter/test/widgets/draggable_test.dart +++ b/packages/flutter/test/widgets/draggable_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=123" @Tags(['no-shuffle']) +library; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/widgets/editable_text_cursor_test.dart b/packages/flutter/test/widgets/editable_text_cursor_test.dart index b0d374c4f04f..87ea54c53cc3 100644 --- a/packages/flutter/test/widgets/editable_text_cursor_test.dart +++ b/packages/flutter/test/widgets/editable_text_cursor_test.dart @@ -5,8 +5,9 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) - @TestOn('!chrome') +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/widgets/html_element_view_test.dart b/packages/flutter/test/widgets/html_element_view_test.dart index e07dc2785fd2..4b58794dd0b5 100644 --- a/packages/flutter/test/widgets/html_element_view_test.dart +++ b/packages/flutter/test/widgets/html_element_view_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('chrome') +library; + import 'dart:async'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/widgets/image_filter_quality_test.dart b/packages/flutter/test/widgets/image_filter_quality_test.dart index a2f8539a7b31..d8b1ee367b0f 100644 --- a/packages/flutter/test/widgets/image_filter_quality_test.dart +++ b/packages/flutter/test/widgets/image_filter_quality_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:async'; import 'dart:ui' as ui; diff --git a/packages/flutter/test/widgets/image_filter_test.dart b/packages/flutter/test/widgets/image_filter_test.dart index 157cddcb5285..c4f00e6c1254 100644 --- a/packages/flutter/test/widgets/image_filter_test.dart +++ b/packages/flutter/test/widgets/image_filter_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:math'; import 'dart:ui'; diff --git a/packages/flutter/test/widgets/image_resolution_test.dart b/packages/flutter/test/widgets/image_resolution_test.dart index 644f2c47903d..76218cce000a 100644 --- a/packages/flutter/test/widgets/image_resolution_test.dart +++ b/packages/flutter/test/widgets/image_resolution_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'dart:ui' as ui show Image; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/test/widgets/image_test.dart b/packages/flutter/test/widgets/image_test.dart index a55d3e71b26e..b8c8bd8e9484 100644 --- a/packages/flutter/test/widgets/image_test.dart +++ b/packages/flutter/test/widgets/image_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:async'; import 'dart:io'; diff --git a/packages/flutter/test/widgets/invert_colors_test.dart b/packages/flutter/test/widgets/invert_colors_test.dart index 67b69d000545..2c475a9715ef 100644 --- a/packages/flutter/test/widgets/invert_colors_test.dart +++ b/packages/flutter/test/widgets/invert_colors_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; diff --git a/packages/flutter/test/widgets/list_wheel_scroll_view_test.dart b/packages/flutter/test/widgets/list_wheel_scroll_view_test.dart index 88faa465b2ca..30406fe027bc 100644 --- a/packages/flutter/test/widgets/list_wheel_scroll_view_test.dart +++ b/packages/flutter/test/widgets/list_wheel_scroll_view_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/widgets/magnifier_test.dart b/packages/flutter/test/widgets/magnifier_test.dart index 0f60374b47de..b6dda7a2e675 100644 --- a/packages/flutter/test/widgets/magnifier_test.dart +++ b/packages/flutter/test/widgets/magnifier_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @Tags(['reduced-test-set']) +library; import 'package:fake_async/fake_async.dart'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/test/widgets/opacity_test.dart b/packages/flutter/test/widgets/opacity_test.dart index 60a00bce8b5b..73f97f327518 100644 --- a/packages/flutter/test/widgets/opacity_test.dart +++ b/packages/flutter/test/widgets/opacity_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/widgets/overscroll_stretch_indicator_test.dart b/packages/flutter/test/widgets/overscroll_stretch_indicator_test.dart index 0d1a00b0d920..e664202540ca 100644 --- a/packages/flutter/test/widgets/overscroll_stretch_indicator_test.dart +++ b/packages/flutter/test/widgets/overscroll_stretch_indicator_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; diff --git a/packages/flutter/test/widgets/page_route_builder_test.dart b/packages/flutter/test/widgets/page_route_builder_test.dart index 2c5c47846b91..6bf6b7c9b9f1 100644 --- a/packages/flutter/test/widgets/page_route_builder_test.dart +++ b/packages/flutter/test/widgets/page_route_builder_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/widgets/physical_model_test.dart b/packages/flutter/test/widgets/physical_model_test.dart index 4591603ee31d..c884ecc1c301 100644 --- a/packages/flutter/test/widgets/physical_model_test.dart +++ b/packages/flutter/test/widgets/physical_model_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/test/widgets/platform_view_test.dart b/packages/flutter/test/widgets/platform_view_test.dart index 79542a768b0b..a79fd7e64264 100644 --- a/packages/flutter/test/widgets/platform_view_test.dart +++ b/packages/flutter/test/widgets/platform_view_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('!chrome') +library; import 'dart:async'; import 'dart:ui'; diff --git a/packages/flutter/test/widgets/route_notification_messages_test.dart b/packages/flutter/test/widgets/route_notification_messages_test.dart index 4eb8545160d6..f8837ef69253 100644 --- a/packages/flutter/test/widgets/route_notification_messages_test.dart +++ b/packages/flutter/test/widgets/route_notification_messages_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/test/widgets/selectable_region_context_menu_test.dart b/packages/flutter/test/widgets/selectable_region_context_menu_test.dart index 1be9360de30e..11bb65cfe47a 100644 --- a/packages/flutter/test/widgets/selectable_region_context_menu_test.dart +++ b/packages/flutter/test/widgets/selectable_region_context_menu_test.dart @@ -5,6 +5,7 @@ // ignore_for_file: undefined_class, undefined_getter, undefined_setter @TestOn('browser') // This file contains web-only library. +library; import 'dart:html' as html; diff --git a/packages/flutter/test/widgets/selectable_text_test.dart b/packages/flutter/test/widgets/selectable_text_test.dart index 8ffefd2bc1d6..2a1a992a9662 100644 --- a/packages/flutter/test/widgets/selectable_text_test.dart +++ b/packages/flutter/test/widgets/selectable_text_test.dart @@ -5,8 +5,9 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) - @TestOn('!chrome') +library; + import 'dart:ui' as ui show BoxHeightStyle, BoxWidthStyle; import 'dart:ui'; diff --git a/packages/flutter/test/widgets/semantics_tester_generate_test_semantics_expression_for_current_semantics_tree_test.dart b/packages/flutter/test/widgets/semantics_tester_generate_test_semantics_expression_for_current_semantics_tree_test.dart index eb3c58f8e1e5..1f7aec466cf9 100644 --- a/packages/flutter/test/widgets/semantics_tester_generate_test_semantics_expression_for_current_semantics_tree_test.dart +++ b/packages/flutter/test/widgets/semantics_tester_generate_test_semantics_expression_for_current_semantics_tree_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @TestOn('!chrome') +library; + import 'dart:io'; import 'package:flutter/material.dart'; diff --git a/packages/flutter/test/widgets/shader_mask_test.dart b/packages/flutter/test/widgets/shader_mask_test.dart index 77df57fd6afd..018950f20bc8 100644 --- a/packages/flutter/test/widgets/shader_mask_test.dart +++ b/packages/flutter/test/widgets/shader_mask_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/widgets.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/widgets/shadow_test.dart b/packages/flutter/test/widgets/shadow_test.dart index a570a4e9fa31..eb97b9af2d9a 100644 --- a/packages/flutter/test/widgets/shadow_test.dart +++ b/packages/flutter/test/widgets/shadow_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/widgets/snapshot_widget_test.dart b/packages/flutter/test/widgets/snapshot_widget_test.dart index 5bfe0c3086d3..32380f406e8c 100644 --- a/packages/flutter/test/widgets/snapshot_widget_test.dart +++ b/packages/flutter/test/widgets/snapshot_widget_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:ui' as ui; diff --git a/packages/flutter/test/widgets/text_golden_test.dart b/packages/flutter/test/widgets/text_golden_test.dart index 5db8aee82f0a..497beb637c16 100644 --- a/packages/flutter/test/widgets/text_golden_test.dart +++ b/packages/flutter/test/widgets/text_golden_test.dart @@ -5,8 +5,9 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) - @TestOn('!chrome') +library; + import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/packages/flutter/test/widgets/transform_test.dart b/packages/flutter/test/widgets/transform_test.dart index e677361c0b17..a743381746df 100644 --- a/packages/flutter/test/widgets/transform_test.dart +++ b/packages/flutter/test/widgets/transform_test.dart @@ -5,6 +5,7 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set']) +library; import 'dart:math' as math; import 'dart:ui' as ui; diff --git a/packages/flutter/test/widgets/widget_inspector_test.dart b/packages/flutter/test/widgets/widget_inspector_test.dart index c3d5499337d5..9246b3601335 100644 --- a/packages/flutter/test/widgets/widget_inspector_test.dart +++ b/packages/flutter/test/widgets/widget_inspector_test.dart @@ -11,8 +11,8 @@ // This file is run as part of a reduced test set in CI on Mac and Windows // machines. @Tags(['reduced-test-set', 'no-shuffle']) - @TestOn('!chrome') +library; import 'dart:convert'; import 'dart:math'; diff --git a/packages/flutter_driver/lib/src/common/fuchsia_compat.dart b/packages/flutter_driver/lib/src/common/fuchsia_compat.dart index 6e33c59f4952..251b5f108066 100644 --- a/packages/flutter_driver/lib/src/common/fuchsia_compat.dart +++ b/packages/flutter_driver/lib/src/common/fuchsia_compat.dart @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -/// Convenience methods for Flutter application driving on Fuchsia. Can -/// be run on either a host machine (making a remote connection to a Fuchsia -/// device), or on the target Fuchsia machine. import 'dart:io'; import 'package:fuchsia_remote_debug_protocol/fuchsia_remote_debug_protocol.dart'; diff --git a/packages/flutter_driver/test/src/real_tests/extension_test.dart b/packages/flutter_driver/test/src/real_tests/extension_test.dart index ca5906c172c7..3ad19666a9ba 100644 --- a/packages/flutter_driver/test/src/real_tests/extension_test.dart +++ b/packages/flutter_driver/test/src/real_tests/extension_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=20210721" @Tags(['no-shuffle']) +library; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter_test/test/bindings_test.dart b/packages/flutter_test/test/bindings_test.dart index 8e5a31690a70..d83abe4ae7d2 100644 --- a/packages/flutter_test/test/bindings_test.dart +++ b/packages/flutter_test/test/bindings_test.dart @@ -7,6 +7,8 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=20210721" @Tags(['no-shuffle']) +library; + import 'dart:async'; import 'dart:io'; diff --git a/packages/flutter_test/test/test_text_input_test.dart b/packages/flutter_test/test/test_text_input_test.dart index b607d7e7c983..eb911ff2c31d 100644 --- a/packages/flutter_test/test/test_text_input_test.dart +++ b/packages/flutter_test/test/test_text_input_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=20210721" @Tags(['no-shuffle']) +library; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/packages/flutter_tools/lib/src/base/io.dart b/packages/flutter_tools/lib/src/base/io.dart index d50cca63c8be..af967f7af40f 100644 --- a/packages/flutter_tools/lib/src/base/io.dart +++ b/packages/flutter_tools/lib/src/base/io.dart @@ -25,6 +25,7 @@ /// about any additional exports that you add to this file, as doing so will /// increase the API surface that we have to test in Flutter tools, and the APIs /// in `dart:io` can sometimes be hard to use in tests. +library; // We allow `print()` in this file as a fallback for writing to the terminal via // regular stdout/stderr/stdio paths. Everything else in the flutter_tools diff --git a/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart b/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart index 5ea05390d1d9..c96b1474e7c4 100644 --- a/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart +++ b/packages/flutter_tools/test/commands.shard/permeable/packages_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=1000" @Tags(['no-shuffle']) +library; import 'dart:async'; import 'dart:convert'; diff --git a/packages/flutter_tools/test/general.shard/dart/language_version_test.dart b/packages/flutter_tools/test/general.shard/dart/language_version_test.dart index fb0134856b7b..2be1ea9790e2 100644 --- a/packages/flutter_tools/test/general.shard/dart/language_version_test.dart +++ b/packages/flutter_tools/test/general.shard/dart/language_version_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=456" @Tags(['no-shuffle']) +library; import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; diff --git a/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart b/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart index 57762ba6a6a1..e147aa67e504 100644 --- a/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart +++ b/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=1000" @Tags(['no-shuffle']) +library; import 'package:file/file.dart'; diff --git a/packages/flutter_tools/test/integration.shard/overall_experience_test.dart b/packages/flutter_tools/test/integration.shard/overall_experience_test.dart index 9c8c099f418f..6df9683c2060 100644 --- a/packages/flutter_tools/test/integration.shard/overall_experience_test.dart +++ b/packages/flutter_tools/test/integration.shard/overall_experience_test.dart @@ -24,6 +24,7 @@ // This file intentionally assumes the tests run in order. @Tags(['no-shuffle']) +library; import 'dart:async'; import 'dart:convert'; diff --git a/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart b/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart index 7b1b18725286..d752769a6f3a 100644 --- a/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart +++ b/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @Timeout(Duration(seconds: 600)) +library; import 'dart:io'; import 'package:file/file.dart'; diff --git a/packages/flutter_tools/test/integration.shard/test_test.dart b/packages/flutter_tools/test/integration.shard/test_test.dart index 02399694670c..3e1e99c73063 100644 --- a/packages/flutter_tools/test/integration.shard/test_test.dart +++ b/packages/flutter_tools/test/integration.shard/test_test.dart @@ -7,6 +7,7 @@ // https://github.com/flutter/flutter/issues/85160 // Fails with "flutter test --test-randomize-ordering-seed=1000" @Tags(['no-shuffle']) +library; import 'dart:async'; import 'dart:convert'; diff --git a/packages/flutter_web_plugins/test/navigation/url_strategy_test.dart b/packages/flutter_web_plugins/test/navigation/url_strategy_test.dart index d5d1022a54ec..20ea42fbc07c 100644 --- a/packages/flutter_web_plugins/test/navigation/url_strategy_test.dart +++ b/packages/flutter_web_plugins/test/navigation/url_strategy_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('chrome') // Uses web-only Flutter SDK +library; import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart'; diff --git a/packages/flutter_web_plugins/test/navigation/utils_test.dart b/packages/flutter_web_plugins/test/navigation/utils_test.dart index fa8348099470..b3690586135b 100644 --- a/packages/flutter_web_plugins/test/navigation/utils_test.dart +++ b/packages/flutter_web_plugins/test/navigation/utils_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('browser') // Uses web-only Flutter SDK +library; import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_web_plugins/src/navigation/utils.dart'; diff --git a/packages/flutter_web_plugins/test/plugin_event_channel_test.dart b/packages/flutter_web_plugins/test/plugin_event_channel_test.dart index 3ff4b92d2035..280580f5a51a 100644 --- a/packages/flutter_web_plugins/test/plugin_event_channel_test.dart +++ b/packages/flutter_web_plugins/test/plugin_event_channel_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('chrome') // Uses web-only Flutter SDK +library; import 'dart:async'; import 'dart:ui' as ui; diff --git a/packages/flutter_web_plugins/test/plugin_registry_test.dart b/packages/flutter_web_plugins/test/plugin_registry_test.dart index 5711eeae2894..d33d88866a02 100644 --- a/packages/flutter_web_plugins/test/plugin_registry_test.dart +++ b/packages/flutter_web_plugins/test/plugin_registry_test.dart @@ -3,6 +3,7 @@ // found in the LICENSE file. @TestOn('chrome') // Uses web-only Flutter SDK +library; import 'dart:ui' as ui; diff --git a/packages/integration_test/test/web_extension_test.dart b/packages/integration_test/test/web_extension_test.dart index 862335f2c21a..8097729366fd 100644 --- a/packages/integration_test/test/web_extension_test.dart +++ b/packages/integration_test/test/web_extension_test.dart @@ -3,6 +3,8 @@ // found in the LICENSE file. @Tags(['web']) +library; + import 'dart:js' as js; import 'package:flutter_test/flutter_test.dart';