Correct docs to refer to replacement render object (#101858)

This commit is contained in:
Kate Lovett
2022-04-13 16:24:07 -05:00
committed by GitHub
parent b46e07bad3
commit 65a826728d
2 changed files with 11 additions and 10 deletions

View File

@@ -85,8 +85,8 @@ class _OverflowRegionData {
///
/// See also:
///
/// * [RenderConstraintsTransformBox], [RenderUnconstrainedBox] and
/// [RenderFlex], for examples of classes that use this indicator mixin.
/// * [RenderConstraintsTransformBox], [RenderConstraintsTransformBox], and
/// [RenderFlex] for examples of classes that use this indicator mixin.
mixin DebugOverflowIndicatorMixin on RenderObject {
static const Color _black = Color(0xBF000000);
static const Color _yellow = Color(0xBFFFFF00);

View File

@@ -538,9 +538,9 @@ class RenderPositionedBox extends RenderAligningShiftedBox {
///
/// See also:
///
/// * [RenderUnconstrainedBox] for a render object that allows its children
/// to render themselves unconstrained, expands to fit them, and considers
/// overflow to be an error.
/// * [RenderConstraintsTransformBox] for a render object that applies an
/// arbitrary transform to its constraints before sizing its child using
/// the new constraints, treating any overflow as error.
/// * [RenderSizedOverflowBox], a render object that is a specific size but
/// passes its original constraints through to its child, which it allows to
/// overflow.
@@ -675,8 +675,9 @@ class RenderConstrainedOverflowBox extends RenderAligningShiftedBox {
/// * [RenderConstrainedOverflowBox], which renders a box that imposes different
/// constraints on its child than it gets from its parent, possibly allowing
/// the child to overflow the parent.
/// * [RenderUnconstrainedBox] which allows its children to render themselves
/// unconstrained, expands to fit them, and considers overflow to be an error.
/// * [RenderConstraintsTransformBox] for a render object that applies an
/// arbitrary transform to its constraints before sizing its child using
/// the new constraints, treating any overflow as error.
class RenderConstraintsTransformBox extends RenderAligningShiftedBox with DebugOverflowIndicatorMixin {
/// Creates a [RenderBox] that sizes itself to the child and modifies the
/// [constraints] before passing it down to that child.
@@ -942,9 +943,9 @@ class RenderUnconstrainedBox extends RenderConstraintsTransformBox {
///
/// See also:
///
/// * [RenderUnconstrainedBox] for a render object that allows its children
/// to render themselves unconstrained, expands to fit them, and considers
/// overflow to be an error.
/// * [RenderConstraintsTransformBox] for a render object that applies an
/// arbitrary transform to its constraints before sizing its child using
/// the new constraints, treating any overflow as error.
/// * [RenderConstrainedOverflowBox] for a render object that imposes
/// different constraints on its child than it gets from its parent,
/// possibly allowing the child to overflow the parent.