LayoutBuilder constructor

const LayoutBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. BoxConstraints constraints
    ),
})

Creates a widget that defers its building until layout.

Implementation

const LayoutBuilder({
  super.key,
  required super.builder,
});