lazyPut<S> static method
Bind
lazyPut<S>(
- InstanceBuilderCallback<
S> builder, { - String? tag,
- bool fenix = true,
- VoidCallback? onClose,
Implementation
static Bind lazyPut<S>(
InstanceBuilderCallback<S> builder, {
String? tag,
bool fenix = true,
// VoidCallback? onInit,
VoidCallback? onClose,
}) {
Get.lazyPut<S>(builder, tag: tag, fenix: fenix);
return _FactoryBind<S>(
tag: tag,
// initState: (_) {
// onInit?.call();
// },
dispose: (_) {
onClose?.call();
},
);
}