diff --git a/packages/flutter/lib/src/rendering/layout_helper.dart b/packages/flutter/lib/src/rendering/layout_helper.dart index 636de83bcc..d0bb135743 100644 --- a/packages/flutter/lib/src/rendering/layout_helper.dart +++ b/packages/flutter/lib/src/rendering/layout_helper.dart @@ -33,8 +33,8 @@ class ChildLayoutHelper { /// /// * [layoutChild], which actually lays out the child with the given /// constraints. - static Size dryLayoutChild(RenderBox child, BoxConstraints constrains) { - return child.getDryLayout(constrains); + static Size dryLayoutChild(RenderBox child, BoxConstraints constraints) { + return child.getDryLayout(constraints); } /// Lays out the [RenderBox] with the given constraints and returns its