hangar 0.1.0 copy "hangar: ^0.1.0" to clipboard
hangar: ^0.1.0 copied to clipboard

A easy to use service container and dependency injection tool

✈️ Hangar: The Dart Service Container #

Hangar is an easy-to-use service container and dependency injection tool for Dart, inspired by the robustness and clarity of the PHP PSR-11 standard. It provides a simple, centralized way to manage and resolve dependencies in your Dart and Flutter applications.

✨ Features #

  • PSR-11 Inspired Interface: Simple get and has methods for clear container interaction.
  • Easy Dependency Registration: Register services with factories, singletons, or direct instances.
  • Lazy Loading: Services are instantiated only when they are requested, improving startup performance.
  • Zero Boilerplate: Designed for minimal setup and maximum clarity.

🚀 Getting Started #

0
likes
160
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A easy to use service container and dependency injection tool

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on hangar