SimpleHookContext<R> constructor
SimpleHookContext<R> (})
Implementation
SimpleHookContext(
this._build, {
bool init = true,
this.shouldRebuild = true,
Map<Type, Object?> provided = const {},
}) : _provided = Map.of(provided) {
if (init) _scheduler(rebuild);
}