Unverified Commit 674e44f3 authored by Hans Muller's avatar Hans Muller Committed by GitHub

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

parent 23098dde
...@@ -726,7 +726,7 @@ class _RenderDecoration extends RenderBox { ...@@ -726,7 +726,7 @@ class _RenderDecoration extends RenderBox {
} }
static double _minHeight(RenderBox box, double width) { 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; static Size _boxSize(RenderBox box) => box == null ? Size.zero : box.size;
......
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