Builder constructor

const Builder({
  1. Key? key,
  2. required WidgetBuilder builder,
})

Creates a widget that delegates its build to a callback.

Implementation

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