builder property
Builder function that creates the child widget with layout information.
Called during build with the current BuildContext and a LayoutBox
containing layout information such as viewport size, scroll offsets,
and content dimensions. The builder should return a widget based on
this layout context.
Example:
builder: (context, box) {
return Text('Viewport: ${box.viewportSize.width}x${box.viewportSize.height}');
}
Implementation
final Widget Function(BuildContext context, LayoutBox box) builder;