Commit 5a101024 authored by Adam Barth's avatar Adam Barth Committed by GitHub

Fix the parameter names for computeMaxIntrinsicHeight and computeMinIntrinsicHeight (#9017)

These parameters are the width, not the height.
parent dccccb9b
...@@ -1255,7 +1255,7 @@ abstract class RenderBox extends RenderObject { ...@@ -1255,7 +1255,7 @@ abstract class RenderBox extends RenderObject {
/// ///
/// See also examples in the definition of [computeMinIntrinsicWidth]. /// See also examples in the definition of [computeMinIntrinsicWidth].
@protected @protected
double computeMinIntrinsicHeight(double height) { double computeMinIntrinsicHeight(double width) {
return 0.0; return 0.0;
} }
...@@ -1332,7 +1332,7 @@ abstract class RenderBox extends RenderObject { ...@@ -1332,7 +1332,7 @@ abstract class RenderBox extends RenderObject {
/// ///
/// See also examples in the definition of [computeMinIntrinsicWidth]. /// See also examples in the definition of [computeMinIntrinsicWidth].
@protected @protected
double computeMaxIntrinsicHeight(double height) { double computeMaxIntrinsicHeight(double width) {
return 0.0; return 0.0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment