diff --git a/lib/ui/painting.dart b/lib/ui/painting.dart index a83cf9265d0..42ff490c60f 100644 --- a/lib/ui/painting.dart +++ b/lib/ui/painting.dart @@ -1520,6 +1520,11 @@ class _ImageInfo { /// /// To draw an [Image], use one of the methods on the [Canvas] class, such as /// [Canvas.drawImage]. +/// +/// See also: +/// +/// * [Image], the class in the [widgets] library that encapsulates this class. +/// @pragma('vm:entry-point') class Image extends NativeFieldWrapperClass2 { // This class is created by the engine, and should not be instantiated @@ -2678,6 +2683,11 @@ Float32List _encodeTwoPoints(Offset pointA, Offset pointB) { /// /// There are several types of gradients, represented by the various constructors /// on this class. +/// +/// See also: +/// +/// * [Gradient], the class in the [painting] library that encapsulates this class. +/// class Gradient extends Shader { void _constructor() native 'Gradient_constructor'; diff --git a/lib/ui/text.dart b/lib/ui/text.dart index 312b917573d..f19e7344824 100644 --- a/lib/ui/text.dart +++ b/lib/ui/text.dart @@ -352,6 +352,11 @@ Int32List _encodeTextStyle( } /// An opaque object that determines the size, position, and rendering of text. +/// +/// See also: +/// +/// * [TextStyle], the class in the [painting] library that encapsulates this class. +/// class TextStyle { /// Creates a new TextStyle object. /// @@ -792,6 +797,10 @@ ByteData _encodeStrut( return ByteData.view(data.buffer, 0, byteCount); } +/// See also: +/// +/// * [StrutStyle], the class in the [painting] library that encapsulates this class. +/// class StrutStyle { /// Creates a new StrutStyle object. ///