diff --git a/packages/flutter/lib/src/material/selectable_text.dart b/packages/flutter/lib/src/material/selectable_text.dart index 6178ed5556..c8ad95b26e 100644 --- a/packages/flutter/lib/src/material/selectable_text.dart +++ b/packages/flutter/lib/src/material/selectable_text.dart @@ -414,7 +414,7 @@ class SelectableText extends StatefulWidget { /// {@macro flutter.widgets.Text.semanticsLabel} final String? semanticsLabel; - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} final TextHeightBehavior? textHeightBehavior; /// {@macro flutter.painting.textPainter.textWidthBasis} diff --git a/packages/flutter/lib/src/painting/image_provider.dart b/packages/flutter/lib/src/painting/image_provider.dart index 852db6960b..a1db8bc897 100644 --- a/packages/flutter/lib/src/painting/image_provider.dart +++ b/packages/flutter/lib/src/painting/image_provider.dart @@ -186,7 +186,7 @@ typedef DecoderCallback = Future Function(Uint8List bytes, {int? cache /// The type argument does not have to be specified when using the type as an /// argument (where any image provider is acceptable). /// -/// The following image formats are supported: {@macro flutter.dart:ui.imageFormats} +/// The following image formats are supported: {@macro dart.ui.imageFormats} /// /// ## Lifecycle of resolving an image /// @@ -938,7 +938,7 @@ class MemoryImage extends ImageProvider { /// The bytes to decode into an image. /// /// The bytes represent encoded image bytes and can be encoded in any of the - /// following supported image formats: {@macro flutter.dart:ui.imageFormats} + /// following supported image formats: {@macro dart.ui.imageFormats} /// /// See also: /// diff --git a/packages/flutter/lib/src/painting/text_painter.dart b/packages/flutter/lib/src/painting/text_painter.dart index f12f54f12f..478f527187 100644 --- a/packages/flutter/lib/src/painting/text_painter.dart +++ b/packages/flutter/lib/src/painting/text_painter.dart @@ -391,7 +391,7 @@ class TextPainter { markNeedsLayout(); } - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} ui.TextHeightBehavior? get textHeightBehavior => _textHeightBehavior; ui.TextHeightBehavior? _textHeightBehavior; set textHeightBehavior(ui.TextHeightBehavior? value) { diff --git a/packages/flutter/lib/src/rendering/editable.dart b/packages/flutter/lib/src/rendering/editable.dart index c6958e65d4..f8113e3121 100644 --- a/packages/flutter/lib/src/rendering/editable.dart +++ b/packages/flutter/lib/src/rendering/editable.dart @@ -547,7 +547,7 @@ class RenderEditable extends RenderBox with RelayoutWhenSystemFontsChangeMixin, /// The default value of this property is false. bool ignorePointer; - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} TextHeightBehavior? get textHeightBehavior => _textPainter.textHeightBehavior; set textHeightBehavior(TextHeightBehavior? value) { if (_textPainter.textHeightBehavior == value) diff --git a/packages/flutter/lib/src/rendering/paragraph.dart b/packages/flutter/lib/src/rendering/paragraph.dart index 01e8ec02ce..52afda8d48 100644 --- a/packages/flutter/lib/src/rendering/paragraph.dart +++ b/packages/flutter/lib/src/rendering/paragraph.dart @@ -288,7 +288,7 @@ class RenderParagraph extends RenderBox markNeedsLayout(); } - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} ui.TextHeightBehavior? get textHeightBehavior => _textPainter.textHeightBehavior; set textHeightBehavior(ui.TextHeightBehavior? value) { if (_textPainter.textHeightBehavior == value) diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index b9077e8e6f..f334af1e58 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -5561,7 +5561,7 @@ class RichText extends MultiChildRenderObjectWidget { /// {@macro flutter.painting.textPainter.textWidthBasis} final TextWidthBasis textWidthBasis; - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} final ui.TextHeightBehavior? textHeightBehavior; @override diff --git a/packages/flutter/lib/src/widgets/editable_text.dart b/packages/flutter/lib/src/widgets/editable_text.dart index b6f18cfc07..ae31e5db4b 100644 --- a/packages/flutter/lib/src/widgets/editable_text.dart +++ b/packages/flutter/lib/src/widgets/editable_text.dart @@ -595,7 +595,7 @@ class EditableText extends StatefulWidget { /// {@endtemplate} final bool obscureText; - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} final TextHeightBehavior? textHeightBehavior; /// {@macro flutter.painting.textPainter.textWidthBasis} diff --git a/packages/flutter/lib/src/widgets/image.dart b/packages/flutter/lib/src/widgets/image.dart index 81ed66599f..6c16d33387 100644 --- a/packages/flutter/lib/src/widgets/image.dart +++ b/packages/flutter/lib/src/widgets/image.dart @@ -244,7 +244,7 @@ typedef ImageErrorWidgetBuilder = Widget Function( /// * [new Image.file], for obtaining an image from a [File]. /// * [new Image.memory], for obtaining an image from a [Uint8List]. /// -/// The following image formats are supported: {@macro flutter.dart:ui.imageFormats} +/// The following image formats are supported: {@macro dart.ui.imageFormats} /// /// To automatically perform pixel-density-aware asset resolution, specify the /// image using an [AssetImage] and make sure that a [MaterialApp], [WidgetsApp], @@ -647,7 +647,7 @@ class Image extends StatefulWidget { /// /// The `bytes` argument specifies encoded image bytes, which can be encoded /// in any of the following supported image formats: - /// {@macro flutter.dart:ui.imageFormats} + /// {@macro dart.ui.imageFormats} /// /// The `scale` argument specifies the linear scale factor for drawing this /// image at its intended size and applies to both the width and the height. diff --git a/packages/flutter/lib/src/widgets/implicit_animations.dart b/packages/flutter/lib/src/widgets/implicit_animations.dart index 63a8fdda51..9725dfad91 100644 --- a/packages/flutter/lib/src/widgets/implicit_animations.dart +++ b/packages/flutter/lib/src/widgets/implicit_animations.dart @@ -1945,7 +1945,7 @@ class AnimatedDefaultTextStyle extends ImplicitlyAnimatedWidget { /// See [TextWidthBasis] for possible values and their implications. final TextWidthBasis textWidthBasis; - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} final ui.TextHeightBehavior? textHeightBehavior; @override diff --git a/packages/flutter/lib/src/widgets/text.dart b/packages/flutter/lib/src/widgets/text.dart index 6b3f20d22d..a22f4a178c 100644 --- a/packages/flutter/lib/src/widgets/text.dart +++ b/packages/flutter/lib/src/widgets/text.dart @@ -150,7 +150,7 @@ class DefaultTextStyle extends InheritedTheme { /// See [TextWidthBasis] for possible values and their implications. final TextWidthBasis textWidthBasis; - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} final ui.TextHeightBehavior? textHeightBehavior; /// The closest instance of this class that encloses the given context. @@ -241,7 +241,7 @@ class DefaultTextHeightBehavior extends InheritedTheme { assert(child != null), super(key: key, child: child); - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} final TextHeightBehavior textHeightBehavior; /// The closest instance of this class that encloses the given context. @@ -513,7 +513,7 @@ class Text extends StatelessWidget { /// {@macro flutter.painting.textPainter.textWidthBasis} final TextWidthBasis? textWidthBasis; - /// {@macro flutter.dart:ui.textHeightBehavior} + /// {@macro dart.ui.textHeightBehavior} final ui.TextHeightBehavior? textHeightBehavior; @override