Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
65a82672
Unverified
Commit
65a82672
authored
Apr 13, 2022
by
Kate Lovett
Committed by
GitHub
Apr 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct docs to refer to replacement render object (#101858)
parent
b46e07ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
debug_overflow_indicator.dart
...s/flutter/lib/src/rendering/debug_overflow_indicator.dart
+2
-2
shifted_box.dart
packages/flutter/lib/src/rendering/shifted_box.dart
+9
-8
No files found.
packages/flutter/lib/src/rendering/debug_overflow_indicator.dart
View file @
65a82672
...
...
@@ -85,8 +85,8 @@ class _OverflowRegionData {
///
/// See also:
///
/// * [RenderConstraintsTransformBox], [Render
UnconstrainedBox]
and
/// [RenderFlex]
,
for examples of classes that use this indicator mixin.
/// * [RenderConstraintsTransformBox], [Render
ConstraintsTransformBox],
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
);
...
...
packages/flutter/lib/src/rendering/shifted_box.dart
View file @
65a82672
...
...
@@ -538,9 +538,9 @@ class RenderPositionedBox extends RenderAligningShiftedBox {
///
/// See also:
///
/// * [Render
UnconstrainedBox] for a render object that allows its childre
n
///
to render themselves unconstrained, expands to fit them, and considers
///
overflow to be an
error.
/// * [Render
ConstraintsTransformBox] for a render object that applies a
n
///
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:
///
/// * [Render
UnconstrainedBox] for a render object that allows its childre
n
///
to render themselves unconstrained, expands to fit them, and considers
///
overflow to be an
error.
/// * [Render
ConstraintsTransformBox] for a render object that applies a
n
///
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment