ConstrainedLayoutCallbackBuilder<ConstraintType extends Constraints> constructor

const ConstrainedLayoutCallbackBuilder<ConstraintType extends Constraints>({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext,
    2. ConstraintType
    ),
})

Creates a widget that defers its building until layout.

The builder argument must not be null, and the returned widget should not be null.

Implementation

const ConstrainedLayoutCallbackBuilder({
  Key? key,
  required this.builder,
}) : super(key: key);