init (#83049)
This commit is contained in:
parent
0f822cd959
commit
e905dd2d67
@ -2272,7 +2272,7 @@ abstract class RenderBox extends RenderObject {
|
|||||||
// Checking that getDryLayout computes the same size.
|
// Checking that getDryLayout computes the same size.
|
||||||
_dryLayoutCalculationValid = true;
|
_dryLayoutCalculationValid = true;
|
||||||
RenderObject.debugCheckingIntrinsics = true;
|
RenderObject.debugCheckingIntrinsics = true;
|
||||||
late Size dryLayoutSize;
|
final Size dryLayoutSize;
|
||||||
try {
|
try {
|
||||||
dryLayoutSize = getDryLayout(constraints);
|
dryLayoutSize = getDryLayout(constraints);
|
||||||
} finally {
|
} finally {
|
||||||
@ -2322,9 +2322,9 @@ abstract class RenderBox extends RenderObject {
|
|||||||
|
|
||||||
/// {@macro flutter.rendering.RenderObject.performResize}
|
/// {@macro flutter.rendering.RenderObject.performResize}
|
||||||
///
|
///
|
||||||
/// By default this method calls [getDryLayout] with the current
|
/// By default this method sets [size] to the result of [computeDryLayout]
|
||||||
/// [constraints]. Instead of overriding this method, consider overriding
|
/// called with the current [constraints]. Instead of overriding this method,
|
||||||
/// [computeDryLayout] (the backend implementation of [getDryLayout]).
|
/// consider overriding [computeDryLayout].
|
||||||
@override
|
@override
|
||||||
void performResize() {
|
void performResize() {
|
||||||
// default behavior for subclasses that have sizedByParent = true
|
// default behavior for subclasses that have sizedByParent = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user