toor 1.3.0 copy "toor: ^1.3.0" to clipboard
toor: ^1.3.0 copied to clipboard

Compile-time safe and easy to manage service locators.

1.3.0 #

Added mutable lazy singletons.

1.2.1 #

Added top-level functions for calling the methods on Toor.instance.

Thanks, Maksimka101!

1.2.0 #

Version generated by mistake; same as 1.1.0.

1.1.0 #

Now you can add disposal logic to lazy singletons via passing the onDispose argument to registerLazySingleton.

1.0.0 #

BREAKING: Removed the deprecated methods mentioned in 0.1.4.

0.1.5 #

Fix deprecated methods' usage in README.

0.1.4 #

Renamed functions for registering factories with parameters and deprecated the old ones. Below you can find the full map of changes:

Deprecated New
registerFactoryWithOneParameter registerFactoryWithParam
registerFactoryWithTwoParameters registerFactoryWithTwoParams
registerFactoryAsyncWithOneParameter registerFactoryAsyncWithParam
registerFactoryAsyncWithTwoParameters registerFactoryAsyncWithTwoParams

0.1.3 #

Fix documentation regarding lazy initialization.

0.1.2 #

Add factories with params

0.1.1 #

Add async factories

0.1.0 #

Initial version of Toor 🚀

9
likes
0
pub points
63%
popularity

Publisher

verified publisherfperson.dev

Compile-time safe and easy to manage service locators.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta

More

Packages that depend on toor