ZenBuilder<T extends ZenController> constructor

const ZenBuilder<T extends ZenController>({
  1. Key? key,
  2. T create()?,
  3. required Widget builder(
    1. BuildContext context,
    2. T controller
    ),
  4. String? tag,
  5. ZenScope? scope,
  6. bool? disposeOnRemove,
  7. void init(
    1. T controller
    )?,
  8. Widget onError(
    1. Object error
    )?,
  9. String? id,
})

Implementation

const ZenBuilder({
  super.key,
  this.create,
  required this.builder,
  this.tag,
  this.scope,
  this.disposeOnRemove,
  this.init,
  this.onError,
  this.id,
});