ReactterBuilder<T extends ReactterContext?> constructor
const
ReactterBuilder<T extends ReactterContext?> ({
- Key? key,
- String? id,
- ListenHooks<
T> ? listenHooks, - bool listenAllHooks = false,
- Widget? child,
- InstanceBuilder<
T> ? builder,
Implementation
const ReactterBuilder({
Key? key,
this.id,
this.listenHooks,
this.listenAllHooks = false,
this.child,
this.builder,
}) : assert(child != null || builder != null),
assert(
(listenAllHooks && listenHooks == null) || !listenAllHooks,
"Can't use `listenAllHooks` with `listenHooks`",
),
super(key: key);