diff --git a/packages/flutter/lib/src/widgets/actions.dart b/packages/flutter/lib/src/widgets/actions.dart index 6ab5dd14b6e59..ca7d3527bb9d1 100644 --- a/packages/flutter/lib/src/widgets/actions.dart +++ b/packages/flutter/lib/src/widgets/actions.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'routes.dart'; +/// @docImport 'text_editing_intents.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/adapter.dart b/packages/flutter/lib/src/widgets/adapter.dart index 1948312f7de41..bf9cde761a3c5 100644 --- a/packages/flutter/lib/src/widgets/adapter.dart +++ b/packages/flutter/lib/src/widgets/adapter.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'binding.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/animated_cross_fade.dart b/packages/flutter/lib/src/widgets/animated_cross_fade.dart index 332bfd1f63c1b..23eed17319a8d 100644 --- a/packages/flutter/lib/src/widgets/animated_cross_fade.dart +++ b/packages/flutter/lib/src/widgets/animated_cross_fade.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'animated_switcher.dart'; +/// @docImport 'implicit_animations.dart'; +library; + import 'package:flutter/rendering.dart'; import 'animated_size.dart'; diff --git a/packages/flutter/lib/src/widgets/animated_scroll_view.dart b/packages/flutter/lib/src/widgets/animated_scroll_view.dart index 53e973583251c..e32073164fa83 100644 --- a/packages/flutter/lib/src/widgets/animated_scroll_view.dart +++ b/packages/flutter/lib/src/widgets/animated_scroll_view.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'page_storage.dart'; +/// @docImport 'primary_scroll_controller.dart'; +library; + import 'package:flutter/foundation.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/animated_size.dart b/packages/flutter/lib/src/widgets/animated_size.dart index 8943c6af4d9c0..6796a4bfee8c0 100644 --- a/packages/flutter/lib/src/widgets/animated_size.dart +++ b/packages/flutter/lib/src/widgets/animated_size.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'transitions.dart'; +library; + import 'package:flutter/rendering.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/animated_switcher.dart b/packages/flutter/lib/src/widgets/animated_switcher.dart index e7e82c7a85592..b644607c63cfb 100644 --- a/packages/flutter/lib/src/widgets/animated_switcher.dart +++ b/packages/flutter/lib/src/widgets/animated_switcher.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'animated_cross_fade.dart'; +/// @docImport 'implicit_animations.dart'; +library; + import 'package:flutter/foundation.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/app.dart b/packages/flutter/lib/src/widgets/app.dart index f6547b485b85c..3a1d5e072bee6 100644 --- a/packages/flutter/lib/src/widgets/app.dart +++ b/packages/flutter/lib/src/widgets/app.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'heroes.dart'; +/// @docImport 'overlay.dart'; +/// @docImport 'view.dart'; +library; + import 'dart:collection' show HashMap; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/app_lifecycle_listener.dart b/packages/flutter/lib/src/widgets/app_lifecycle_listener.dart index 8074389405529..29bb66d78531c 100644 --- a/packages/flutter/lib/src/widgets/app_lifecycle_listener.dart +++ b/packages/flutter/lib/src/widgets/app_lifecycle_listener.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/services.dart'; +library; + import 'dart:ui'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/async.dart b/packages/flutter/lib/src/widgets/async.dart index 27d33a4f1f582..14709e7ca0040 100644 --- a/packages/flutter/lib/src/widgets/async.dart +++ b/packages/flutter/lib/src/widgets/async.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'value_listenable_builder.dart'; +library; + import 'dart:async' show StreamSubscription; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/autocomplete.dart b/packages/flutter/lib/src/widgets/autocomplete.dart index ae05392ed83be..5496c4686630e 100644 --- a/packages/flutter/lib/src/widgets/autocomplete.dart +++ b/packages/flutter/lib/src/widgets/autocomplete.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'dart:async'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/lib/src/widgets/autofill.dart b/packages/flutter/lib/src/widgets/autofill.dart index 0d72987d3490e..28f04ffe11472 100644 --- a/packages/flutter/lib/src/widgets/autofill.dart +++ b/packages/flutter/lib/src/widgets/autofill.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'editable_text.dart'; +/// @docImport 'form.dart'; +/// @docImport 'scrollable.dart'; +library; + import 'package:flutter/services.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/automatic_keep_alive.dart b/packages/flutter/lib/src/widgets/automatic_keep_alive.dart index dd729d8cfc893..87d5a718c9da1 100644 --- a/packages/flutter/lib/src/widgets/automatic_keep_alive.dart +++ b/packages/flutter/lib/src/widgets/automatic_keep_alive.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_view.dart'; +library; + import 'dart:async'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/banner.dart b/packages/flutter/lib/src/widgets/banner.dart index b05746fbb8d74..eeaa343b8477a 100644 --- a/packages/flutter/lib/src/widgets/banner.dart +++ b/packages/flutter/lib/src/widgets/banner.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 5edf93918a109..2374114e6149c 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/widgets.dart'; +library; + import 'dart:math' as math; import 'dart:ui' as ui show Image, ImageFilter, TextHeightBehavior; diff --git a/packages/flutter/lib/src/widgets/binding.dart b/packages/flutter/lib/src/widgets/binding.dart index 14ad6d6ecc27a..892cd81cf6e2a 100644 --- a/packages/flutter/lib/src/widgets/binding.dart +++ b/packages/flutter/lib/src/widgets/binding.dart @@ -2,6 +2,19 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/animation.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'adapter.dart'; +/// @docImport 'app_lifecycle_listener.dart'; +/// @docImport 'basic.dart'; +/// @docImport 'focus_scope.dart'; +/// @docImport 'media_query.dart'; +/// @docImport 'navigator.dart'; +/// @docImport 'pop_scope.dart'; +library; + import 'dart:async'; import 'dart:developer' as developer; import 'dart:ui' show AccessibilityFeatures, AppExitResponse, AppLifecycleState, diff --git a/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart b/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart index 5d4eb25acbe07..0b83ca18005b0 100644 --- a/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart +++ b/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart @@ -2,6 +2,15 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'icon.dart'; +/// @docImport 'icon_theme.dart'; +/// @docImport 'image_icon.dart'; +/// @docImport 'text.dart'; +library; + import 'dart:ui' show Color; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/color_filter.dart b/packages/flutter/lib/src/widgets/color_filter.dart index bd01095792d54..f15f9a7bdd430 100644 --- a/packages/flutter/lib/src/widgets/color_filter.dart +++ b/packages/flutter/lib/src/widgets/color_filter.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'basic.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/constants.dart b/packages/flutter/lib/src/widgets/constants.dart index 49ad4961833bd..5a0658c65ab1c 100644 --- a/packages/flutter/lib/src/widgets/constants.dart +++ b/packages/flutter/lib/src/widgets/constants.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +library; + /// The minimum dimension of any interactive region according to the Material /// guidelines. /// diff --git a/packages/flutter/lib/src/widgets/container.dart b/packages/flutter/lib/src/widgets/container.dart index 81b5e76befbf8..77f6eeba3ad64 100644 --- a/packages/flutter/lib/src/widgets/container.dart +++ b/packages/flutter/lib/src/widgets/container.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'decorated_sliver.dart'; +/// @docImport 'implicit_animations.dart'; +/// @docImport 'transitions.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/context_menu_button_item.dart b/packages/flutter/lib/src/widgets/context_menu_button_item.dart index 896cbab9d20ec..511e6d442c3c3 100644 --- a/packages/flutter/lib/src/widgets/context_menu_button_item.dart +++ b/packages/flutter/lib/src/widgets/context_menu_button_item.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/services.dart'; +/// +/// @docImport 'text_selection.dart'; +library; + import 'framework.dart'; /// The buttons that can appear in a context menu by default. diff --git a/packages/flutter/lib/src/widgets/context_menu_controller.dart b/packages/flutter/lib/src/widgets/context_menu_controller.dart index 566a7e96ca71a..16e82e52dbd79 100644 --- a/packages/flutter/lib/src/widgets/context_menu_controller.dart +++ b/packages/flutter/lib/src/widgets/context_menu_controller.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/services.dart'; +library; + import 'framework.dart'; import 'inherited_theme.dart'; import 'navigator.dart'; diff --git a/packages/flutter/lib/src/widgets/debug.dart b/packages/flutter/lib/src/widgets/debug.dart index 244643d371d13..53d4147e1a4c0 100644 --- a/packages/flutter/lib/src/widgets/debug.dart +++ b/packages/flutter/lib/src/widgets/debug.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/rendering.dart'; +/// @docImport 'package:flutter/scheduler.dart'; +/// +/// @docImport 'binding.dart'; +/// @docImport 'widget_inspector.dart'; +library; + import 'dart:collection'; import 'dart:developer' show Timeline; // to disambiguate reference in dartdocs below diff --git a/packages/flutter/lib/src/widgets/decorated_sliver.dart b/packages/flutter/lib/src/widgets/decorated_sliver.dart index 60ddba0dceff0..d51af4812a679 100644 --- a/packages/flutter/lib/src/widgets/decorated_sliver.dart +++ b/packages/flutter/lib/src/widgets/decorated_sliver.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'container.dart'; +library; + import 'package:flutter/rendering.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/default_selection_style.dart b/packages/flutter/lib/src/widgets/default_selection_style.dart index 207f6cfa7aafa..fd10c34dfab5d 100644 --- a/packages/flutter/lib/src/widgets/default_selection_style.dart +++ b/packages/flutter/lib/src/widgets/default_selection_style.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'editable_text.dart'; +/// @docImport 'text.dart'; +library; + import 'basic.dart'; import 'framework.dart'; import 'inherited_theme.dart'; diff --git a/packages/flutter/lib/src/widgets/default_text_editing_shortcuts.dart b/packages/flutter/lib/src/widgets/default_text_editing_shortcuts.dart index 7670241a0e672..da9f976316582 100644 --- a/packages/flutter/lib/src/widgets/default_text_editing_shortcuts.dart +++ b/packages/flutter/lib/src/widgets/default_text_editing_shortcuts.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'app.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/painting.dart'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/lib/src/widgets/desktop_text_selection_toolbar_layout_delegate.dart b/packages/flutter/lib/src/widgets/desktop_text_selection_toolbar_layout_delegate.dart index 706c28f4536cf..c22594d300dd5 100644 --- a/packages/flutter/lib/src/widgets/desktop_text_selection_toolbar_layout_delegate.dart +++ b/packages/flutter/lib/src/widgets/desktop_text_selection_toolbar_layout_delegate.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'text_selection_toolbar_layout_delegate.dart'; +library; + import 'package:flutter/rendering.dart'; /// Positions the toolbar at [anchor] if it fits, otherwise moves it so that it diff --git a/packages/flutter/lib/src/widgets/dismissible.dart b/packages/flutter/lib/src/widgets/dismissible.dart index c47545c837088..6603acafe0dae 100644 --- a/packages/flutter/lib/src/widgets/dismissible.dart +++ b/packages/flutter/lib/src/widgets/dismissible.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_view.dart'; +library; + import 'package:flutter/gestures.dart'; import 'automatic_keep_alive.dart'; diff --git a/packages/flutter/lib/src/widgets/display_feature_sub_screen.dart b/packages/flutter/lib/src/widgets/display_feature_sub_screen.dart index b2265ec946932..add0c89adf661 100644 --- a/packages/flutter/lib/src/widgets/display_feature_sub_screen.dart +++ b/packages/flutter/lib/src/widgets/display_feature_sub_screen.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'safe_area.dart'; +library; + import 'dart:math' as math; import 'dart:ui' show DisplayFeature, DisplayFeatureState; diff --git a/packages/flutter/lib/src/widgets/drag_target.dart b/packages/flutter/lib/src/widgets/drag_target.dart index a1389c32eacc2..b03615bf7ac75 100644 --- a/packages/flutter/lib/src/widgets/drag_target.dart +++ b/packages/flutter/lib/src/widgets/drag_target.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scrollable.dart'; +library; + import 'package:flutter/foundation.dart' show kIsWeb; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart b/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart index 6ada84d1c3bca..c1f8899d0fe5e 100644 --- a/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart +++ b/packages/flutter/lib/src/widgets/draggable_scrollable_sheet.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'primary_scroll_controller.dart'; +/// @docImport 'scroll_configuration.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'single_child_scroll_view.dart'; +/// @docImport 'viewport.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart index 067e22d99ecaa..c8de2cfd44eb5 100644 --- a/packages/flutter/lib/src/widgets/editable_text.dart +++ b/packages/flutter/lib/src/widgets/editable_text.dart @@ -2,6 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'context_menu_controller.dart'; +/// @docImport 'form.dart'; +/// @docImport 'restoration.dart'; +/// @docImport 'restoration_properties.dart'; +/// @docImport 'selectable_region.dart'; +/// @docImport 'text_selection_toolbar_layout_delegate.dart'; +library; + import 'dart:async'; import 'dart:math' as math; import 'dart:ui' as ui hide TextStyle; diff --git a/packages/flutter/lib/src/widgets/focus_manager.dart b/packages/flutter/lib/src/widgets/focus_manager.dart index 44f49601b007d..ac0f15116df85 100644 --- a/packages/flutter/lib/src/widgets/focus_manager.dart +++ b/packages/flutter/lib/src/widgets/focus_manager.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/rendering.dart'; +library; + import 'dart:async'; import 'dart:ui'; diff --git a/packages/flutter/lib/src/widgets/focus_scope.dart b/packages/flutter/lib/src/widgets/focus_scope.dart index c59fb5f3050fb..25fb1fc9ec8f4 100644 --- a/packages/flutter/lib/src/widgets/focus_scope.dart +++ b/packages/flutter/lib/src/widgets/focus_scope.dart @@ -2,6 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/semantics.dart'; +/// +/// @docImport 'actions.dart'; +/// @docImport 'container.dart'; +/// @docImport 'editable_text.dart'; +/// @docImport 'focus_traversal.dart'; +/// @docImport 'overlay.dart'; +library; + import 'package:flutter/foundation.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/focus_traversal.dart b/packages/flutter/lib/src/widgets/focus_traversal.dart index b27de547ecadd..8a3e2baee523a 100644 --- a/packages/flutter/lib/src/widgets/focus_traversal.dart +++ b/packages/flutter/lib/src/widgets/focus_traversal.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/services.dart'; +/// +/// @docImport 'app.dart'; +library; + import 'package:flutter/foundation.dart'; import 'actions.dart'; diff --git a/packages/flutter/lib/src/widgets/form.dart b/packages/flutter/lib/src/widgets/form.dart index d1dc369b3d551..81b5f81ee74bf 100644 --- a/packages/flutter/lib/src/widgets/form.dart +++ b/packages/flutter/lib/src/widgets/form.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/services.dart'; +library; + import 'dart:async'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index 90b71ecaa8679..86706ac05b05b 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/animation.dart'; +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/widgets.dart'; +library; + import 'dart:async'; import 'dart:collection'; diff --git a/packages/flutter/lib/src/widgets/gesture_detector.dart b/packages/flutter/lib/src/widgets/gesture_detector.dart index fabea4bf10562..5ec13f416efa6 100644 --- a/packages/flutter/lib/src/widgets/gesture_detector.dart +++ b/packages/flutter/lib/src/widgets/gesture_detector.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'container.dart'; +/// @docImport 'scrollable.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/heroes.dart b/packages/flutter/lib/src/widgets/heroes.dart index da7cc43958f34..12fc05946247a 100644 --- a/packages/flutter/lib/src/widgets/heroes.dart +++ b/packages/flutter/lib/src/widgets/heroes.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/foundation.dart'; import 'basic.dart'; import 'binding.dart'; diff --git a/packages/flutter/lib/src/widgets/icon.dart b/packages/flutter/lib/src/widgets/icon.dart index 728e4a7292949..c895ff2dc1ed8 100644 --- a/packages/flutter/lib/src/widgets/icon.dart +++ b/packages/flutter/lib/src/widgets/icon.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'image_icon.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/icon_data.dart b/packages/flutter/lib/src/widgets/icon_data.dart index 865d5d10801cd..d7b1718282cb5 100644 --- a/packages/flutter/lib/src/widgets/icon_data.dart +++ b/packages/flutter/lib/src/widgets/icon_data.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'basic.dart'; +/// @docImport 'icon.dart'; +library; + import 'package:flutter/foundation.dart'; /// A description of an icon fulfilled by a font glyph. diff --git a/packages/flutter/lib/src/widgets/icon_theme.dart b/packages/flutter/lib/src/widgets/icon_theme.dart index 1a8a17ef4a60b..6b121861f1caf 100644 --- a/packages/flutter/lib/src/widgets/icon_theme.dart +++ b/packages/flutter/lib/src/widgets/icon_theme.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'icon.dart'; +/// @docImport 'image_icon.dart'; +library; + import 'package:flutter/foundation.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/icon_theme_data.dart b/packages/flutter/lib/src/widgets/icon_theme_data.dart index ee71b24a83bcb..49755507efb85 100644 --- a/packages/flutter/lib/src/widgets/icon_theme_data.dart +++ b/packages/flutter/lib/src/widgets/icon_theme_data.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'icon.dart'; +/// @docImport 'icon_theme.dart'; +library; + import 'dart:ui' as ui show lerpDouble; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/image.dart b/packages/flutter/lib/src/widgets/image.dart index 5e532745793e8..5e61b391bcb8e 100644 --- a/packages/flutter/lib/src/widgets/image.dart +++ b/packages/flutter/lib/src/widgets/image.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'fade_in_image.dart'; +/// @docImport 'icon.dart'; +/// @docImport 'transitions.dart'; +library; + import 'dart:async'; import 'dart:io' show File; diff --git a/packages/flutter/lib/src/widgets/image_filter.dart b/packages/flutter/lib/src/widgets/image_filter.dart index ada948a6ae47c..c1268210937cf 100644 --- a/packages/flutter/lib/src/widgets/image_filter.dart +++ b/packages/flutter/lib/src/widgets/image_filter.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'basic.dart'; +/// @docImport 'color_filter.dart'; +library; + import 'dart:ui'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/image_icon.dart b/packages/flutter/lib/src/widgets/image_icon.dart index f8939cda62dc6..b9d152cb9c7d7 100644 --- a/packages/flutter/lib/src/widgets/image_icon.dart +++ b/packages/flutter/lib/src/widgets/image_icon.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/rendering.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/implicit_animations.dart b/packages/flutter/lib/src/widgets/implicit_animations.dart index b0466999aacfc..1271f2478ea17 100644 --- a/packages/flutter/lib/src/widgets/implicit_animations.dart +++ b/packages/flutter/lib/src/widgets/implicit_animations.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'animated_cross_fade.dart'; +/// @docImport 'animated_size.dart'; +/// @docImport 'animated_switcher.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver.dart'; +/// @docImport 'tween_animation_builder.dart'; +library; + import 'dart:ui' as ui show TextHeightBehavior; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/inherited_model.dart b/packages/flutter/lib/src/widgets/inherited_model.dart index 688992546c238..1c6ec2634ff31 100644 --- a/packages/flutter/lib/src/widgets/inherited_model.dart +++ b/packages/flutter/lib/src/widgets/inherited_model.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/foundation.dart'; +/// +/// @docImport 'inherited_notifier.dart'; +library; + import 'dart:collection'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/inherited_notifier.dart b/packages/flutter/lib/src/widgets/inherited_notifier.dart index a3f09cd983255..498d900c3fd5f 100644 --- a/packages/flutter/lib/src/widgets/inherited_notifier.dart +++ b/packages/flutter/lib/src/widgets/inherited_notifier.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/animation.dart'; +/// @docImport 'package:flutter/rendering.dart'; +/// +/// @docImport 'inherited_model.dart'; +/// @docImport 'scroll_position.dart'; +library; + import 'package:flutter/foundation.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/inherited_theme.dart b/packages/flutter/lib/src/widgets/inherited_theme.dart index 673a94f0cb631..f95efeafde90c 100644 --- a/packages/flutter/lib/src/widgets/inherited_theme.dart +++ b/packages/flutter/lib/src/widgets/inherited_theme.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'framework.dart'; // Examples can assume: diff --git a/packages/flutter/lib/src/widgets/interactive_viewer.dart b/packages/flutter/lib/src/widgets/interactive_viewer.dart index 80acec0064428..6be0a827c854f 100644 --- a/packages/flutter/lib/src/widgets/interactive_viewer.dart +++ b/packages/flutter/lib/src/widgets/interactive_viewer.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'editable_text.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'table.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart' show clampDouble; diff --git a/packages/flutter/lib/src/widgets/keyboard_listener.dart b/packages/flutter/lib/src/widgets/keyboard_listener.dart index 8c3a2ea6571a5..25195d77b51f2 100644 --- a/packages/flutter/lib/src/widgets/keyboard_listener.dart +++ b/packages/flutter/lib/src/widgets/keyboard_listener.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'editable_text.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/lib/src/widgets/layout_builder.dart b/packages/flutter/lib/src/widgets/layout_builder.dart index a9a5066155c6d..847e32bcb616a 100644 --- a/packages/flutter/lib/src/widgets/layout_builder.dart +++ b/packages/flutter/lib/src/widgets/layout_builder.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'basic.dart'; +/// @docImport 'single_child_scroll_view.dart'; +/// @docImport 'sliver_layout_builder.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/scheduler.dart'; diff --git a/packages/flutter/lib/src/widgets/list_wheel_scroll_view.dart b/packages/flutter/lib/src/widgets/list_wheel_scroll_view.dart index ce6691741586d..aff2a707d3a8a 100644 --- a/packages/flutter/lib/src/widgets/list_wheel_scroll_view.dart +++ b/packages/flutter/lib/src/widgets/list_wheel_scroll_view.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'scroll_view.dart'; +/// @docImport 'viewport.dart'; +library; + import 'dart:collection'; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/localizations.dart b/packages/flutter/lib/src/widgets/localizations.dart index 499e21bdf96f9..b4d58eb8d4650 100644 --- a/packages/flutter/lib/src/widgets/localizations.dart +++ b/packages/flutter/lib/src/widgets/localizations.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'reorderable_list.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/lookup_boundary.dart b/packages/flutter/lib/src/widgets/lookup_boundary.dart index 40ebaeaf66928..c0aaf56a54559 100644 --- a/packages/flutter/lib/src/widgets/lookup_boundary.dart +++ b/packages/flutter/lib/src/widgets/lookup_boundary.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'framework.dart'; // Examples can assume: diff --git a/packages/flutter/lib/src/widgets/magnifier.dart b/packages/flutter/lib/src/widgets/magnifier.dart index c96c1f8e01b3a..db57b70679cca 100644 --- a/packages/flutter/lib/src/widgets/magnifier.dart +++ b/packages/flutter/lib/src/widgets/magnifier.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'text_selection.dart'; +library; + import 'dart:async'; import 'dart:ui'; diff --git a/packages/flutter/lib/src/widgets/media_query.dart b/packages/flutter/lib/src/widgets/media_query.dart index 9429e2ab6fee7..dc14d28ea0395 100644 --- a/packages/flutter/lib/src/widgets/media_query.dart +++ b/packages/flutter/lib/src/widgets/media_query.dart @@ -2,6 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/services.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'display_feature_sub_screen.dart'; +/// @docImport 'overlay.dart'; +/// @docImport 'safe_area.dart'; +/// @docImport 'system_context_menu.dart'; +/// @docImport 'view.dart'; +library; + import 'dart:math' as math; import 'dart:ui' as ui; diff --git a/packages/flutter/lib/src/widgets/modal_barrier.dart b/packages/flutter/lib/src/widgets/modal_barrier.dart index f2a247a7d3b58..d7a012138cdce 100644 --- a/packages/flutter/lib/src/widgets/modal_barrier.dart +++ b/packages/flutter/lib/src/widgets/modal_barrier.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'routes.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/navigation_toolbar.dart b/packages/flutter/lib/src/widgets/navigation_toolbar.dart index ee3df85ef67a8..820a54b8e88de 100644 --- a/packages/flutter/lib/src/widgets/navigation_toolbar.dart +++ b/packages/flutter/lib/src/widgets/navigation_toolbar.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +library; + import 'dart:math' as math; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/navigator.dart b/packages/flutter/lib/src/widgets/navigator.dart index 3716c9dc401fa..176d16796ed6a 100644 --- a/packages/flutter/lib/src/widgets/navigator.dart +++ b/packages/flutter/lib/src/widgets/navigator.dart @@ -2,6 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'form.dart'; +/// @docImport 'pages.dart'; +/// @docImport 'pop_scope.dart'; +/// @docImport 'router.dart'; +/// @docImport 'will_pop_scope.dart'; +library; + import 'dart:async'; import 'dart:collection'; import 'dart:convert'; diff --git a/packages/flutter/lib/src/widgets/nested_scroll_view.dart b/packages/flutter/lib/src/widgets/nested_scroll_view.dart index 7538e8344ad68..99969beeaf820 100644 --- a/packages/flutter/lib/src/widgets/nested_scroll_view.dart +++ b/packages/flutter/lib/src/widgets/nested_scroll_view.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'page_storage.dart'; +/// @docImport 'safe_area.dart'; +/// @docImport 'scrollable.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/notification_listener.dart b/packages/flutter/lib/src/widgets/notification_listener.dart index 0665bc0153a57..4a31d1a964278 100644 --- a/packages/flutter/lib/src/widgets/notification_listener.dart +++ b/packages/flutter/lib/src/widgets/notification_listener.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'layout_builder.dart'; +/// @docImport 'nested_scroll_view.dart'; +/// @docImport 'scroll_notification.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'size_changed_layout_notifier.dart'; +library; + import 'package:flutter/foundation.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/overflow_bar.dart b/packages/flutter/lib/src/widgets/overflow_bar.dart index fddf3ddb8f1e1..a735ad5f739f3 100644 --- a/packages/flutter/lib/src/widgets/overflow_bar.dart +++ b/packages/flutter/lib/src/widgets/overflow_bar.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'single_child_scroll_view.dart'; +library; + import 'dart:math' as math; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/overlay.dart b/packages/flutter/lib/src/widgets/overlay.dart index 0c0c283613b2a..5c51ff7762bda 100644 --- a/packages/flutter/lib/src/widgets/overlay.dart +++ b/packages/flutter/lib/src/widgets/overlay.dart @@ -2,6 +2,20 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'drag_target.dart'; +/// @docImport 'implicit_animations.dart'; +/// @docImport 'media_query.dart'; +/// @docImport 'navigator.dart'; +/// @docImport 'routes.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver.dart'; +/// @docImport 'text.dart'; +library; + import 'dart:collection'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/overscroll_indicator.dart b/packages/flutter/lib/src/widgets/overscroll_indicator.dart index 20001d70469b4..868c53bc26541 100644 --- a/packages/flutter/lib/src/widgets/overscroll_indicator.dart +++ b/packages/flutter/lib/src/widgets/overscroll_indicator.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'nested_scroll_view.dart'; +/// @docImport 'scroll_configuration.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +library; + import 'dart:async' show Timer; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/page_storage.dart b/packages/flutter/lib/src/widgets/page_storage.dart index 808274172c681..a664431612b56 100644 --- a/packages/flutter/lib/src/widgets/page_storage.dart +++ b/packages/flutter/lib/src/widgets/page_storage.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'routes.dart'; +/// @docImport 'scroll_controller.dart'; +/// @docImport 'scroll_position.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'single_child_scroll_view.dart'; +library; + import 'package:flutter/foundation.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/page_view.dart b/packages/flutter/lib/src/widgets/page_view.dart index ed54495455aab..1c69aeeeafe56 100644 --- a/packages/flutter/lib/src/widgets/page_view.dart +++ b/packages/flutter/lib/src/widgets/page_view.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'single_child_scroll_view.dart'; +/// @docImport 'text.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart' show clampDouble, precisionErrorTolerance; diff --git a/packages/flutter/lib/src/widgets/pages.dart b/packages/flutter/lib/src/widgets/pages.dart index 620957e274821..3ad1079dd3e8f 100644 --- a/packages/flutter/lib/src/widgets/pages.dart +++ b/packages/flutter/lib/src/widgets/pages.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'navigator.dart'; +library; + import 'basic.dart'; import 'framework.dart'; import 'routes.dart'; diff --git a/packages/flutter/lib/src/widgets/performance_overlay.dart b/packages/flutter/lib/src/widgets/performance_overlay.dart index a6eee04014961..d3132ab94fd4c 100644 --- a/packages/flutter/lib/src/widgets/performance_overlay.dart +++ b/packages/flutter/lib/src/widgets/performance_overlay.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +library; + import 'package:flutter/rendering.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/pinned_header_sliver.dart b/packages/flutter/lib/src/widgets/pinned_header_sliver.dart index 03cb41023e3db..b288b75a96284 100644 --- a/packages/flutter/lib/src/widgets/pinned_header_sliver.dart +++ b/packages/flutter/lib/src/widgets/pinned_header_sliver.dart @@ -3,6 +3,13 @@ // found in the LICENSE file. +/// @docImport 'notification_listener.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver_floating_header.dart'; +/// @docImport 'sliver_persistent_header.dart'; +/// @docImport 'sliver_resizing_header.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/platform_view.dart b/packages/flutter/lib/src/widgets/platform_view.dart index ae24e58757fec..35e162fd13f25 100644 --- a/packages/flutter/lib/src/widgets/platform_view.dart +++ b/packages/flutter/lib/src/widgets/platform_view.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'gesture_detector.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/pop_scope.dart b/packages/flutter/lib/src/widgets/pop_scope.dart index 23e8300cd9c9d..77d2b20c4287d 100644 --- a/packages/flutter/lib/src/widgets/pop_scope.dart +++ b/packages/flutter/lib/src/widgets/pop_scope.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// +/// @docImport 'form.dart'; +/// @docImport 'navigator_pop_handler.dart'; +library; + import 'package:flutter/foundation.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/preferred_size.dart b/packages/flutter/lib/src/widgets/preferred_size.dart index 2c6f876a51eb9..50668071197de 100644 --- a/packages/flutter/lib/src/widgets/preferred_size.dart +++ b/packages/flutter/lib/src/widgets/preferred_size.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/rendering.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/primary_scroll_controller.dart b/packages/flutter/lib/src/widgets/primary_scroll_controller.dart index dea998277de27..401a7a417ccc2 100644 --- a/packages/flutter/lib/src/widgets/primary_scroll_controller.dart +++ b/packages/flutter/lib/src/widgets/primary_scroll_controller.dart @@ -2,6 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/rendering.dart'; +/// +/// @docImport 'actions.dart'; +/// @docImport 'focus_manager.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'scrollable_helpers.dart'; +/// @docImport 'shortcuts.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/painting.dart'; diff --git a/packages/flutter/lib/src/widgets/raw_keyboard_listener.dart b/packages/flutter/lib/src/widgets/raw_keyboard_listener.dart index 203f836749d2f..e6950e995853c 100644 --- a/packages/flutter/lib/src/widgets/raw_keyboard_listener.dart +++ b/packages/flutter/lib/src/widgets/raw_keyboard_listener.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'editable_text.dart'; +/// @docImport 'keyboard_listener.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/lib/src/widgets/reorderable_list.dart b/packages/flutter/lib/src/widgets/reorderable_list.dart index c7089e7589b1b..f7aaf7bf3c769 100644 --- a/packages/flutter/lib/src/widgets/reorderable_list.dart +++ b/packages/flutter/lib/src/widgets/reorderable_list.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/restoration.dart b/packages/flutter/lib/src/widgets/restoration.dart index 7f532552c008a..abafebc87f889 100644 --- a/packages/flutter/lib/src/widgets/restoration.dart +++ b/packages/flutter/lib/src/widgets/restoration.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'container.dart'; +/// @docImport 'restoration_properties.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/lib/src/widgets/restoration_properties.dart b/packages/flutter/lib/src/widgets/restoration_properties.dart index fccd03ad1a712..eba4f69636232 100644 --- a/packages/flutter/lib/src/widgets/restoration_properties.dart +++ b/packages/flutter/lib/src/widgets/restoration_properties.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/painting.dart'; +/// +/// @docImport 'framework.dart'; +library; + import 'dart:async'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/router.dart b/packages/flutter/lib/src/widgets/router.dart index 6c73405247fd0..60b4dea2b89f3 100644 --- a/packages/flutter/lib/src/widgets/router.dart +++ b/packages/flutter/lib/src/widgets/router.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'scroll_view.dart'; +library; + import 'dart:async'; import 'dart:collection'; diff --git a/packages/flutter/lib/src/widgets/routes.dart b/packages/flutter/lib/src/widgets/routes.dart index 8205542995f68..5311fe44b7d05 100644 --- a/packages/flutter/lib/src/widgets/routes.dart +++ b/packages/flutter/lib/src/widgets/routes.dart @@ -2,6 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'form.dart'; +/// @docImport 'heroes.dart'; +/// @docImport 'pages.dart'; +/// @docImport 'pop_scope.dart'; +/// @docImport 'will_pop_scope.dart'; +library; + import 'dart:async'; import 'dart:math'; import 'dart:ui' as ui; diff --git a/packages/flutter/lib/src/widgets/scroll_activity.dart b/packages/flutter/lib/src/widgets/scroll_activity.dart index aa0f92958ed73..7254e074d3cc5 100644 --- a/packages/flutter/lib/src/widgets/scroll_activity.dart +++ b/packages/flutter/lib/src/widgets/scroll_activity.dart @@ -2,6 +2,15 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/rendering.dart'; +/// +/// @docImport 'scroll_controller.dart'; +/// @docImport 'scroll_physics.dart'; +/// @docImport 'scroll_position.dart'; +/// @docImport 'scroll_position_with_single_context.dart'; +/// @docImport 'scrollable.dart'; +library; + import 'dart:async'; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/scroll_aware_image_provider.dart b/packages/flutter/lib/src/widgets/scroll_aware_image_provider.dart index 11d903e808f83..e6f4f03dd3ea5 100644 --- a/packages/flutter/lib/src/widgets/scroll_aware_image_provider.dart +++ b/packages/flutter/lib/src/widgets/scroll_aware_image_provider.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +library; + import 'dart:async'; import 'package:flutter/painting.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_configuration.dart b/packages/flutter/lib/src/widgets/scroll_configuration.dart index a2b6bd4e0ec05..f4897f8a99938 100644 --- a/packages/flutter/lib/src/widgets/scroll_configuration.dart +++ b/packages/flutter/lib/src/widgets/scroll_configuration.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'list_wheel_scroll_view.dart'; +/// @docImport 'page_view.dart'; +/// @docImport 'scroll_position.dart'; +/// @docImport 'scroll_view.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_context.dart b/packages/flutter/lib/src/widgets/scroll_context.dart index 19406f0c92eaa..a4b95447c0905 100644 --- a/packages/flutter/lib/src/widgets/scroll_context.dart +++ b/packages/flutter/lib/src/widgets/scroll_context.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// +/// @docImport 'page_storage.dart'; +/// @docImport 'scroll_configuration.dart'; +/// @docImport 'scroll_notification.dart'; +/// @docImport 'scroll_position.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'viewport.dart'; +library; + import 'package:flutter/rendering.dart'; import 'package:flutter/scheduler.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_controller.dart b/packages/flutter/lib/src/widgets/scroll_controller.dart index d9a478328ce92..0ae099ac50f09 100644 --- a/packages/flutter/lib/src/widgets/scroll_controller.dart +++ b/packages/flutter/lib/src/widgets/scroll_controller.dart @@ -2,6 +2,19 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'framework.dart'; +/// @docImport 'notification_listener.dart'; +/// @docImport 'page_storage.dart'; +/// @docImport 'page_view.dart'; +/// @docImport 'scroll_configuration.dart'; +/// @docImport 'scroll_metrics.dart'; +/// @docImport 'scroll_notification.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +library; + import 'package:flutter/animation.dart'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_delegate.dart b/packages/flutter/lib/src/widgets/scroll_delegate.dart index 96841dbda5e9a..1c07fea1af576 100644 --- a/packages/flutter/lib/src/widgets/scroll_delegate.dart +++ b/packages/flutter/lib/src/widgets/scroll_delegate.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver.dart'; +/// @docImport 'spacer.dart'; +/// @docImport 'two_dimensional_scroll_view.dart'; +/// @docImport 'viewport.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_metrics.dart b/packages/flutter/lib/src/widgets/scroll_metrics.dart index 2448cf5d0eb9b..6506f793a0665 100644 --- a/packages/flutter/lib/src/widgets/scroll_metrics.dart +++ b/packages/flutter/lib/src/widgets/scroll_metrics.dart @@ -2,6 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'scroll_position.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'viewport.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_notification.dart b/packages/flutter/lib/src/widgets/scroll_notification.dart index 5970d896c8681..ed2f20efd649c 100644 --- a/packages/flutter/lib/src/widgets/scroll_notification.dart +++ b/packages/flutter/lib/src/widgets/scroll_notification.dart @@ -2,6 +2,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'overscroll_indicator.dart'; +/// @docImport 'scroll_activity.dart'; +/// @docImport 'scroll_controller.dart'; +/// @docImport 'scroll_physics.dart'; +/// @docImport 'scroll_position.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'viewport.dart'; +library; + import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_notification_observer.dart b/packages/flutter/lib/src/widgets/scroll_notification_observer.dart index f7112ec149437..c143d0c10943e 100644 --- a/packages/flutter/lib/src/widgets/scroll_notification_observer.dart +++ b/packages/flutter/lib/src/widgets/scroll_notification_observer.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_view.dart'; +library; + import 'dart:collection'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_physics.dart b/packages/flutter/lib/src/widgets/scroll_physics.dart index b264417f630f3..836d42521479f 100644 --- a/packages/flutter/lib/src/widgets/scroll_physics.dart +++ b/packages/flutter/lib/src/widgets/scroll_physics.dart @@ -2,6 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'dart:ui'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'scroll_activity.dart'; +/// @docImport 'scroll_configuration.dart'; +/// @docImport 'scroll_position.dart'; +/// @docImport 'scroll_position_with_single_context.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_position.dart b/packages/flutter/lib/src/widgets/scroll_position.dart index 58dc2096d9561..428b4127c4896 100644 --- a/packages/flutter/lib/src/widgets/scroll_position.dart +++ b/packages/flutter/lib/src/widgets/scroll_position.dart @@ -2,6 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'page_view.dart'; +/// @docImport 'scroll_controller.dart'; +/// @docImport 'scroll_notification_observer.dart'; +/// @docImport 'scroll_position_with_single_context.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'viewport.dart'; +library; + import 'dart:async'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_position_with_single_context.dart b/packages/flutter/lib/src/widgets/scroll_position_with_single_context.dart index 97538ce6a6962..6d6dae2f7dd5a 100644 --- a/packages/flutter/lib/src/widgets/scroll_position_with_single_context.dart +++ b/packages/flutter/lib/src/widgets/scroll_position_with_single_context.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'page_storage.dart'; +/// @docImport 'scroll_controller.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'viewport.dart'; +library; + import 'dart:math' as math; import 'package:flutter/gestures.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_simulation.dart b/packages/flutter/lib/src/widgets/scroll_simulation.dart index 61cc18bc769ea..a8a3f626537fa 100644 --- a/packages/flutter/lib/src/widgets/scroll_simulation.dart +++ b/packages/flutter/lib/src/widgets/scroll_simulation.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_activity.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/scroll_view.dart b/packages/flutter/lib/src/widgets/scroll_view.dart index 34448b8d5852a..e5e0cd97ee43e 100644 --- a/packages/flutter/lib/src/widgets/scroll_view.dart +++ b/packages/flutter/lib/src/widgets/scroll_view.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/widgets.dart'; +library; + import 'dart:math' as math; import 'package:flutter/gestures.dart'; diff --git a/packages/flutter/lib/src/widgets/scrollable.dart b/packages/flutter/lib/src/widgets/scrollable.dart index 551ec9792c60f..87f2a8fa06439 100644 --- a/packages/flutter/lib/src/widgets/scrollable.dart +++ b/packages/flutter/lib/src/widgets/scrollable.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'page_storage.dart'; +/// @docImport 'page_view.dart'; +/// @docImport 'scroll_metrics.dart'; +/// @docImport 'scroll_notification.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'single_child_scroll_view.dart'; +/// @docImport 'two_dimensional_scroll_view.dart'; +/// @docImport 'two_dimensional_viewport.dart'; +library; + import 'dart:async'; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/scrollable_helpers.dart b/packages/flutter/lib/src/widgets/scrollable_helpers.dart index a9f12026e2b41..16ade24ff67b4 100644 --- a/packages/flutter/lib/src/widgets/scrollable_helpers.dart +++ b/packages/flutter/lib/src/widgets/scrollable_helpers.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'overscroll_indicator.dart'; +/// @docImport 'viewport.dart'; +library; + import 'dart:async'; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/scrollbar.dart b/packages/flutter/lib/src/widgets/scrollbar.dart index da9a6a80cef85..d38339dfaff78 100644 --- a/packages/flutter/lib/src/widgets/scrollbar.dart +++ b/packages/flutter/lib/src/widgets/scrollbar.dart @@ -2,6 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'editable_text.dart'; +/// @docImport 'list_wheel_scroll_view.dart'; +/// @docImport 'nested_scroll_view.dart'; +/// @docImport 'page_view.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'widget_state.dart'; +library; + import 'dart:async'; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/selectable_region.dart b/packages/flutter/lib/src/widgets/selectable_region.dart index 14f7d279707ac..b113afc54b47d 100644 --- a/packages/flutter/lib/src/widgets/selectable_region.dart +++ b/packages/flutter/lib/src/widgets/selectable_region.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'editable_text.dart'; +/// @docImport 'text.dart'; +library; + import 'dart:async'; import 'dart:math'; diff --git a/packages/flutter/lib/src/widgets/selection_container.dart b/packages/flutter/lib/src/widgets/selection_container.dart index 45535ab6fb119..bd5e86cde4a2c 100644 --- a/packages/flutter/lib/src/widgets/selection_container.dart +++ b/packages/flutter/lib/src/widgets/selection_container.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'selectable_region.dart'; +library; + import 'package:flutter/rendering.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/service_extensions.dart b/packages/flutter/lib/src/widgets/service_extensions.dart index 516a8fdd200f5..8e4bc7a8fe047 100644 --- a/packages/flutter/lib/src/widgets/service_extensions.dart +++ b/packages/flutter/lib/src/widgets/service_extensions.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/foundation.dart'; +/// @docImport 'package:flutter/rendering.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'binding.dart'; +/// @docImport 'debug.dart'; +/// @docImport 'framework.dart'; +/// @docImport 'widget_inspector.dart'; +library; + /// Service extension constants for the widgets library. /// /// These constants will be used when registering service extensions in the diff --git a/packages/flutter/lib/src/widgets/shared_app_data.dart b/packages/flutter/lib/src/widgets/shared_app_data.dart index b9e4a6911c465..1077a31b70d83 100644 --- a/packages/flutter/lib/src/widgets/shared_app_data.dart +++ b/packages/flutter/lib/src/widgets/shared_app_data.dart @@ -3,6 +3,9 @@ // found in the LICENSE file. +/// @docImport 'app.dart'; +library; + import 'framework.dart'; import 'inherited_model.dart'; diff --git a/packages/flutter/lib/src/widgets/shortcuts.dart b/packages/flutter/lib/src/widgets/shortcuts.dart index ec9e8860803fe..6f65d37e7133e 100644 --- a/packages/flutter/lib/src/widgets/shortcuts.dart +++ b/packages/flutter/lib/src/widgets/shortcuts.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'basic.dart'; +library; + import 'dart:collection'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/single_child_scroll_view.dart b/packages/flutter/lib/src/widgets/single_child_scroll_view.dart index c1fbb67ab82bb..06b09d3ea86fe 100644 --- a/packages/flutter/lib/src/widgets/single_child_scroll_view.dart +++ b/packages/flutter/lib/src/widgets/single_child_scroll_view.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'layout_builder.dart'; +/// @docImport 'page_storage.dart'; +/// @docImport 'page_view.dart'; +library; + import 'dart:math' as math; import 'package:flutter/gestures.dart' show DragStartBehavior; diff --git a/packages/flutter/lib/src/widgets/size_changed_layout_notifier.dart b/packages/flutter/lib/src/widgets/size_changed_layout_notifier.dart index 70b0e36dfbbdd..22c20f1b2ea60 100644 --- a/packages/flutter/lib/src/widgets/size_changed_layout_notifier.dart +++ b/packages/flutter/lib/src/widgets/size_changed_layout_notifier.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/rendering.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/sliver.dart b/packages/flutter/lib/src/widgets/sliver.dart index 40859b20d9538..17f7f01346815 100644 --- a/packages/flutter/lib/src/widgets/sliver.dart +++ b/packages/flutter/lib/src/widgets/sliver.dart @@ -2,6 +2,21 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'animated_scroll_view.dart'; +/// @docImport 'container.dart'; +/// @docImport 'implicit_animations.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver_fill.dart'; +/// @docImport 'sliver_persistent_header.dart'; +/// @docImport 'sliver_prototype_extent_list.dart'; +/// @docImport 'text.dart'; +/// @docImport 'two_dimensional_viewport.dart'; +/// @docImport 'viewport.dart'; +/// @docImport 'visibility.dart'; +library; + import 'dart:collection' show HashMap, SplayTreeMap; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/sliver_fill.dart b/packages/flutter/lib/src/widgets/sliver_fill.dart index 994f7755b1980..2e14d977ea410 100644 --- a/packages/flutter/lib/src/widgets/sliver_fill.dart +++ b/packages/flutter/lib/src/widgets/sliver_fill.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'nested_scroll_view.dart'; +/// @docImport 'scroll_physics.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver_prototype_extent_list.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/sliver_floating_header.dart b/packages/flutter/lib/src/widgets/sliver_floating_header.dart index 93df28c62d2dc..29f3a35aac243 100644 --- a/packages/flutter/lib/src/widgets/sliver_floating_header.dart +++ b/packages/flutter/lib/src/widgets/sliver_floating_header.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'pinned_header_sliver.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver_persistent_header.dart'; +/// @docImport 'sliver_resizing_header.dart'; +library; + import 'dart:math' as math; import 'package:flutter/animation.dart'; diff --git a/packages/flutter/lib/src/widgets/sliver_persistent_header.dart b/packages/flutter/lib/src/widgets/sliver_persistent_header.dart index 359badf4da7ec..6d3db60588a29 100644 --- a/packages/flutter/lib/src/widgets/sliver_persistent_header.dart +++ b/packages/flutter/lib/src/widgets/sliver_persistent_header.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'nested_scroll_view.dart'; +/// @docImport 'scroll_view.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/scheduler.dart' show TickerProvider; diff --git a/packages/flutter/lib/src/widgets/sliver_prototype_extent_list.dart b/packages/flutter/lib/src/widgets/sliver_prototype_extent_list.dart index 5f664f2ab11f5..b1babfd026d65 100644 --- a/packages/flutter/lib/src/widgets/sliver_prototype_extent_list.dart +++ b/packages/flutter/lib/src/widgets/sliver_prototype_extent_list.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver_fill.dart'; +library; + import 'package:flutter/rendering.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/sliver_resizing_header.dart b/packages/flutter/lib/src/widgets/sliver_resizing_header.dart index 1797321f8f05c..0be79c3f5b7d9 100644 --- a/packages/flutter/lib/src/widgets/sliver_resizing_header.dart +++ b/packages/flutter/lib/src/widgets/sliver_resizing_header.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'pinned_header_sliver.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver_floating_header.dart'; +/// @docImport 'sliver_persistent_header.dart'; +library; + import 'dart:math' as math; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/sliver_tree.dart b/packages/flutter/lib/src/widgets/sliver_tree.dart index ba3eae44ad61a..8700abc5b8583 100644 --- a/packages/flutter/lib/src/widgets/sliver_tree.dart +++ b/packages/flutter/lib/src/widgets/sliver_tree.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'viewport.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/slotted_render_object_widget.dart b/packages/flutter/lib/src/widgets/slotted_render_object_widget.dart index 1318c046ce3a2..c606a4403ecb9 100644 --- a/packages/flutter/lib/src/widgets/slotted_render_object_widget.dart +++ b/packages/flutter/lib/src/widgets/slotted_render_object_widget.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/snapshot_widget.dart b/packages/flutter/lib/src/widgets/snapshot_widget.dart index 22c8a04c38dc8..a57d687adfd43 100644 --- a/packages/flutter/lib/src/widgets/snapshot_widget.dart +++ b/packages/flutter/lib/src/widgets/snapshot_widget.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'dart:ui' as ui; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/spell_check.dart b/packages/flutter/lib/src/widgets/spell_check.dart index 391ec2b7075d7..d7c1bd1dc6850 100644 --- a/packages/flutter/lib/src/widgets/spell_check.dart +++ b/packages/flutter/lib/src/widgets/spell_check.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'editable_text.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/painting.dart'; import 'package:flutter/services.dart' diff --git a/packages/flutter/lib/src/widgets/system_context_menu.dart b/packages/flutter/lib/src/widgets/system_context_menu.dart index 05fd4b412cca2..68359049832f7 100644 --- a/packages/flutter/lib/src/widgets/system_context_menu.dart +++ b/packages/flutter/lib/src/widgets/system_context_menu.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/lib/src/widgets/table.dart b/packages/flutter/lib/src/widgets/table.dart index 11671edfa343c..840bc6a5b07d9 100644 --- a/packages/flutter/lib/src/widgets/table.dart +++ b/packages/flutter/lib/src/widgets/table.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_view.dart'; +/// @docImport 'sliver.dart'; +library; + import 'dart:collection'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/tap_region.dart b/packages/flutter/lib/src/widgets/tap_region.dart index 76f8dde220106..1b4f4e9af0687 100644 --- a/packages/flutter/lib/src/widgets/tap_region.dart +++ b/packages/flutter/lib/src/widgets/tap_region.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'app.dart'; +/// @docImport 'gesture_detector.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/text.dart b/packages/flutter/lib/src/widgets/text.dart index 48068aaaa1afb..df5c8deff0d06 100644 --- a/packages/flutter/lib/src/widgets/text.dart +++ b/packages/flutter/lib/src/widgets/text.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/gestures.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'editable_text.dart'; +/// @docImport 'gesture_detector.dart'; +/// @docImport 'implicit_animations.dart'; +/// @docImport 'transitions.dart'; +/// @docImport 'widget_span.dart'; +library; + import 'dart:math'; import 'dart:ui' as ui show TextHeightBehavior; diff --git a/packages/flutter/lib/src/widgets/text_editing_intents.dart b/packages/flutter/lib/src/widgets/text_editing_intents.dart index ccb39b8834bbf..6636e84289c70 100644 --- a/packages/flutter/lib/src/widgets/text_editing_intents.dart +++ b/packages/flutter/lib/src/widgets/text_editing_intents.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'default_text_editing_shortcuts.dart'; +library; + import 'package:flutter/services.dart'; import 'actions.dart'; diff --git a/packages/flutter/lib/src/widgets/text_selection.dart b/packages/flutter/lib/src/widgets/text_selection.dart index 910b915c10e7f..ac92cccebfe28 100644 --- a/packages/flutter/lib/src/widgets/text_selection.dart +++ b/packages/flutter/lib/src/widgets/text_selection.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +library; + import 'dart:async'; import 'dart:math' as math; diff --git a/packages/flutter/lib/src/widgets/text_selection_toolbar_anchors.dart b/packages/flutter/lib/src/widgets/text_selection_toolbar_anchors.dart index f6072b2b498fe..b4dc57a599a8d 100644 --- a/packages/flutter/lib/src/widgets/text_selection_toolbar_anchors.dart +++ b/packages/flutter/lib/src/widgets/text_selection_toolbar_anchors.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/text_selection_toolbar_layout_delegate.dart b/packages/flutter/lib/src/widgets/text_selection_toolbar_layout_delegate.dart index c80fb5e28cc86..3e90cce71207e 100644 --- a/packages/flutter/lib/src/widgets/text_selection_toolbar_layout_delegate.dart +++ b/packages/flutter/lib/src/widgets/text_selection_toolbar_layout_delegate.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'basic.dart'; +library; + import 'dart:math' as math; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/ticker_provider.dart b/packages/flutter/lib/src/widgets/ticker_provider.dart index 5985561fb6e78..fd5edc8df5a03 100644 --- a/packages/flutter/lib/src/widgets/ticker_provider.dart +++ b/packages/flutter/lib/src/widgets/ticker_provider.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/animation.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/scheduler.dart'; diff --git a/packages/flutter/lib/src/widgets/toggleable.dart b/packages/flutter/lib/src/widgets/toggleable.dart index 45aabf961e6b0..ca7c403553689 100644 --- a/packages/flutter/lib/src/widgets/toggleable.dart +++ b/packages/flutter/lib/src/widgets/toggleable.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/cupertino.dart'; +/// @docImport 'package:flutter/material.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/transitions.dart b/packages/flutter/lib/src/widgets/transitions.dart index a19fee9c27f42..c69a66f93f796 100644 --- a/packages/flutter/lib/src/widgets/transitions.dart +++ b/packages/flutter/lib/src/widgets/transitions.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/widgets.dart'; +library; + import 'dart:math' as math; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/tween_animation_builder.dart b/packages/flutter/lib/src/widgets/tween_animation_builder.dart index 226a348a605ef..7a6b4156592c7 100644 --- a/packages/flutter/lib/src/widgets/tween_animation_builder.dart +++ b/packages/flutter/lib/src/widgets/tween_animation_builder.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/foundation.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'animated_size.dart'; +/// @docImport 'transitions.dart'; +library; + import 'package:flutter/animation.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/two_dimensional_scroll_view.dart b/packages/flutter/lib/src/widgets/two_dimensional_scroll_view.dart index 0de45dbb9f0e5..211319a90b4ac 100644 --- a/packages/flutter/lib/src/widgets/two_dimensional_scroll_view.dart +++ b/packages/flutter/lib/src/widgets/two_dimensional_scroll_view.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'scroll_position.dart'; +library; + import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; diff --git a/packages/flutter/lib/src/widgets/two_dimensional_viewport.dart b/packages/flutter/lib/src/widgets/two_dimensional_viewport.dart index 403a1be71eac9..118d73702b60b 100644 --- a/packages/flutter/lib/src/widgets/two_dimensional_viewport.dart +++ b/packages/flutter/lib/src/widgets/two_dimensional_viewport.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'primary_scroll_controller.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'two_dimensional_scroll_view.dart'; +/// @docImport 'viewport.dart'; +library; + import 'dart:math' as math; import 'package:flutter/animation.dart'; diff --git a/packages/flutter/lib/src/widgets/undo_history.dart b/packages/flutter/lib/src/widgets/undo_history.dart index d9bfd44a02612..5d0b0feb436e6 100644 --- a/packages/flutter/lib/src/widgets/undo_history.dart +++ b/packages/flutter/lib/src/widgets/undo_history.dart @@ -2,6 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'editable_text.dart'; +/// @docImport 'focus_scope.dart'; +library; + import 'dart:async'; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/value_listenable_builder.dart b/packages/flutter/lib/src/widgets/value_listenable_builder.dart index 56eadde7821b9..02791ddbecae4 100644 --- a/packages/flutter/lib/src/widgets/value_listenable_builder.dart +++ b/packages/flutter/lib/src/widgets/value_listenable_builder.dart @@ -2,6 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/animation.dart'; +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'async.dart'; +/// @docImport 'notification_listener.dart'; +/// @docImport 'text.dart'; +/// @docImport 'transitions.dart'; +/// @docImport 'tween_animation_builder.dart'; +library; + import 'package:flutter/foundation.dart'; import 'framework.dart'; diff --git a/packages/flutter/lib/src/widgets/view.dart b/packages/flutter/lib/src/widgets/view.dart index d7b6e0fb4ee33..aff599d938e00 100644 --- a/packages/flutter/lib/src/widgets/view.dart +++ b/packages/flutter/lib/src/widgets/view.dart @@ -2,6 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// +/// @docImport 'basic.dart'; +library; + import 'dart:collection'; import 'dart:ui' show FlutterView, SemanticsUpdate, ViewFocusDirection, ViewFocusEvent, ViewFocusState; diff --git a/packages/flutter/lib/src/widgets/viewport.dart b/packages/flutter/lib/src/widgets/viewport.dart index 36f556510e92e..c76af082a7462 100644 --- a/packages/flutter/lib/src/widgets/viewport.dart +++ b/packages/flutter/lib/src/widgets/viewport.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'page_view.dart'; +/// @docImport 'scroll_position.dart'; +/// @docImport 'scroll_view.dart'; +/// @docImport 'scrollable.dart'; +/// @docImport 'sliver.dart'; +library; + import 'package:flutter/rendering.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/visibility.dart b/packages/flutter/lib/src/widgets/visibility.dart index a5e2fca28f919..b20b158037e44 100644 --- a/packages/flutter/lib/src/widgets/visibility.dart +++ b/packages/flutter/lib/src/widgets/visibility.dart @@ -2,6 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'animated_cross_fade.dart'; +/// @docImport 'animated_switcher.dart'; +/// @docImport 'implicit_animations.dart'; +/// @docImport 'navigator.dart'; +/// @docImport 'transitions.dart'; +library; + import 'package:flutter/rendering.dart'; import 'basic.dart'; diff --git a/packages/flutter/lib/src/widgets/widget_span.dart b/packages/flutter/lib/src/widgets/widget_span.dart index fddc0e3b13599..f265a36afd26d 100644 --- a/packages/flutter/lib/src/widgets/widget_span.dart +++ b/packages/flutter/lib/src/widgets/widget_span.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'editable_text.dart'; +/// @docImport 'text.dart'; +library; + import 'dart:ui' as ui show ParagraphBuilder, PlaceholderAlignment; import 'package:flutter/foundation.dart'; diff --git a/packages/flutter/lib/src/widgets/widget_state.dart b/packages/flutter/lib/src/widgets/widget_state.dart index 83e6e7af92c26..8b0ed72bca1ca 100644 --- a/packages/flutter/lib/src/widgets/widget_state.dart +++ b/packages/flutter/lib/src/widgets/widget_state.dart @@ -2,6 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'package:flutter/material.dart'; +/// @docImport 'package:flutter/scheduler.dart'; +library; + import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; diff --git a/packages/flutter/lib/src/widgets/will_pop_scope.dart b/packages/flutter/lib/src/widgets/will_pop_scope.dart index 81b59454861c3..99b579081de5b 100644 --- a/packages/flutter/lib/src/widgets/will_pop_scope.dart +++ b/packages/flutter/lib/src/widgets/will_pop_scope.dart @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +/// @docImport 'form.dart'; +library; + import 'framework.dart'; import 'navigator.dart'; import 'routes.dart';