onDependencyCreate<S> method
S Function()
onDependencyCreate<S>(
- S builder(),
- LevitScope scope,
- String key,
- LevitDependency info,
Intercepts the instantiation logic of a dependency.
Override this to wrap the builder, enabling custom behavior like executing
within a specific Zone.
Returns the functional wrapper around builder.
Implementation
S Function() onDependencyCreate<S>(
S Function() builder,
LevitScope scope,
String key,
LevitDependency info,
) =>
builder;