Unverified Commit fc77610d authored by Swayam221's avatar Swayam221 Committed by GitHub

changed 'constrains' to 'constraints' in ChildLayoutHelper.dryLayoutC… (#76963)

parent 199d5dc0
...@@ -33,8 +33,8 @@ class ChildLayoutHelper { ...@@ -33,8 +33,8 @@ class ChildLayoutHelper {
/// ///
/// * [layoutChild], which actually lays out the child with the given /// * [layoutChild], which actually lays out the child with the given
/// constraints. /// constraints.
static Size dryLayoutChild(RenderBox child, BoxConstraints constrains) { static Size dryLayoutChild(RenderBox child, BoxConstraints constraints) {
return child.getDryLayout(constrains); return child.getDryLayout(constraints);
} }
/// Lays out the [RenderBox] with the given constraints and returns its /// Lays out the [RenderBox] with the given constraints and returns its
......
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