Builder constructor

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

Creates a component that delegates its build to a callback.

The builder argument must not be null.

Implementation

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