Correct a typo in InputDecorator, affects computeMinIntrinsicHeight() (#17512)

This commit is contained in:
Hans Muller 2018-05-11 10:14:32 -07:00 committed by GitHub
parent 23098dde50
commit 674e44f361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -726,7 +726,7 @@ class _RenderDecoration extends RenderBox {
}
static double _minHeight(RenderBox box, double width) {
return box == null ? 0.0 : box.getMinIntrinsicWidth(width);
return box == null ? 0.0 : box.getMinIntrinsicHeight(width);
}
static Size _boxSize(RenderBox box) => box == null ? Size.zero : box.size;