From d7af9314b355a6ba8b991cd9abe1e69151ec5f4b Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Mon, 24 Jun 2024 16:36:23 -0500 Subject: [PATCH] Update flutter.dev links from framework to more permanent destinations (#150531) The final framework PR contributing to https://github.com/flutter/website/issues/10363. --- packages/flutter/lib/fix_data/fix_cupertino.yaml | 2 +- packages/flutter/lib/fix_data/fix_gestures.yaml | 2 +- .../lib/fix_data/fix_material/fix_app_bar.yaml | 2 +- .../fix_data/fix_material/fix_app_bar_theme.yaml | 2 +- .../lib/fix_data/fix_material/fix_button_bar.yaml | 2 +- .../fix_data/fix_material/fix_color_scheme.yaml | 2 +- .../lib/fix_data/fix_material/fix_material.yaml | 2 +- .../fix_data/fix_material/fix_sliver_app_bar.yaml | 2 +- .../lib/fix_data/fix_material/fix_text_theme.yaml | 2 +- .../lib/fix_data/fix_material/fix_theme_data.yaml | 2 +- .../fix_data/fix_material/fix_widget_state.yaml | 2 +- packages/flutter/lib/fix_data/fix_painting.yaml | 2 +- packages/flutter/lib/fix_data/fix_rendering.yaml | 2 +- packages/flutter/lib/fix_data/fix_services.yaml | 2 +- packages/flutter/lib/fix_data/fix_template.yaml | 2 +- .../lib/fix_data/fix_widgets/fix_actions.yaml | 2 +- .../fix_data/fix_widgets/fix_build_context.yaml | 2 +- .../lib/fix_data/fix_widgets/fix_drag_target.yaml | 2 +- .../lib/fix_data/fix_widgets/fix_element.yaml | 2 +- .../fix_widgets/fix_interactive_viewer.yaml | 2 +- .../fix_widgets/fix_list_wheel_scroll_view.yaml | 2 +- .../lib/fix_data/fix_widgets/fix_media_query.yaml | 2 +- .../lib/fix_data/fix_widgets/fix_rich_text.yaml | 2 +- .../lib/fix_data/fix_widgets/fix_widgets.yaml | 2 +- packages/flutter/lib/src/cupertino/app.dart | 2 +- packages/flutter/lib/src/gestures/arena.dart | 2 +- packages/flutter/lib/src/gestures/monodrag.dart | 2 +- packages/flutter/lib/src/gestures/scale.dart | 4 ++-- .../flutter/lib/src/gestures/tap_and_drag.dart | 2 +- packages/flutter/lib/src/material/app.dart | 8 ++++---- packages/flutter/lib/src/rendering/box.dart | 2 +- packages/flutter/lib/src/rendering/flex.dart | 4 ++-- packages/flutter/lib/src/scheduler/binding.dart | 2 +- .../flutter/lib/src/services/asset_manifest.dart | 8 ++++---- .../lib/src/services/platform_channel.dart | 8 ++++---- packages/flutter/lib/src/widgets/actions.dart | 4 ++-- packages/flutter/lib/src/widgets/app.dart | 4 ++-- packages/flutter/lib/src/widgets/binding.dart | 4 ++-- .../flutter/lib/src/widgets/gesture_detector.dart | 4 ++-- packages/flutter/lib/src/widgets/image.dart | 2 +- packages/flutter/lib/src/widgets/media_query.dart | 2 +- packages/flutter/lib/src/widgets/shortcuts.dart | 8 ++++---- packages/flutter/lib/src/widgets/tap_region.dart | 15 +++++++-------- .../flutter/lib/src/widgets/widget_inspector.dart | 2 +- 44 files changed, 68 insertions(+), 69 deletions(-) diff --git a/packages/flutter/lib/fix_data/fix_cupertino.yaml b/packages/flutter/lib/fix_data/fix_cupertino.yaml index 56fd24a337..3654bb75a0 100644 --- a/packages/flutter/lib/fix_data/fix_cupertino.yaml +++ b/packages/flutter/lib/fix_data/fix_cupertino.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_gestures.yaml b/packages/flutter/lib/fix_data/fix_gestures.yaml index bf3afb85fc..a28c1a6168 100644 --- a/packages/flutter/lib/fix_data/fix_gestures.yaml +++ b/packages/flutter/lib/fix_data/fix_gestures.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_app_bar.yaml b/packages/flutter/lib/fix_data/fix_material/fix_app_bar.yaml index dc4fd5d176..55c17879c9 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_app_bar.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_app_bar.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_app_bar_theme.yaml b/packages/flutter/lib/fix_data/fix_material/fix_app_bar_theme.yaml index 1d538d568f..6956806dde 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_app_bar_theme.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_app_bar_theme.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_button_bar.yaml b/packages/flutter/lib/fix_data/fix_material/fix_button_bar.yaml index fd6d0a2c44..b340e3f70a 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_button_bar.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_button_bar.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_color_scheme.yaml b/packages/flutter/lib/fix_data/fix_material/fix_color_scheme.yaml index 774a6b480f..b15d93a263 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_color_scheme.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_color_scheme.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_material.yaml b/packages/flutter/lib/fix_data/fix_material/fix_material.yaml index 4e69467ae8..f395190fcf 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_material.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_material.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_sliver_app_bar.yaml b/packages/flutter/lib/fix_data/fix_material/fix_sliver_app_bar.yaml index 5d08380ad2..3c9264c0b6 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_sliver_app_bar.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_sliver_app_bar.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_text_theme.yaml b/packages/flutter/lib/fix_data/fix_material/fix_text_theme.yaml index 8b2a8cf2b6..d32c08ee07 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_text_theme.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_text_theme.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_theme_data.yaml b/packages/flutter/lib/fix_data/fix_material/fix_theme_data.yaml index e46fe931da..9629ee87fb 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_theme_data.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_theme_data.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_material/fix_widget_state.yaml b/packages/flutter/lib/fix_data/fix_material/fix_widget_state.yaml index 91d1b89d14..65343238b6 100644 --- a/packages/flutter/lib/fix_data/fix_material/fix_widget_state.yaml +++ b/packages/flutter/lib/fix_data/fix_material/fix_widget_state.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_painting.yaml b/packages/flutter/lib/fix_data/fix_painting.yaml index 4007885a6b..c8a81381df 100644 --- a/packages/flutter/lib/fix_data/fix_painting.yaml +++ b/packages/flutter/lib/fix_data/fix_painting.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_rendering.yaml b/packages/flutter/lib/fix_data/fix_rendering.yaml index 1c32a3eabb..3cc4cf4da6 100644 --- a/packages/flutter/lib/fix_data/fix_rendering.yaml +++ b/packages/flutter/lib/fix_data/fix_rendering.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_services.yaml b/packages/flutter/lib/fix_data/fix_services.yaml index 3f471d01a1..b029bfa55b 100644 --- a/packages/flutter/lib/fix_data/fix_services.yaml +++ b/packages/flutter/lib/fix_data/fix_services.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_template.yaml b/packages/flutter/lib/fix_data/fix_template.yaml index c62165edf5..92bb753171 100644 --- a/packages/flutter/lib/fix_data/fix_template.yaml +++ b/packages/flutter/lib/fix_data/fix_template.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_actions.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_actions.yaml index 510a7881e5..6b49fd5912 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_actions.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_actions.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_build_context.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_build_context.yaml index 8f7291ab40..aeb2298a7a 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_build_context.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_build_context.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_drag_target.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_drag_target.yaml index 5b304e2dfd..c54b4bef3b 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_drag_target.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_drag_target.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml index 06c283169b..ac5b6d0dc7 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_interactive_viewer.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_interactive_viewer.yaml index 6040549095..7ed5e3f103 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_interactive_viewer.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_interactive_viewer.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_list_wheel_scroll_view.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_list_wheel_scroll_view.yaml index 7cb26b354c..55126d1d79 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_list_wheel_scroll_view.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_list_wheel_scroll_view.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_media_query.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_media_query.yaml index 9f2aa1950d..09af6c0087 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_media_query.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_media_query.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_rich_text.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_rich_text.yaml index 613139fccb..512edaf990 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_rich_text.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_rich_text.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/fix_data/fix_widgets/fix_widgets.yaml b/packages/flutter/lib/fix_data/fix_widgets/fix_widgets.yaml index 9f2fc0685f..16b29e1d33 100644 --- a/packages/flutter/lib/fix_data/fix_widgets/fix_widgets.yaml +++ b/packages/flutter/lib/fix_data/fix_widgets/fix_widgets.yaml @@ -3,7 +3,7 @@ # found in the LICENSE file. # For details regarding the *Flutter Fix* feature, see -# https://docs.flutter.dev/tools/flutter-fix +# https://flutter.dev/to/flutter-fix # Please add new fixes to the top of the file, separated by one blank line # from other fixes. In a comment, include a link to the PR where the change diff --git a/packages/flutter/lib/src/cupertino/app.dart b/packages/flutter/lib/src/cupertino/app.dart index 4feb6196c9..061e6ed1fc 100644 --- a/packages/flutter/lib/src/cupertino/app.dart +++ b/packages/flutter/lib/src/cupertino/app.dart @@ -331,7 +331,7 @@ class CupertinoApp extends StatefulWidget { /// /// See also: /// - /// * + /// * final bool showPerformanceOverlay; /// Turns on checkerboarding of raster cache images. diff --git a/packages/flutter/lib/src/gestures/arena.dart b/packages/flutter/lib/src/gestures/arena.dart index c1d9939dc2..6ad11c6407 100644 --- a/packages/flutter/lib/src/gestures/arena.dart +++ b/packages/flutter/lib/src/gestures/arena.dart @@ -103,7 +103,7 @@ class _GestureArena { /// /// The first member to accept or the last member to not reject wins. /// -/// See for more +/// See for more /// information about the role this class plays in the gesture system. /// /// To debug problems with gestures, consider using diff --git a/packages/flutter/lib/src/gestures/monodrag.dart b/packages/flutter/lib/src/gestures/monodrag.dart index 1913cd7f8a..2a211ec780 100644 --- a/packages/flutter/lib/src/gestures/monodrag.dart +++ b/packages/flutter/lib/src/gestures/monodrag.dart @@ -99,7 +99,7 @@ abstract class DragGestureRecognizer extends OneSequenceGestureRecognizer { /// no difference in behavior between the two settings. /// /// For more information about the gesture arena: - /// https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation + /// https://flutter.dev/to/gesture-disambiguation /// /// By default, the drag start behavior is [DragStartBehavior.start]. /// diff --git a/packages/flutter/lib/src/gestures/scale.dart b/packages/flutter/lib/src/gestures/scale.dart index 95db9e135d..ef3955b95f 100644 --- a/packages/flutter/lib/src/gestures/scale.dart +++ b/packages/flutter/lib/src/gestures/scale.dart @@ -357,7 +357,7 @@ class ScaleGestureRecognizer extends OneSequenceGestureRecognizer { /// /// See also: /// - /// * https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation, + /// * https://flutter.dev/to/gesture-disambiguation, /// which provides more information about the gesture arena. DragStartBehavior dragStartBehavior; @@ -369,7 +369,7 @@ class ScaleGestureRecognizer extends OneSequenceGestureRecognizer { /// /// See also: /// - /// * https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation, + /// * https://flutter.dev/to/gesture-disambiguation, /// which provides more information about the gesture arena. GestureScaleStartCallback? onStart; diff --git a/packages/flutter/lib/src/gestures/tap_and_drag.dart b/packages/flutter/lib/src/gestures/tap_and_drag.dart index d1c54bbcd2..afcaf96827 100644 --- a/packages/flutter/lib/src/gestures/tap_and_drag.dart +++ b/packages/flutter/lib/src/gestures/tap_and_drag.dart @@ -765,7 +765,7 @@ sealed class BaseTapAndDragGestureRecognizer extends OneSequenceGestureRecognize /// no difference in behavior between the two settings. /// /// For more information about the gesture arena: - /// https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation + /// https://flutter.dev/to/gesture-disambiguation /// /// By default, the drag start behavior is [DragStartBehavior.start]. /// diff --git a/packages/flutter/lib/src/material/app.dart b/packages/flutter/lib/src/material/app.dart index dfdc646f9b..7a690049af 100644 --- a/packages/flutter/lib/src/material/app.dart +++ b/packages/flutter/lib/src/material/app.dart @@ -192,7 +192,7 @@ enum ThemeMode { /// * [MaterialPageRoute], which defines an app page that transitions in a material-specific way. /// * [WidgetsApp], which defines the basic app elements but does not depend on the material library. /// * The Flutter Internationalization Tutorial, -/// . +/// . class MaterialApp extends StatefulWidget { /// Creates a MaterialApp. /// @@ -610,7 +610,7 @@ class MaterialApp extends StatefulWidget { /// * [GlobalMaterialLocalizations], a [localizationsDelegates] value /// which provides material localizations for many languages. /// * The Flutter Internationalization Tutorial, - /// . + /// . final Iterable>? localizationsDelegates; /// {@macro flutter.widgets.widgetsApp.localeListResolutionCallback} @@ -634,14 +634,14 @@ class MaterialApp extends StatefulWidget { /// * [GlobalMaterialLocalizations], a [localizationsDelegates] value /// which provides material localizations for many languages. /// * The Flutter Internationalization Tutorial, - /// . + /// . final Iterable supportedLocales; /// Turns on a performance overlay. /// /// See also: /// - /// * + /// * final bool showPerformanceOverlay; /// Turns on checkerboarding of raster cache images. diff --git a/packages/flutter/lib/src/rendering/box.dart b/packages/flutter/lib/src/rendering/box.dart index d11ce8daf3..795d7da96a 100644 --- a/packages/flutter/lib/src/rendering/box.dart +++ b/packages/flutter/lib/src/rendering/box.dart @@ -2467,7 +2467,7 @@ abstract class RenderBox extends RenderObject { ...information, DiagnosticsProperty('The constraints that applied to the $runtimeType were', constraints, style: DiagnosticsTreeStyle.errorProperty), DiagnosticsProperty('The exact size it was given was', _size, style: DiagnosticsTreeStyle.errorProperty), - ErrorHint('See https://docs.flutter.dev/ui/layout/box-constraints for more information.'), + ErrorHint('See https://flutter.dev/to/unbounded-constraints for more information.'), ]); } // verify that the size is within the constraints diff --git a/packages/flutter/lib/src/rendering/flex.dart b/packages/flutter/lib/src/rendering/flex.dart index 45de3a51d1..5f21208314 100644 --- a/packages/flutter/lib/src/rendering/flex.dart +++ b/packages/flutter/lib/src/rendering/flex.dart @@ -935,8 +935,8 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin('The creator information is set to', debugCreator, style: DiagnosticsTreeStyle.errorProperty), diff --git a/packages/flutter/lib/src/scheduler/binding.dart b/packages/flutter/lib/src/scheduler/binding.dart index 4c47188279..287dd0f242 100644 --- a/packages/flutter/lib/src/scheduler/binding.dart +++ b/packages/flutter/lib/src/scheduler/binding.dart @@ -783,7 +783,7 @@ mixin SchedulerBinding on BindingBase { /// /// In debug mode, if [debugTracePostFrameCallbacks] is set to true, then the /// registered callback will show up in the timeline events chart, which can - /// be viewed in [DevTools](https://docs.flutter.dev/tools/devtools/overview). + /// be viewed in [DevTools](https://docs.flutter.dev/tools/devtools). /// In that case, the `debugLabel` argument specifies the name of the callback /// as it will appear in the timeline. In profile and release builds, /// post-frame are never traced, and the `debugLabel` argument is ignored. diff --git a/packages/flutter/lib/src/services/asset_manifest.dart b/packages/flutter/lib/src/services/asset_manifest.dart index c948067e4c..3ebb1e02bb 100644 --- a/packages/flutter/lib/src/services/asset_manifest.dart +++ b/packages/flutter/lib/src/services/asset_manifest.dart @@ -19,7 +19,7 @@ const String _kAssetManifestFilename = 'AssetManifest.bin'; const String _kAssetManifestWebFilename = 'AssetManifest.bin.json'; /// Contains details about available assets and their variants. -/// See [Resolution-aware image assets](https://docs.flutter.dev/ui/assets-and-images#resolution-aware) +/// See [Resolution-aware image assets](https://flutter.dev/to/resolution-aware-images) /// to learn about asset variants and how to declare them. abstract class AssetManifest { /// Loads asset manifest data from an [AssetBundle] object and creates an @@ -50,8 +50,8 @@ abstract class AssetManifest { /// The logical key maps to the path of an asset specified in the pubspec.yaml /// file at build time. /// - /// See [Specifying assets](https://docs.flutter.dev/development/ui/assets-and-images#specifying-assets) - /// and [Loading assets](https://docs.flutter.dev/development/ui/assets-and-images#loading-assets) + /// See [Specifying assets](https://docs.flutter.dev/ui/assets/assets-and-images#specifying-assets) + /// and [Loading assets](https://docs.flutter.dev/ui/assets/assets-and-images#loading-assets) /// for more information. List listAssets(); @@ -139,7 +139,7 @@ class AssetMetadata { /// This will be null if the parent folder name is not a ratio value followed /// by an "x". /// - /// See [Resolution-aware image assets](https://docs.flutter.dev/development/ui/assets-and-images#resolution-aware) + /// See [Resolution-aware image assets](https://flutter.dev/to/resolution-aware-images) /// for more information. final double? targetDevicePixelRatio; diff --git a/packages/flutter/lib/src/services/platform_channel.dart b/packages/flutter/lib/src/services/platform_channel.dart index 2b8c48ede7..e7377a2ca9 100644 --- a/packages/flutter/lib/src/services/platform_channel.dart +++ b/packages/flutter/lib/src/services/platform_channel.dart @@ -178,7 +178,7 @@ BinaryMessenger _findBinaryMessenger() { /// ordering. Applications can assume messages sent via a built-in /// [BasicMessageChannel] are delivered in the same order as they're sent. /// -/// See: +/// See: class BasicMessageChannel { /// Creates a [BasicMessageChannel] with the specified [name], [codec] and /// [binaryMessenger]. @@ -264,7 +264,7 @@ class BasicMessageChannel { /// they're sent. /// {@endtemplate} /// -/// See: +/// See: @pragma('vm:keep-name') class MethodChannel { /// Creates a [MethodChannel] with the specified [name]. @@ -361,7 +361,7 @@ class MethodChannel { /// {@tool snippet} /// /// The code might be packaged up as a musical plugin, see - /// : + /// : /// /// ```dart /// abstract final class Music { @@ -615,7 +615,7 @@ class OptionalMethodChannel extends MethodChannel { /// The logical identity of the channel is given by its name. Identically named /// channels will interfere with each other's communication. /// -/// See: +/// See: class EventChannel { /// Creates an [EventChannel] with the specified [name]. /// diff --git a/packages/flutter/lib/src/widgets/actions.dart b/packages/flutter/lib/src/widgets/actions.dart index c9ead463b1..6ab5dd14b6 100644 --- a/packages/flutter/lib/src/widgets/actions.dart +++ b/packages/flutter/lib/src/widgets/actions.dart @@ -106,8 +106,8 @@ typedef ActionListenerCallback = void Function(Action action); /// developers to change that if they add an ancestor [Actions] widget that maps /// [SelectAllTextIntent] to a different [Action]. /// -/// See the article on [Using Actions and -/// Shortcuts](https://docs.flutter.dev/development/ui/advanced/actions_and_shortcuts) +/// See the article on +/// [Using Actions and Shortcuts](https://flutter.dev/to/actions-shortcuts) /// for a detailed explanation. /// /// See also: diff --git a/packages/flutter/lib/src/widgets/app.dart b/packages/flutter/lib/src/widgets/app.dart index 6038697172..f6547b485b 100644 --- a/packages/flutter/lib/src/widgets/app.dart +++ b/packages/flutter/lib/src/widgets/app.dart @@ -1004,7 +1004,7 @@ class WidgetsApp extends StatefulWidget { /// /// See also: /// - /// * + /// * final bool showPerformanceOverlay; /// Turns on an overlay that shows the accessibility information @@ -1656,7 +1656,7 @@ class _WidgetsAppState extends State with WidgetsBindingObserver { ), ErrorSpacer(), ErrorDescription( - 'See https://flutter.dev/tutorials/internationalization/ for more ' + 'See https://flutter.dev/to/internationalization/ for more ' "information about configuring an app's locale, supportedLocales, " 'and localizationsDelegates parameters.', ), diff --git a/packages/flutter/lib/src/widgets/binding.dart b/packages/flutter/lib/src/widgets/binding.dart index 3a74bbe3be..14ad6d6ecc 100644 --- a/packages/flutter/lib/src/widgets/binding.dart +++ b/packages/flutter/lib/src/widgets/binding.dart @@ -1380,7 +1380,7 @@ mixin WidgetsBinding on BindingBase, ServicesBinding, SchedulerBinding, GestureB /// as soon as it is displayed again. /// {@endtemplate} /// -/// To release resources more eagerly, establish a [platform channel](https://flutter.dev/platform-channels/) +/// To release resources more eagerly, establish a [platform channel](https://flutter.dev/to/platform-channels) /// and use it to call [runApp] with a widget such as [SizedBox.shrink] when /// the framework should dispose of the active widget tree. /// @@ -1440,7 +1440,7 @@ void runApp(Widget app) { /// /// {@macro flutter.widgets.runApp.dismissal} /// -/// To release resources more eagerly, establish a [platform channel](https://flutter.dev/platform-channels/) +/// To release resources more eagerly, establish a [platform channel](https://flutter.dev/to/platform-channels) /// and use it to remove the [View] whose widget resources should be released /// from the `app` widget tree provided to [runWidget]. /// diff --git a/packages/flutter/lib/src/widgets/gesture_detector.dart b/packages/flutter/lib/src/widgets/gesture_detector.dart index 3f28b919ad..fabea4bf10 100644 --- a/packages/flutter/lib/src/widgets/gesture_detector.dart +++ b/packages/flutter/lib/src/widgets/gesture_detector.dart @@ -121,7 +121,7 @@ class GestureRecognizerFactoryWithHandlers extends /// them to the callbacks. To ignore accessibility events, set /// [excludeFromSemantics] to true. /// -/// See for additional information. +/// See for additional information. /// /// Material design applications typically react to touches with ink splash /// effects. The [InkWell] class implements this effect and can be used in place @@ -160,7 +160,7 @@ class GestureRecognizerFactoryWithHandlers extends /// first served. The child onTap is called, and the parent's is not as the gesture has /// been consumed. /// For more information on gesture disambiguation see: -/// [Gesture disambiguation](https://docs.flutter.dev/development/ui/advanced/gestures#gesture-disambiguation). +/// [Gesture disambiguation](https://flutter.dev/to/gesture-disambiguation). /// /// Setting [GestureDetector.behavior] to [HitTestBehavior.opaque] /// or [HitTestBehavior.translucent] has no impact on parent-child relationships: diff --git a/packages/flutter/lib/src/widgets/image.dart b/packages/flutter/lib/src/widgets/image.dart index 3b6ffb6c0d..e19a92f936 100644 --- a/packages/flutter/lib/src/widgets/image.dart +++ b/packages/flutter/lib/src/widgets/image.dart @@ -606,7 +606,7 @@ class Image extends StatefulWidget { /// omitted. /// * [ExactAssetImage], which is used to implement the behavior when the /// scale is present. - /// * , an introduction to assets in + /// * , an introduction to assets in /// Flutter. Image.asset( String name, { diff --git a/packages/flutter/lib/src/widgets/media_query.dart b/packages/flutter/lib/src/widgets/media_query.dart index b3821372a9..9429e2ab6f 100644 --- a/packages/flutter/lib/src/widgets/media_query.dart +++ b/packages/flutter/lib/src/widgets/media_query.dart @@ -289,7 +289,7 @@ class MediaQueryData { /// are automatically rebuilt. /// /// See the article on [Creating responsive and adaptive - /// apps](https://docs.flutter.dev/development/ui/layout/adaptive-responsive) + /// apps](https://docs.flutter.dev/ui/adaptive-responsive) /// for an introduction. /// /// See also: diff --git a/packages/flutter/lib/src/widgets/shortcuts.dart b/packages/flutter/lib/src/widgets/shortcuts.dart index 31c93a80cd..b0cdc1713a 100644 --- a/packages/flutter/lib/src/widgets/shortcuts.dart +++ b/packages/flutter/lib/src/widgets/shortcuts.dart @@ -940,8 +940,8 @@ class ShortcutManager with Diagnosticable, ChangeNotifier { /// deletion intent may be to delete a character in a text input, or to delete /// a file in a file menu. /// -/// See the article on [Using Actions and -/// Shortcuts](https://docs.flutter.dev/development/ui/advanced/actions_and_shortcuts) +/// See the article on +/// [Using Actions and Shortcuts](https://flutter.dev/to/actions-shortcuts) /// for a detailed explanation. /// /// {@tool dartpad} @@ -1138,8 +1138,8 @@ class _ShortcutsState extends State { /// a descendant of this widget handles the key, then the key event will not /// reach this widget for handling. /// -/// See the article on [Using Actions and -/// Shortcuts](https://docs.flutter.dev/development/ui/advanced/actions_and_shortcuts) +/// See the article on +/// [Using Actions and Shortcuts](https://flutter.dev/to/actions-shortcuts) /// for a detailed explanation. /// /// See also: diff --git a/packages/flutter/lib/src/widgets/tap_region.dart b/packages/flutter/lib/src/widgets/tap_region.dart index 756feaa9a2..76f8dde220 100644 --- a/packages/flutter/lib/src/widgets/tap_region.dart +++ b/packages/flutter/lib/src/widgets/tap_region.dart @@ -72,7 +72,7 @@ abstract class TapRegionRegistry { /// A widget that provides notification of a tap inside or outside of a set of /// registered regions, without participating in the [gesture -/// disambiguation](https://flutter.dev/gestures/#gesture-disambiguation) +/// disambiguation](https://flutter.dev/to/gesture-disambiguation) /// system. /// /// The regions are defined by adding [TapRegion] widgets to the widget tree @@ -98,7 +98,7 @@ abstract class TapRegionRegistry { /// entire app. /// /// [TapRegionSurface] does not participate in the [gesture -/// disambiguation](https://flutter.dev/gestures/#gesture-disambiguation) +/// disambiguation](https://flutter.dev/to/gesture-disambiguation) /// system, so if multiple [TapRegionSurface]s are active at the same time, they /// will all fire, and so will any other gestures recognized by a /// [GestureDetector] or other pointer event handlers. @@ -109,7 +109,7 @@ abstract class TapRegionRegistry { /// /// * [RenderTapRegionSurface], the render object that is inserted into the /// render tree by this widget. -/// * for more +/// * for more /// information about the gesture system and how it disambiguates inputs. class TapRegionSurface extends SingleChildRenderObjectWidget { /// Creates a const [RenderTapRegionSurface]. @@ -134,7 +134,7 @@ class TapRegionSurface extends SingleChildRenderObjectWidget { /// A render object that provides notification of a tap inside or outside of a /// set of registered regions, without participating in the [gesture -/// disambiguation](https://flutter.dev/gestures/#gesture-disambiguation) system +/// disambiguation](https://flutter.dev/to/gesture-disambiguation) system /// (other than to consume tap down events if [TapRegion.consumeOutsideTaps] is /// true). /// @@ -161,7 +161,7 @@ class TapRegionSurface extends SingleChildRenderObjectWidget { /// [RenderTapRegionSurface] around the entire app. /// /// [RenderTapRegionSurface] does not participate in the [gesture -/// disambiguation](https://flutter.dev/gestures/#gesture-disambiguation) +/// disambiguation](https://flutter.dev/to/gesture-disambiguation) /// system, so if multiple [RenderTapRegionSurface]s are active at the same /// time, they will all fire, and so will any other gestures recognized by a /// [GestureDetector] or other pointer event handlers. @@ -311,7 +311,7 @@ class _DummyTapRecognizer extends GestureArenaMember { /// A widget that defines a region that can detect taps inside or outside of /// itself and any group of regions it belongs to, without participating in the /// [gesture -/// disambiguation](https://flutter.dev/gestures/#gesture-disambiguation) system +/// disambiguation](https://flutter.dev/to/gesture-disambiguation) system /// (other than to consume tap down events if [consumeOutsideTaps] is true). /// /// This widget indicates to the nearest ancestor [TapRegionSurface] that the @@ -435,8 +435,7 @@ class TapRegion extends SingleChildRenderObjectWidget { /// A render object that defines a region that can detect taps inside or outside /// of itself and any group of regions it belongs to, without participating in /// the [gesture -/// disambiguation](https://flutter.dev/gestures/#gesture-disambiguation) -/// system. +/// disambiguation](https://flutter.dev/to/gesture-disambiguation) system. /// /// This render object indicates to the nearest ancestor [TapRegionSurface] that /// the region occupied by its child (or itself if [behavior] is diff --git a/packages/flutter/lib/src/widgets/widget_inspector.dart b/packages/flutter/lib/src/widgets/widget_inspector.dart index 686b3fd197..d05101c682 100644 --- a/packages/flutter/lib/src/widgets/widget_inspector.dart +++ b/packages/flutter/lib/src/widgets/widget_inspector.dart @@ -3926,7 +3926,7 @@ class _WidgetFactory { /// /// See also: /// -/// * the documentation for [Track widget creation](https://docs.flutter.dev/development/tools/devtools/inspector#track-widget-creation). +/// * the documentation for [Track widget creation](https://flutter.dev/to/track-widget-creation). // The below ignore is needed because the static type of the annotation is used // by the CFE kernel transformer that implements the instrumentation to // recognize the annotation.