mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Linking Higher & Lower Class Docs (#8265)
* Linking lower layer classes to higher layers in API Docs.
This commit is contained in:
parent
f4d9949518
commit
5f8ae420c1
@ -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';
|
||||
|
||||
@ -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.
|
||||
///
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user