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

This commit is contained in:
Swayam221 2021-03-01 14:06:03 +05:30 committed by GitHub
parent 199d5dc086
commit fc77610dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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