Linking Higher & Lower Class Docs (#8265)

* Linking lower layer classes to higher layers in API Docs.
This commit is contained in:
Kate Lovett 2019-03-22 13:43:34 -07:00 committed by Dan Field
parent f4d9949518
commit 5f8ae420c1
2 changed files with 19 additions and 0 deletions

View File

@ -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';

View File

@ -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.
///