injectable icon indicating copy to clipboard operation
injectable copied to clipboard

Code Generator for get_it

Results 152 injectable issues
Sort by recently updated
recently updated
newest added

Example of the project -- lib/main.dart -- packages/authentication_repository/lib/authentication_repository.dart lib/main.dart with AuthenticationBloc or any other class that depends on the Repository class (like AuthenticationRepository) which is exposed as an local package....

no-issue-activity

HI! Could you give advice how to get all instances from DI as List? I have AbstractClass and more than one implementations (singleton). I'd like to get all of them...

no-issue-activity

- Updated code generation command as per latest Dart SDK

I have this singleton: ```dart final class OpenWeather { final String baseURL, apiKey, baseWeatherIconUrl; const OpenWeather._({required this.baseURL, required this.apiKey, required this.baseWeatherIconUrl}); static OpenWeather? _instance; static Future init() async { if...

no-issue-activity

This PR handles and passes exceptions that can happen inside the async scope initialization. Previously the completer never completed if the init function threw an exception.

This PR supports path customization for `.config.dart` and `.module.dart`.

no-pr-activity

I have some injectable classes registered in main isolate and have some isolates trying to use those classes as in the following semplified example: ``` @module abstract class RegisterModule {...

no-issue-activity

Currently, generated files use the `.config.dart` extension. This is a bit to general IMO and not necessarily interpreted as a generated file by default. Personally, I prefer to gitignore generated...

The readme currently mentions that one can pass their own `EnvironmentFilter` but does not provide an example of how to do so. Specifically, it would be nice to have documentation...