Unverified Commit ca13add9 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Fix/update several HTML links (#33539)

parent 311cde98
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/// The largest SMI value. /// The largest SMI value.
/// ///
/// See <https://www.dartlang.org/articles/numeric-computation/#smis-and-mints> /// See <https://dart.dev/articles/numeric-computation/#smis-and-mints>
/// ///
/// When compiling to JavaScript, this value is not supported since it is /// When compiling to JavaScript, this value is not supported since it is
/// larger than the maximum safe 32bit integer. /// larger than the maximum safe 32bit integer.
...@@ -35,7 +35,7 @@ class BitField<T extends dynamic> { ...@@ -35,7 +35,7 @@ class BitField<T extends dynamic> {
final int _length; final int _length;
int _bits; int _bits;
static const int _smiBits = 62; // see https://www.dartlang.org/articles/numeric-computation/#smis-and-mints static const int _smiBits = 62; // see https://dart.dev/articles/numeric-computation/#smis-and-mints
static const int _allZeros = 0; static const int _allZeros = 0;
static const int _allOnes = kMaxUnsignedSMI; // 2^(_kSMIBits+1)-1 static const int _allOnes = kMaxUnsignedSMI; // 2^(_kSMIBits+1)-1
......
...@@ -19,8 +19,8 @@ import 'print.dart'; ...@@ -19,8 +19,8 @@ import 'print.dart';
/// override [debugPrint] themselves and want to check that their own custom /// override [debugPrint] themselves and want to check that their own custom
/// value wasn't overridden by a test. /// value wasn't overridden by a test.
/// ///
/// See [https://docs.flutter.io/flutter/foundation/foundation-library.html] for /// See [the foundation library](foundation/foundation-library.html)
/// a complete list. /// for a complete list.
bool debugAssertAllFoundationVarsUnset(String reason, { DebugPrintCallback debugPrintOverride = debugPrintThrottled }) { bool debugAssertAllFoundationVarsUnset(String reason, { DebugPrintCallback debugPrintOverride = debugPrintThrottled }) {
assert(() { assert(() {
if (debugPrint != debugPrintOverride || if (debugPrint != debugPrintOverride ||
......
...@@ -54,8 +54,8 @@ bool debugPrintRecognizerCallbacksTrace = false; ...@@ -54,8 +54,8 @@ bool debugPrintRecognizerCallbacksTrace = false;
/// This function is used by the test framework to ensure that debug variables /// This function is used by the test framework to ensure that debug variables
/// haven't been inadvertently changed. /// haven't been inadvertently changed.
/// ///
/// See [https://docs.flutter.io/flutter/gestures/gestures-library.html] for /// See [the gestures library](gestures/gestures-library.html) for a complete
/// a complete list. /// list.
bool debugAssertAllGesturesVarsUnset(String reason) { bool debugAssertAllGesturesVarsUnset(String reason) {
assert(() { assert(() {
if (debugPrintHitTestResults || if (debugPrintHitTestResults ||
......
...@@ -1193,7 +1193,7 @@ class Scaffold extends StatefulWidget { ...@@ -1193,7 +1193,7 @@ class Scaffold extends StatefulWidget {
'There are several ways to avoid this problem. The simplest is to use a Builder to get a ' 'There are several ways to avoid this problem. The simplest is to use a Builder to get a '
'context that is "under" the Scaffold. For an example of this, please see the ' 'context that is "under" the Scaffold. For an example of this, please see the '
'documentation for Scaffold.of():\n' 'documentation for Scaffold.of():\n'
' https://docs.flutter.io/flutter/material/Scaffold/of.html\n' ' https://api.flutter.dev/flutter/material/Scaffold/of.html\n'
'A more efficient solution is to split your build function into several widgets. This ' 'A more efficient solution is to split your build function into several widgets. This '
'introduces a new context from which you can obtain the Scaffold. In this solution, ' 'introduces a new context from which you can obtain the Scaffold. In this solution, '
'you would have an outer widget that creates the Scaffold populated by instances of ' 'you would have an outer widget that creates the Scaffold populated by instances of '
...@@ -1236,7 +1236,7 @@ class Scaffold extends StatefulWidget { ...@@ -1236,7 +1236,7 @@ class Scaffold extends StatefulWidget {
'There are several ways to avoid this problem. The simplest is to use a Builder to get a ' 'There are several ways to avoid this problem. The simplest is to use a Builder to get a '
'context that is "under" the Scaffold. For an example of this, please see the ' 'context that is "under" the Scaffold. For an example of this, please see the '
'documentation for Scaffold.of():\n' 'documentation for Scaffold.of():\n'
' https://docs.flutter.io/flutter/material/Scaffold/of.html\n' ' https://api.flutter.dev/flutter/material/Scaffold/of.html\n'
'A more efficient solution is to split your build function into several widgets. This ' 'A more efficient solution is to split your build function into several widgets. This '
'introduces a new context from which you can obtain the Scaffold. In this solution, ' 'introduces a new context from which you can obtain the Scaffold. In this solution, '
'you would have an outer widget that creates the Scaffold populated by instances of ' 'you would have an outer widget that creates the Scaffold populated by instances of '
......
...@@ -34,8 +34,8 @@ HttpClientProvider debugNetworkImageHttpClientProvider; ...@@ -34,8 +34,8 @@ HttpClientProvider debugNetworkImageHttpClientProvider;
/// This function is used by the test framework to ensure that debug variables /// This function is used by the test framework to ensure that debug variables
/// haven't been inadvertently changed. /// haven't been inadvertently changed.
/// ///
/// See <https://docs.flutter.io/flutter/rendering/painting-library.html> for /// See [the painting library](painting/painting-library.html) for a complete
/// a complete list. /// list.
/// ///
/// The `debugDisableShadowsOverride` argument can be provided to override /// The `debugDisableShadowsOverride` argument can be provided to override
/// the expected value for [debugDisableShadows]. (This exists because the /// the expected value for [debugDisableShadows]. (This exists because the
......
...@@ -64,7 +64,7 @@ _ColorsAndStops _interpolateColorsAndStops( ...@@ -64,7 +64,7 @@ _ColorsAndStops _interpolateColorsAndStops(
/// ///
/// See also: /// See also:
/// ///
/// * [Gradient](https://api.flutter.dev/flutter/dart-ui/Gradient-class.html), the class in the [dart:ui] library. /// * [Gradient](dart-ui/Gradient-class.html), the class in the [dart:ui] library.
/// ///
@immutable @immutable
abstract class Gradient { abstract class Gradient {
......
...@@ -46,7 +46,7 @@ import 'text_style.dart'; ...@@ -46,7 +46,7 @@ import 'text_style.dart';
/// ///
/// See also: /// See also:
/// ///
/// * [StrutStyle](https://api.flutter.dev/flutter/dart-ui/StrutStyle-class.html), the class in the [dart:ui] library. /// * [StrutStyle](dart-ui/StrutStyle-class.html), the class in the [dart:ui] library.
/// ///
/// ### Fields and their default values. /// ### Fields and their default values.
......
...@@ -243,8 +243,8 @@ void debugPaintPadding(Canvas canvas, Rect outerRect, Rect innerRect, { double o ...@@ -243,8 +243,8 @@ void debugPaintPadding(Canvas canvas, Rect outerRect, Rect innerRect, { double o
/// This function is used by the test framework to ensure that debug variables /// This function is used by the test framework to ensure that debug variables
/// haven't been inadvertently changed. /// haven't been inadvertently changed.
/// ///
/// See <https://docs.flutter.io/flutter/rendering/rendering-library.html> for /// See [the rendering library](rendering/rendering-library.html) for a complete
/// a complete list. /// list.
/// ///
/// The `debugCheckIntrinsicSizesOverride` argument can be provided to override /// The `debugCheckIntrinsicSizesOverride` argument can be provided to override
/// the expected value for [debugCheckIntrinsicSizes]. (This exists because the /// the expected value for [debugCheckIntrinsicSizes]. (This exists because the
......
...@@ -705,7 +705,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl ...@@ -705,7 +705,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
ErrorDescription( ErrorDescription(
'If this message did not help you determine the problem, consider using debugDumpRenderTree():\n' 'If this message did not help you determine the problem, consider using debugDumpRenderTree():\n'
' https://flutter.dev/debugging/#rendering-layer\n' ' https://flutter.dev/debugging/#rendering-layer\n'
' http://docs.flutter.io/flutter/rendering/debugDumpRenderTree.html' ' http://api.flutter.dev/flutter/rendering/debugDumpRenderTree.html'
), ),
describeForError('The affected RenderFlex is', style: DiagnosticsTreeStyle.errorProperty), describeForError('The affected RenderFlex is', style: DiagnosticsTreeStyle.errorProperty),
DiagnosticsProperty<dynamic>('The creator information is set to', debugCreator, style: DiagnosticsTreeStyle.errorProperty) DiagnosticsProperty<dynamic>('The creator information is set to', debugCreator, style: DiagnosticsTreeStyle.errorProperty)
......
...@@ -297,9 +297,9 @@ class PictureLayer extends Layer { ...@@ -297,9 +297,9 @@ class PictureLayer extends Layer {
/// ///
/// See also: /// See also:
/// ///
/// * <https://docs.flutter.io/javadoc/io/flutter/view/TextureRegistry.html> /// * <https://api.flutter.dev/javadoc/io/flutter/view/TextureRegistry.html>
/// for how to create and manage backend textures on Android. /// for how to create and manage backend textures on Android.
/// * <https://docs.flutter.io/objcdoc/Protocols/FlutterTextureRegistry.html> /// * <https://api.flutter.dev/objcdoc/Protocols/FlutterTextureRegistry.html>
/// for how to create and manage backend textures on iOS. /// for how to create and manage backend textures on iOS.
class TextureLayer extends Layer { class TextureLayer extends Layer {
/// Creates a texture layer bounded by [rect] and with backend texture /// Creates a texture layer bounded by [rect] and with backend texture
......
...@@ -30,9 +30,9 @@ import 'object.dart'; ...@@ -30,9 +30,9 @@ import 'object.dart';
/// ///
/// See also: /// See also:
/// ///
/// * <https://docs.flutter.io/javadoc/io/flutter/view/TextureRegistry.html> /// * <https://api.flutter.dev/javadoc/io/flutter/view/TextureRegistry.html>
/// for how to create and manage backend textures on Android. /// for how to create and manage backend textures on Android.
/// * <https://docs.flutter.io/objcdoc/Protocols/FlutterTextureRegistry.html> /// * <https://api.flutter.dev/objcdoc/Protocols/FlutterTextureRegistry.html>
/// for how to create and manage backend textures on iOS. /// for how to create and manage backend textures on iOS.
class TextureBox extends RenderBox { class TextureBox extends RenderBox {
/// Creates a box backed by the texture identified by [textureId]. /// Creates a box backed by the texture identified by [textureId].
......
...@@ -53,8 +53,8 @@ bool debugPrintScheduleFrameStacks = false; ...@@ -53,8 +53,8 @@ bool debugPrintScheduleFrameStacks = false;
/// This function is used by the test framework to ensure that debug variables /// This function is used by the test framework to ensure that debug variables
/// haven't been inadvertently changed. /// haven't been inadvertently changed.
/// ///
/// See [https://docs.flutter.io/flutter/scheduler/scheduler-library.html] for /// See [the scheduler library](scheduler/scheduler-library.html) for a complete
/// a complete list. /// list.
bool debugAssertAllSchedulerVarsUnset(String reason) { bool debugAssertAllSchedulerVarsUnset(String reason) {
assert(() { assert(() {
if (debugPrintBeginFrameBanner || if (debugPrintBeginFrameBanner ||
......
...@@ -174,7 +174,7 @@ class AnimatedList extends StatefulWidget { ...@@ -174,7 +174,7 @@ class AnimatedList extends StatefulWidget {
'This can happen when the context provided is from the same StatefulWidget that ' 'This can happen when the context provided is from the same StatefulWidget that '
'built the AnimatedList. Please see the AnimatedList documentation for examples ' 'built the AnimatedList. Please see the AnimatedList documentation for examples '
'of how to refer to an AnimatedListState object: ' 'of how to refer to an AnimatedListState object: '
' https://docs.flutter.io/flutter/widgets/AnimatedListState-class.html \n' ' https://api.flutter.dev/flutter/widgets/AnimatedListState-class.html \n'
'The context used was:\n' 'The context used was:\n'
' $context' ' $context'
); );
......
...@@ -293,8 +293,7 @@ void debugWidgetBuilderValue(Widget widget, Widget built) { ...@@ -293,8 +293,7 @@ void debugWidgetBuilderValue(Widget widget, Widget built) {
/// This function is used by the test framework to ensure that debug variables /// This function is used by the test framework to ensure that debug variables
/// haven't been inadvertently changed. /// haven't been inadvertently changed.
/// ///
/// See [https://docs.flutter.io/flutter/widgets/widgets-library.html] for /// See [the widgets library](widgets/widgets-library.html) for a complete list.
/// a complete list.
bool debugAssertAllWidgetVarsUnset(String reason) { bool debugAssertAllWidgetVarsUnset(String reason) {
assert(() { assert(() {
if (debugPrintRebuildDirtyWidgets || if (debugPrintRebuildDirtyWidgets ||
......
...@@ -2581,7 +2581,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext { ...@@ -2581,7 +2581,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
// //
// See also: // See also:
// //
// * https://www.dartlang.org/articles/dart-vm/numeric-computation, which // * https://dart.dev/articles/dart-vm/numeric-computation, which
// explains how numbers are represented in Dart. // explains how numbers are represented in Dart.
@override @override
int get hashCode => _cachedHash; int get hashCode => _cachedHash;
...@@ -3250,7 +3250,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext { ...@@ -3250,7 +3250,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
'If you need some sizing information during build to decide which ' 'If you need some sizing information during build to decide which '
'widgets to build, consider using a LayoutBuilder widget, which can ' 'widgets to build, consider using a LayoutBuilder widget, which can '
'tell you the layout constraints at a given location in the tree. See ' 'tell you the layout constraints at a given location in the tree. See '
'<https://docs.flutter.io/flutter/widgets/LayoutBuilder-class.html> ' '<https://api.flutter.dev/flutter/widgets/LayoutBuilder-class.html> '
'for more details.\n' 'for more details.\n'
'\n' '\n'
'The size getter was called for the following element:\n' 'The size getter was called for the following element:\n'
......
...@@ -213,7 +213,7 @@ typedef ImageLoadingBuilder = Widget Function( ...@@ -213,7 +213,7 @@ typedef ImageLoadingBuilder = Widget Function(
/// * [new Ink.image], which is the preferred way to show an image in a /// * [new Ink.image], which is the preferred way to show an image in a
/// material application (especially if the image is in a [Material] and will /// material application (especially if the image is in a [Material] and will
/// have an [InkWell] on top of it). /// have an [InkWell] on top of it).
/// * [Image](https://api.flutter.dev/flutter/dart-ui/Image-class.html), the class in the [dart:ui] library. /// * [Image](dart-ui/Image-class.html), the class in the [dart:ui] library.
/// ///
class Image extends StatefulWidget { class Image extends StatefulWidget {
/// Creates a widget that displays an image. /// Creates a widget that displays an image.
......
...@@ -28,9 +28,9 @@ import 'framework.dart'; ...@@ -28,9 +28,9 @@ import 'framework.dart';
/// ///
/// See also: /// See also:
/// ///
/// * <https://docs.flutter.io/javadoc/io/flutter/view/TextureRegistry.html> /// * <https://api.flutter.dev/javadoc/io/flutter/view/TextureRegistry.html>
/// for how to create and manage backend textures on Android. /// for how to create and manage backend textures on Android.
/// * <https://docs.flutter.io/objcdoc/Protocols/FlutterTextureRegistry.html> /// * <https://api.flutter.dev/objcdoc/Protocols/FlutterTextureRegistry.html>
/// for how to create and manage backend textures on iOS. /// for how to create and manage backend textures on iOS.
class Texture extends LeafRenderObjectWidget { class Texture extends LeafRenderObjectWidget {
/// Creates a widget backed by the texture identified by [textureId]. /// Creates a widget backed by the texture identified by [textureId].
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment