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
e905dd2d
Unverified
Commit
e905dd2d
authored
May 26, 2021
by
nt4f04uNd
Committed by
GitHub
May 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init (#83049)
parent
0f822cd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
box.dart
packages/flutter/lib/src/rendering/box.dart
+4
-4
No files found.
packages/flutter/lib/src/rendering/box.dart
View file @
e905dd2d
...
...
@@ -2272,7 +2272,7 @@ abstract class RenderBox extends RenderObject {
// Checking that getDryLayout computes the same size.
_dryLayoutCalculationValid
=
true
;
RenderObject
.
debugCheckingIntrinsics
=
true
;
late
Size
dryLayoutSize
;
final
Size
dryLayoutSize
;
try
{
dryLayoutSize
=
getDryLayout
(
constraints
);
}
finally
{
...
...
@@ -2322,9 +2322,9 @@ abstract class RenderBox extends RenderObject {
/// {@macro flutter.rendering.RenderObject.performResize}
///
/// By default this method
calls [getDryLayout] with the current
///
[constraints]. Instead of overriding this method, consider overriding
///
[computeDryLayout] (the backend implementation of [getDryLayout])
.
/// By default this method
sets [size] to the result of [computeDryLayout]
///
called with the current [constraints]. Instead of overriding this method,
///
consider overriding [computeDryLayout]
.
@override
void
performResize
()
{
// default behavior for subclasses that have sizedByParent = true
...
...
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