[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9550":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},9550,"inject.dart","google\u002Finject.dart","google","Compile-time dependency injection for Dart and Flutter","",null,"Dart",861,195,863,7,0,50.88,"MIT License",true,false,"master",[23,24,25],"dart","dependency-injection","flutter","2026-06-12 04:00:45","# `package:inject`\n\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002Fgoogle\u002Finject.dart.svg?branch=master)](https:\u002F\u002Ftravis-ci.org\u002Fgoogle\u002Finject.dart)\n\nCompile-time dependency injection for Dart and Flutter, similar to [Dagger][].\n\n[Dagger]: https:\u002F\u002Fgoogle.github.io\u002Fdagger\u002F\n\n**NOTE**: This is _not_ an official Google or Dart team project.\n\nExample code TBD.\n\n## Getting Started\n\nTBD.\n\n## FAQ\n\n* [Why is the issue tracker disabled?](#why-is-the-issue-tracker-disabled)\n* [What do you mean by compile-time?](#what-do-you-mean-by-compile-time)\n* [Can I use this with Flutter](#can-i-use-this-with-flutter)\n* [Can I use this with AngularDart?](#can-i-use-this-with-angulardart)\n* [Can I use this with server-side Dart?](#can-i-use-this-with-server-side-dart)\n\n### Why is the issue tracker disabled?\n\nThis library is currently offered _as-is_ (developer preview) as it is\nopen-sourced from an internal repository inside Google. As such we are not able\nto act on bugs or feature requests at this time.\n\n### What do you mean by compile-time?\n\nAll dependency injection is analyzed, configured, and generated at compile-time\nas part of a build process, and does not rely on any runtime setup or\nconfiguration (such as reflection with `dart:mirrors`). This provides the best\nexperience in terms of code-size and performance (it's nearly identical to hand\nwritten code) and allows us to provide compile-time errors and warnings instead\nof relying on runtime.\n\n### Can I use this with Flutter?\n\n_Yes_, `package:inject` is framework and platform agnostic, and works perfectly\nwell with Flutter or any other framework. We'll be releasing more\ndocumentation and samples of using this package with `flutter` in the future.\n\n### Can I use this with AngularDart?\n\nWhile technically, _yes_ (`package:inject` is framework and platform agnostic),\nthe existing dependency injection framework in AngularDart is better suited for\nthe idioms of that framework. We welcome experimentation and new ideas, though!\n\n### Can I use this with server-side Dart?\n\n_Yes_, `package:inject` is framework and platform agnostic, and works perfectly\nwell with any server-side Dart framework. You may want to consult your specific\nframework though - they might already have a preferred dependency injection\npattern.\n","`inject.dart` 是一个用于 Dart 和 Flutter 的编译时依赖注入库。其核心功能在于能够在编译阶段完成所有依赖注入的分析、配置和生成，无需任何运行时设置或配置（如 `dart:mirrors` 反射），从而提供最佳的代码大小和性能体验，并支持编译时错误和警告。该库适用于需要高效且静态类型的依赖管理场景，特别适合于 Flutter 应用程序以及任何服务器端 Dart 框架项目。尽管它也可以与 AngularDart 一起使用，但后者已有更适合自身框架特性的依赖注入机制。",2,"2026-06-11 03:23:21","top_language"]