Fix/update several HTML links (#33539)
This commit is contained in:
parent
311cde98a6
commit
ca13add9c8
@ -4,7 +4,7 @@
|
||||
|
||||
/// 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
|
||||
/// larger than the maximum safe 32bit integer.
|
||||
@ -35,7 +35,7 @@ class BitField<T extends dynamic> {
|
||||
final int _length;
|
||||
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 _allOnes = kMaxUnsignedSMI; // 2^(_kSMIBits+1)-1
|
||||
|
||||
|
@ -19,8 +19,8 @@ import 'print.dart';
|
||||
/// override [debugPrint] themselves and want to check that their own custom
|
||||
/// value wasn't overridden by a test.
|
||||
///
|
||||
/// See [https://docs.flutter.io/flutter/foundation/foundation-library.html] for
|
||||
/// a complete list.
|
||||
/// See [the foundation library](foundation/foundation-library.html)
|
||||
/// for a complete list.
|
||||
bool debugAssertAllFoundationVarsUnset(String reason, { DebugPrintCallback debugPrintOverride = debugPrintThrottled }) {
|
||||
assert(() {
|
||||
if (debugPrint != debugPrintOverride ||
|
||||
|
@ -54,8 +54,8 @@ bool debugPrintRecognizerCallbacksTrace = false;
|
||||
/// This function is used by the test framework to ensure that debug variables
|
||||
/// haven't been inadvertently changed.
|
||||
///
|
||||
/// See [https://docs.flutter.io/flutter/gestures/gestures-library.html] for
|
||||
/// a complete list.
|
||||
/// See [the gestures library](gestures/gestures-library.html) for a complete
|
||||
/// list.
|
||||
bool debugAssertAllGesturesVarsUnset(String reason) {
|
||||
assert(() {
|
||||
if (debugPrintHitTestResults ||
|
||||
|
@ -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 '
|
||||
'context that is "under" the Scaffold. For an example of this, please see the '
|
||||
'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 '
|
||||
'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 '
|
||||
@ -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 '
|
||||
'context that is "under" the Scaffold. For an example of this, please see the '
|
||||
'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 '
|
||||
'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 '
|
||||
|
@ -34,8 +34,8 @@ HttpClientProvider debugNetworkImageHttpClientProvider;
|
||||
/// This function is used by the test framework to ensure that debug variables
|
||||
/// haven't been inadvertently changed.
|
||||
///
|
||||
/// See <https://docs.flutter.io/flutter/rendering/painting-library.html> for
|
||||
/// a complete list.
|
||||
/// See [the painting library](painting/painting-library.html) for a complete
|
||||
/// list.
|
||||
///
|
||||
/// The `debugDisableShadowsOverride` argument can be provided to override
|
||||
/// the expected value for [debugDisableShadows]. (This exists because the
|
||||
|
@ -64,7 +64,7 @@ _ColorsAndStops _interpolateColorsAndStops(
|
||||
///
|
||||
/// 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
|
||||
abstract class Gradient {
|
||||
|
@ -46,7 +46,7 @@ import 'text_style.dart';
|
||||
///
|
||||
/// 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.
|
||||
|
||||
|
@ -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
|
||||
/// haven't been inadvertently changed.
|
||||
///
|
||||
/// See <https://docs.flutter.io/flutter/rendering/rendering-library.html> for
|
||||
/// a complete list.
|
||||
/// See [the rendering library](rendering/rendering-library.html) for a complete
|
||||
/// list.
|
||||
///
|
||||
/// The `debugCheckIntrinsicSizesOverride` argument can be provided to override
|
||||
/// the expected value for [debugCheckIntrinsicSizes]. (This exists because the
|
||||
|
@ -705,7 +705,7 @@ 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://docs.flutter.io/flutter/rendering/debugDumpRenderTree.html'
|
||||
' http://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)
|
||||
|
@ -297,9 +297,9 @@ class PictureLayer extends Layer {
|
||||
///
|
||||
/// 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.
|
||||
/// * <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.
|
||||
class TextureLayer extends Layer {
|
||||
/// Creates a texture layer bounded by [rect] and with backend texture
|
||||
|
@ -30,9 +30,9 @@ import 'object.dart';
|
||||
///
|
||||
/// 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.
|
||||
/// * <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.
|
||||
class TextureBox extends RenderBox {
|
||||
/// Creates a box backed by the texture identified by [textureId].
|
||||
|
@ -53,8 +53,8 @@ bool debugPrintScheduleFrameStacks = false;
|
||||
/// This function is used by the test framework to ensure that debug variables
|
||||
/// haven't been inadvertently changed.
|
||||
///
|
||||
/// See [https://docs.flutter.io/flutter/scheduler/scheduler-library.html] for
|
||||
/// a complete list.
|
||||
/// See [the scheduler library](scheduler/scheduler-library.html) for a complete
|
||||
/// list.
|
||||
bool debugAssertAllSchedulerVarsUnset(String reason) {
|
||||
assert(() {
|
||||
if (debugPrintBeginFrameBanner ||
|
||||
|
@ -174,7 +174,7 @@ class AnimatedList extends StatefulWidget {
|
||||
'This can happen when the context provided is from the same StatefulWidget that '
|
||||
'built the AnimatedList. Please see the AnimatedList documentation for examples '
|
||||
'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'
|
||||
' $context'
|
||||
);
|
||||
|
@ -293,8 +293,7 @@ void debugWidgetBuilderValue(Widget widget, Widget built) {
|
||||
/// This function is used by the test framework to ensure that debug variables
|
||||
/// haven't been inadvertently changed.
|
||||
///
|
||||
/// See [https://docs.flutter.io/flutter/widgets/widgets-library.html] for
|
||||
/// a complete list.
|
||||
/// See [the widgets library](widgets/widgets-library.html) for a complete list.
|
||||
bool debugAssertAllWidgetVarsUnset(String reason) {
|
||||
assert(() {
|
||||
if (debugPrintRebuildDirtyWidgets ||
|
||||
|
@ -2581,7 +2581,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
|
||||
//
|
||||
// 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.
|
||||
@override
|
||||
int get hashCode => _cachedHash;
|
||||
@ -3250,7 +3250,7 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
|
||||
'If you need some sizing information during build to decide which '
|
||||
'widgets to build, consider using a LayoutBuilder widget, which can '
|
||||
'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'
|
||||
'\n'
|
||||
'The size getter was called for the following element:\n'
|
||||
|
@ -213,7 +213,7 @@ typedef ImageLoadingBuilder = Widget Function(
|
||||
/// * [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
|
||||
/// 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 {
|
||||
/// Creates a widget that displays an image.
|
||||
|
@ -28,9 +28,9 @@ import 'framework.dart';
|
||||
///
|
||||
/// 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.
|
||||
/// * <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.
|
||||
class Texture extends LeafRenderObjectWidget {
|
||||
/// Creates a widget backed by the texture identified by [textureId].
|
||||
|
Loading…
x
Reference in New Issue
Block a user