Skip to content

Commit 8df3e05

Browse files
authored
Add missing back links to the layout catalog (flutter#51782)
1 parent b4cf203 commit 8df3e05

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

packages/flutter/lib/src/widgets/basic.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,7 @@ class PhysicalShape extends SingleChildRenderObjectWidget {
10921092
/// that is relative to the child's size.
10931093
/// * [FittedBox], which sizes and positions its child widget to fit the parent
10941094
/// according to a given [BoxFit] discipline.
1095+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
10951096
class Transform extends SingleChildRenderObjectWidget {
10961097
/// Creates a widget that transforms its child.
10971098
///
@@ -1887,6 +1888,7 @@ class Center extends Align {
18871888
/// size and positions the child according to an [Alignment] value.
18881889
/// * [CustomMultiChildLayout], which uses a delegate to position multiple
18891890
/// children.
1891+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
18901892
class CustomSingleChildLayout extends SingleChildRenderObjectWidget {
18911893
/// Creates a custom single child layout.
18921894
///
@@ -1982,6 +1984,7 @@ class LayoutId extends ParentDataWidget<MultiChildLayoutParentData> {
19821984
/// * [Stack], which arranges children relative to the edges of the container.
19831985
/// * [Flow], which provides paint-time control of its children using transform
19841986
/// matrices.
1987+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
19851988
class CustomMultiChildLayout extends MultiChildRenderObjectWidget {
19861989
/// Creates a custom multi-child layout.
19871990
///
@@ -3038,6 +3041,7 @@ AxisDirection getAxisDirectionFromAxisReverseAndDirectionality(
30383041
/// this layout algorithm (at the cost of being slightly less efficient).
30393042
/// * [ListView], which implements an efficient scrolling version of this
30403043
/// layout algorithm.
3044+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
30413045
class ListBody extends MultiChildRenderObjectWidget {
30423046
/// Creates a layout widget that arranges its children sequentially along a
30433047
/// given axis.

packages/flutter/lib/src/widgets/layout_builder.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ mixin RenderConstrainedLayoutBuilder<ConstraintType extends Constraints, ChildTy
195195
/// * [Builder], which calls a `builder` function at build time.
196196
/// * [StatefulBuilder], which passes its `builder` function a `setState` callback.
197197
/// * [CustomSingleChildLayout], which positions its child during layout.
198+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
198199
class LayoutBuilder extends ConstrainedLayoutBuilder<BoxConstraints> {
199200
/// Creates a widget that defers its building until layout.
200201
///

packages/flutter/lib/src/widgets/scroll_view.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,7 @@ abstract class BoxScrollView extends ScrollView {
841841
/// scrolling.
842842
/// * [ScrollNotification] and [NotificationListener], which can be used to watch
843843
/// the scroll position without using a [ScrollController].
844+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
844845
class ListView extends BoxScrollView {
845846
/// Creates a scrollable, linear array of widgets from an explicit [List].
846847
///
@@ -1410,6 +1411,7 @@ class ListView extends BoxScrollView {
14101411
/// tiles that have a maximum cross-axis extent.
14111412
/// * [ScrollNotification] and [NotificationListener], which can be used to watch
14121413
/// the scroll position without using a [ScrollController].
1414+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
14131415
class GridView extends BoxScrollView {
14141416
/// Creates a scrollable, 2D array of widgets with a custom
14151417
/// [SliverGridDelegate].

packages/flutter/lib/src/widgets/table.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ class _TableElementRow {
9090
///
9191
/// For more details about the table layout algorithm, see [RenderTable].
9292
/// To control the alignment of children, see [TableCell].
93+
///
94+
/// See also:
95+
///
96+
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
9397
class Table extends RenderObjectWidget {
9498
/// Creates a table.
9599
///

0 commit comments

Comments
 (0)