Skip to content

Commit 92b2077

Browse files
parloughsigurdm
authored andcommitted
Update flutter.dev links from framework to more permanent destinations (flutter#150531)
The final framework PR contributing to flutter/website#10363.
1 parent 684c904 commit 92b2077

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+68
-69
lines changed

packages/flutter/lib/fix_data/fix_cupertino.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_gestures.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_app_bar.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_app_bar_theme.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_button_bar.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_color_scheme.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_material.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_sliver_app_bar.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_text_theme.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_theme_data.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_material/fix_widget_state.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_painting.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_rendering.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_services.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_actions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_build_context.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_drag_target.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_interactive_viewer.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_list_wheel_scroll_view.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_media_query.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_rich_text.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/fix_data/fix_widgets/fix_widgets.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# found in the LICENSE file.
44

55
# For details regarding the *Flutter Fix* feature, see
6-
# https://docs.flutter.dev/tools/flutter-fix
6+
# https://flutter.dev/to/flutter-fix
77

88
# Please add new fixes to the top of the file, separated by one blank line
99
# from other fixes. In a comment, include a link to the PR where the change

packages/flutter/lib/src/cupertino/app.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class CupertinoApp extends StatefulWidget {
331331
///
332332
/// See also:
333333
///
334-
/// * <https://flutter.dev/debugging/#performance-overlay>
334+
/// * <https://flutter.dev/to/performance-overlay>
335335
final bool showPerformanceOverlay;
336336

337337
/// Turns on checkerboarding of raster cache images.

packages/flutter/lib/src/gestures/arena.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class _GestureArena {
103103
///
104104
/// The first member to accept or the last member to not reject wins.
105105
///
106-
/// See <https://flutter.dev/gestures/#gesture-disambiguation> for more
106+
/// See <https://flutter.dev/to/gesture-disambiguation> for more
107107
/// information about the role this class plays in the gesture system.
108108
///
109109
/// To debug problems with gestures, consider using

packages/flutter/lib/src/gestures/monodrag.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ abstract class DragGestureRecognizer extends OneSequenceGestureRecognizer {
9999
/// no difference in behavior between the two settings.
100100
///
101101
/// For more information about the gesture arena:
102-
/// https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation
102+
/// https://flutter.dev/to/gesture-disambiguation
103103
///
104104
/// By default, the drag start behavior is [DragStartBehavior.start].
105105
///

packages/flutter/lib/src/gestures/scale.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class ScaleGestureRecognizer extends OneSequenceGestureRecognizer {
357357
///
358358
/// See also:
359359
///
360-
/// * https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation,
360+
/// * https://flutter.dev/to/gesture-disambiguation,
361361
/// which provides more information about the gesture arena.
362362
DragStartBehavior dragStartBehavior;
363363

@@ -369,7 +369,7 @@ class ScaleGestureRecognizer extends OneSequenceGestureRecognizer {
369369
///
370370
/// See also:
371371
///
372-
/// * https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation,
372+
/// * https://flutter.dev/to/gesture-disambiguation,
373373
/// which provides more information about the gesture arena.
374374
GestureScaleStartCallback? onStart;
375375

packages/flutter/lib/src/gestures/tap_and_drag.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ sealed class BaseTapAndDragGestureRecognizer extends OneSequenceGestureRecognize
765765
/// no difference in behavior between the two settings.
766766
///
767767
/// For more information about the gesture arena:
768-
/// https://docs.flutter.dev/ui/interactivity/gestures#gesture-disambiguation
768+
/// https://flutter.dev/to/gesture-disambiguation
769769
///
770770
/// By default, the drag start behavior is [DragStartBehavior.start].
771771
///

packages/flutter/lib/src/material/app.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ enum ThemeMode {
192192
/// * [MaterialPageRoute], which defines an app page that transitions in a material-specific way.
193193
/// * [WidgetsApp], which defines the basic app elements but does not depend on the material library.
194194
/// * The Flutter Internationalization Tutorial,
195-
/// <https://flutter.dev/tutorials/internationalization/>.
195+
/// <https://flutter.dev/to/internationalization/>.
196196
class MaterialApp extends StatefulWidget {
197197
/// Creates a MaterialApp.
198198
///
@@ -610,7 +610,7 @@ class MaterialApp extends StatefulWidget {
610610
/// * [GlobalMaterialLocalizations], a [localizationsDelegates] value
611611
/// which provides material localizations for many languages.
612612
/// * The Flutter Internationalization Tutorial,
613-
/// <https://flutter.dev/tutorials/internationalization/>.
613+
/// <https://flutter.dev/to/internationalization/>.
614614
final Iterable<LocalizationsDelegate<dynamic>>? localizationsDelegates;
615615

616616
/// {@macro flutter.widgets.widgetsApp.localeListResolutionCallback}
@@ -634,14 +634,14 @@ class MaterialApp extends StatefulWidget {
634634
/// * [GlobalMaterialLocalizations], a [localizationsDelegates] value
635635
/// which provides material localizations for many languages.
636636
/// * The Flutter Internationalization Tutorial,
637-
/// <https://flutter.dev/tutorials/internationalization/>.
637+
/// <https://flutter.dev/to/internationalization/>.
638638
final Iterable<Locale> supportedLocales;
639639

640640
/// Turns on a performance overlay.
641641
///
642642
/// See also:
643643
///
644-
/// * <https://flutter.dev/debugging/#performance-overlay>
644+
/// * <https://flutter.dev/to/performance-overlay>
645645
final bool showPerformanceOverlay;
646646

647647
/// Turns on checkerboarding of raster cache images.

packages/flutter/lib/src/rendering/box.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -2467,7 +2467,7 @@ abstract class RenderBox extends RenderObject {
24672467
...information,
24682468
DiagnosticsProperty<BoxConstraints>('The constraints that applied to the $runtimeType were', constraints, style: DiagnosticsTreeStyle.errorProperty),
24692469
DiagnosticsProperty<Size>('The exact size it was given was', _size, style: DiagnosticsTreeStyle.errorProperty),
2470-
ErrorHint('See https://docs.flutter.dev/ui/layout/box-constraints for more information.'),
2470+
ErrorHint('See https://flutter.dev/to/unbounded-constraints for more information.'),
24712471
]);
24722472
}
24732473
// verify that the size is within the constraints

packages/flutter/lib/src/rendering/flex.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
935935
),
936936
ErrorDescription(
937937
'If this message did not help you determine the problem, consider using debugDumpRenderTree():\n'
938-
' https://flutter.dev/debugging/#rendering-layer\n'
939-
' http://api.flutter.dev/flutter/rendering/debugDumpRenderTree.html',
938+
' https://flutter.dev/to/debug-render-layer\n'
939+
' https://api.flutter.dev/flutter/rendering/debugDumpRenderTree.html',
940940
),
941941
describeForError('The affected RenderFlex is', style: DiagnosticsTreeStyle.errorProperty),
942942
DiagnosticsProperty<dynamic>('The creator information is set to', debugCreator, style: DiagnosticsTreeStyle.errorProperty),

packages/flutter/lib/src/scheduler/binding.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ mixin SchedulerBinding on BindingBase {
783783
///
784784
/// In debug mode, if [debugTracePostFrameCallbacks] is set to true, then the
785785
/// registered callback will show up in the timeline events chart, which can
786-
/// be viewed in [DevTools](https://docs.flutter.dev/tools/devtools/overview).
786+
/// be viewed in [DevTools](https://docs.flutter.dev/tools/devtools).
787787
/// In that case, the `debugLabel` argument specifies the name of the callback
788788
/// as it will appear in the timeline. In profile and release builds,
789789
/// post-frame are never traced, and the `debugLabel` argument is ignored.

packages/flutter/lib/src/services/asset_manifest.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const String _kAssetManifestFilename = 'AssetManifest.bin';
1919
const String _kAssetManifestWebFilename = 'AssetManifest.bin.json';
2020

2121
/// Contains details about available assets and their variants.
22-
/// See [Resolution-aware image assets](https://docs.flutter.dev/ui/assets-and-images#resolution-aware)
22+
/// See [Resolution-aware image assets](https://flutter.dev/to/resolution-aware-images)
2323
/// to learn about asset variants and how to declare them.
2424
abstract class AssetManifest {
2525
/// Loads asset manifest data from an [AssetBundle] object and creates an
@@ -50,8 +50,8 @@ abstract class AssetManifest {
5050
/// The logical key maps to the path of an asset specified in the pubspec.yaml
5151
/// file at build time.
5252
///
53-
/// See [Specifying assets](https://docs.flutter.dev/development/ui/assets-and-images#specifying-assets)
54-
/// and [Loading assets](https://docs.flutter.dev/development/ui/assets-and-images#loading-assets)
53+
/// See [Specifying assets](https://docs.flutter.dev/ui/assets/assets-and-images#specifying-assets)
54+
/// and [Loading assets](https://docs.flutter.dev/ui/assets/assets-and-images#loading-assets)
5555
/// for more information.
5656
List<String> listAssets();
5757

@@ -139,7 +139,7 @@ class AssetMetadata {
139139
/// This will be null if the parent folder name is not a ratio value followed
140140
/// by an "x".
141141
///
142-
/// See [Resolution-aware image assets](https://docs.flutter.dev/development/ui/assets-and-images#resolution-aware)
142+
/// See [Resolution-aware image assets](https://flutter.dev/to/resolution-aware-images)
143143
/// for more information.
144144
final double? targetDevicePixelRatio;
145145

packages/flutter/lib/src/services/platform_channel.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ BinaryMessenger _findBinaryMessenger() {
178178
/// ordering. Applications can assume messages sent via a built-in
179179
/// [BasicMessageChannel] are delivered in the same order as they're sent.
180180
///
181-
/// See: <https://flutter.dev/platform-channels/>
181+
/// See: <https://flutter.dev/to/platform-channels/>
182182
class BasicMessageChannel<T> {
183183
/// Creates a [BasicMessageChannel] with the specified [name], [codec] and
184184
/// [binaryMessenger].
@@ -264,7 +264,7 @@ class BasicMessageChannel<T> {
264264
/// they're sent.
265265
/// {@endtemplate}
266266
///
267-
/// See: <https://flutter.dev/platform-channels/>
267+
/// See: <https://flutter.dev/to/platform-channels/>
268268
@pragma('vm:keep-name')
269269
class MethodChannel {
270270
/// Creates a [MethodChannel] with the specified [name].
@@ -361,7 +361,7 @@ class MethodChannel {
361361
/// {@tool snippet}
362362
///
363363
/// The code might be packaged up as a musical plugin, see
364-
/// <https://flutter.dev/developing-packages/>:
364+
/// <https://flutter.dev/to/develop-packages>:
365365
///
366366
/// ```dart
367367
/// abstract final class Music {
@@ -615,7 +615,7 @@ class OptionalMethodChannel extends MethodChannel {
615615
/// The logical identity of the channel is given by its name. Identically named
616616
/// channels will interfere with each other's communication.
617617
///
618-
/// See: <https://flutter.dev/platform-channels/>
618+
/// See: <https://flutter.dev/to/platform-channels/>
619619
class EventChannel {
620620
/// Creates an [EventChannel] with the specified [name].
621621
///

0 commit comments

Comments
 (0)