From 5a101024def8f0c91f966f19dbacdf01042cc2fd Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Sun, 26 Mar 2017 16:04:24 -0700 Subject: [PATCH] Fix the parameter names for computeMaxIntrinsicHeight and computeMinIntrinsicHeight (#9017) These parameters are the width, not the height. --- packages/flutter/lib/src/rendering/box.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/rendering/box.dart b/packages/flutter/lib/src/rendering/box.dart index 5f166e36046..ffa0d0d60c6 100644 --- a/packages/flutter/lib/src/rendering/box.dart +++ b/packages/flutter/lib/src/rendering/box.dart @@ -1255,7 +1255,7 @@ abstract class RenderBox extends RenderObject { /// /// See also examples in the definition of [computeMinIntrinsicWidth]. @protected - double computeMinIntrinsicHeight(double height) { + double computeMinIntrinsicHeight(double width) { return 0.0; } @@ -1332,7 +1332,7 @@ abstract class RenderBox extends RenderObject { /// /// See also examples in the definition of [computeMinIntrinsicWidth]. @protected - double computeMaxIntrinsicHeight(double height) { + double computeMaxIntrinsicHeight(double width) { return 0.0; }