Skip to content

Commit

Permalink
Update flutter.dev links from framework to more permanent destinations (
Browse files Browse the repository at this point in the history
flutter#150531)

The final framework PR contributing to flutter/website#10363.
  • Loading branch information
parlough authored and sigurdm committed Jun 25, 2024
1 parent 684c904 commit 92b2077
Show file tree
Hide file tree
Showing 44 changed files with 68 additions and 69 deletions.
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_cupertino.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_gestures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_painting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_rendering.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_widgets/fix_actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_widgets/fix_element.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/fix_data/fix_widgets/fix_widgets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/cupertino/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class CupertinoApp extends StatefulWidget {
///
/// See also:
///
/// * <https://flutter.dev/debugging/#performance-overlay>
/// * <https://flutter.dev/to/performance-overlay>
final bool showPerformanceOverlay;

/// Turns on checkerboarding of raster cache images.
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/gestures/arena.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class _GestureArena {
///
/// The first member to accept or the last member to not reject wins.
///
/// See <https://flutter.dev/gestures/#gesture-disambiguation> for more
/// See <https://flutter.dev/to/gesture-disambiguation> for more
/// information about the role this class plays in the gesture system.
///
/// To debug problems with gestures, consider using
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/gestures/monodrag.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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].
///
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter/lib/src/gestures/scale.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/gestures/tap_and_drag.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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].
///
Expand Down
8 changes: 4 additions & 4 deletions packages/flutter/lib/src/material/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
/// <https://flutter.dev/tutorials/internationalization/>.
/// <https://flutter.dev/to/internationalization/>.
class MaterialApp extends StatefulWidget {
/// Creates a MaterialApp.
///
Expand Down Expand Up @@ -610,7 +610,7 @@ class MaterialApp extends StatefulWidget {
/// * [GlobalMaterialLocalizations], a [localizationsDelegates] value
/// which provides material localizations for many languages.
/// * The Flutter Internationalization Tutorial,
/// <https://flutter.dev/tutorials/internationalization/>.
/// <https://flutter.dev/to/internationalization/>.
final Iterable<LocalizationsDelegate<dynamic>>? localizationsDelegates;

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

/// Turns on a performance overlay.
///
/// See also:
///
/// * <https://flutter.dev/debugging/#performance-overlay>
/// * <https://flutter.dev/to/performance-overlay>
final bool showPerformanceOverlay;

/// Turns on checkerboarding of raster cache images.
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/rendering/box.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2467,7 +2467,7 @@ abstract class RenderBox extends RenderObject {
...information,
DiagnosticsProperty<BoxConstraints>('The constraints that applied to the $runtimeType were', constraints, style: DiagnosticsTreeStyle.errorProperty),
DiagnosticsProperty<Size>('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
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter/lib/src/rendering/flex.dart
Original file line number Diff line number Diff line change
Expand Up @@ -935,8 +935,8 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
),
ErrorDescription(
'If this message did not help you determine the problem, consider using debugDumpRenderTree():\n'
' https://flutter.dev/debugging/#rendering-layer\n'
' http://api.flutter.dev/flutter/rendering/debugDumpRenderTree.html',
' https://flutter.dev/to/debug-render-layer\n'
' https://api.flutter.dev/flutter/rendering/debugDumpRenderTree.html',
),
describeForError('The affected RenderFlex is', style: DiagnosticsTreeStyle.errorProperty),
DiagnosticsProperty<dynamic>('The creator information is set to', debugCreator, style: DiagnosticsTreeStyle.errorProperty),
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/scheduler/binding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions packages/flutter/lib/src/services/asset_manifest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<String> listAssets();

Expand Down Expand Up @@ -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;

Expand Down
8 changes: 4 additions & 4 deletions packages/flutter/lib/src/services/platform_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://flutter.dev/platform-channels/>
/// See: <https://flutter.dev/to/platform-channels/>
class BasicMessageChannel<T> {
/// Creates a [BasicMessageChannel] with the specified [name], [codec] and
/// [binaryMessenger].
Expand Down Expand Up @@ -264,7 +264,7 @@ class BasicMessageChannel<T> {
/// they're sent.
/// {@endtemplate}
///
/// See: <https://flutter.dev/platform-channels/>
/// See: <https://flutter.dev/to/platform-channels/>
@pragma('vm:keep-name')
class MethodChannel {
/// Creates a [MethodChannel] with the specified [name].
Expand Down Expand Up @@ -361,7 +361,7 @@ class MethodChannel {
/// {@tool snippet}
///
/// The code might be packaged up as a musical plugin, see
/// <https://flutter.dev/developing-packages/>:
/// <https://flutter.dev/to/develop-packages>:
///
/// ```dart
/// abstract final class Music {
Expand Down Expand Up @@ -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: <https://flutter.dev/platform-channels/>
/// See: <https://flutter.dev/to/platform-channels/>
class EventChannel {
/// Creates an [EventChannel] with the specified [name].
///
Expand Down
Loading

0 comments on commit 92b2077

Please sign in to comment.