mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix the parameter names for computeMaxIntrinsicHeight and computeMinIntrinsicHeight (#9017)
These parameters are the width, not the height.
This commit is contained in:
parent
dccccb9b82
commit
5a101024de
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user