BuilderModifier constructor

const BuilderModifier({
  1. Key? key,
  2. Key? modifierKey,
  3. Widget? child,
  4. required SingleChildWidgetBuilder builder,
})

Creates a widget that delegates its build to a callback.

The builder argument must not be null.

Implementation

const BuilderModifier({
  super.key,
  super.modifierKey,
  super.child,
  required this.builder,
});