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

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;