All Projects → google → Inject.dart

google / Inject.dart

Licence: mit
Compile-time dependency injection for Dart and Flutter

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Inject.dart

Dagger Android Injection
Sample project explains Dependency Injection in Android using dagger-android framework.
Stars: ✭ 524 (-37.09%)
Mutual labels:  dependency-injection
Injector
Python dependency injection framework, inspired by Guice
Stars: ✭ 651 (-21.85%)
Mutual labels:  dependency-injection
Droidparts
Stars: ✭ 785 (-5.76%)
Mutual labels:  dependency-injection
Weaver
Dependency Injection framework for Swift (iOS/macOS/Linux)
Stars: ✭ 546 (-34.45%)
Mutual labels:  dependency-injection
Wire
Compile-time Dependency Injection for Go
Stars: ✭ 7,091 (+751.26%)
Mutual labels:  dependency-injection
Apk Dependency Graph
Android class dependency visualizer. This tool helps to visualize the current state of the project.
Stars: ✭ 675 (-18.97%)
Mutual labels:  dependency-injection
Iossampleapp
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding
Stars: ✭ 510 (-38.78%)
Mutual labels:  dependency-injection
Di
Dependency Injection and IoC framework for PHP
Stars: ✭ 5 (-99.4%)
Mutual labels:  dependency-injection
Di
💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features.
Stars: ✭ 645 (-22.57%)
Mutual labels:  dependency-injection
Di
DI: C++14 Dependency Injection Library
Stars: ✭ 756 (-9.24%)
Mutual labels:  dependency-injection
Dryioc
DryIoc is fast, small, full-featured IoC Container for .NET
Stars: ✭ 555 (-33.37%)
Mutual labels:  dependency-injection
Scabbard
🗡 A tool to visualize Dagger 2 dependency graphs
Stars: ✭ 615 (-26.17%)
Mutual labels:  dependency-injection
Opulence
A simple, secure, and scalable PHP application framework
Stars: ✭ 723 (-13.21%)
Mutual labels:  dependency-injection
Notykt
📒 NotyKT is a complete 💎Kotlin-stack (Backend + Android) 📱 application built to demonstrate the use of Modern development tools with best practices implementation🦸.
Stars: ✭ 543 (-34.81%)
Mutual labels:  dependency-injection
Shiftscheduler
A boilerplate ASP.NET Core project, including a sample employee shift scheduler app
Stars: ✭ 5 (-99.4%)
Mutual labels:  dependency-injection
Zikrouter
Interface-oriented router for discovering modules, and injecting dependencies with protocol in Objective-C and Swift.
Stars: ✭ 516 (-38.06%)
Mutual labels:  dependency-injection
Container
Small but powerful dependency injection container
Stars: ✭ 674 (-19.09%)
Mutual labels:  dependency-injection
Marvelheroes
❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, LiveData, Room, Repository, Koin) architecture.
Stars: ✭ 826 (-0.84%)
Mutual labels:  dependency-injection
Koin
Koin - a pragmatic lightweight dependency injection framework for Kotlin
Stars: ✭ 7,142 (+757.38%)
Mutual labels:  dependency-injection
Go Spring
基于 IoC 的 Go 后端一站式开发框架 🚀
Stars: ✭ 744 (-10.68%)
Mutual labels:  dependency-injection

package:inject

Build Status

Compile-time dependency injection for Dart and Flutter, similar to Dagger.

NOTE: This is not an official Google or Dart team project.

Example code TBD.

Getting Started

TBD.

FAQ

Why is the issue tracker disabled?

This library is currently offered as-is (developer preview) as it is open-sourced from an internal repository inside Google. As such we are not able to act on bugs or feature requests at this time.

What do you mean by compile-time?

All dependency injection is analyzed, configured, and generated at compile-time as part of a build process, and does not rely on any runtime setup or configuration (such as reflection with dart:mirrors). This provides the best experience in terms of code-size and performance (it's nearly identical to hand written code) and allows us to provide compile-time errors and warnings instead of relying on runtime.

Can I use this with Flutter?

Yes, package:inject is framework and platform agnostic, and works perfectly well with Flutter or any other framework. We'll be releasing more documentation and samples of using this package with flutter in the future.

Can I use this with AngularDart?

While technically, yes (package:inject is framework and platform agnostic), the existing dependency injection framework in AngularDart is better suited for the idioms of that framework. We welcome experimentation and new ideas, though!

Can I use this with server-side Dart?

Yes, package:inject is framework and platform agnostic, and works perfectly well with any server-side Dart framework. You may want to consult your specific framework though - they might already have a preferred dependency injection pattern.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].