Unverified Commit 3c70fb26 authored by James Lee's avatar James Lee Committed by GitHub

Add typically used parameter name to the builder used in layout_builder (#119877)

Add  typically used parameter name to the builder used in layout_builder
parent 2b788c93
......@@ -48,7 +48,7 @@ abstract class ConstrainedLayoutBuilder<ConstraintType extends Constraints> exte
/// Called at layout time to construct the widget tree.
///
/// The builder must not return null.
final Widget Function(BuildContext, ConstraintType) builder;
final Widget Function(BuildContext context, ConstraintType constraints) builder;
// updateRenderObject is redundant with the logic in the LayoutBuilderElement below.
}
......
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