get_it_injector_gen 0.1.0+1 copy "get_it_injector_gen: ^0.1.0+1" to clipboard
get_it_injector_gen: ^0.1.0+1 copied to clipboard

Automate class registration for dependency injection using `get_it`, Simplify and manage dependencies effortlessly in Dart projects.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add get_it_injector_gen

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  get_it_injector_gen: ^0.1.0+1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:get_it_injector_gen/builders.dart';
import 'package:get_it_injector_gen/enums/enums.dart';
import 'package:get_it_injector_gen/enums/parameter_type.dart';
import 'package:get_it_injector_gen/enums/register_type.dart';
import 'package:get_it_injector_gen/models/group.dart';
import 'package:get_it_injector_gen/models/group.g.dart';
import 'package:get_it_injector_gen/models/implementation.dart';
import 'package:get_it_injector_gen/models/implementation.g.dart';
import 'package:get_it_injector_gen/models/importable.dart';
import 'package:get_it_injector_gen/models/injectable.dart';
import 'package:get_it_injector_gen/models/injectable.g.dart';
import 'package:get_it_injector_gen/models/models.dart';
import 'package:get_it_injector_gen/models/parameter.dart';
import 'package:get_it_injector_gen/models/parameter.g.dart';
import 'package:get_it_injector_gen/models/parameters.dart';
import 'package:get_it_injector_gen/models/settings.dart';
import 'package:get_it_injector_gen/models/settings.g.dart';
import 'package:get_it_injector_gen/models/settings_interface.dart';
0
likes
0
pub points
54%
popularity

Publisher

verified publishermrgnhnt.com

Automate class registration for dependency injection using `get_it`, Simplify and manage dependencies effortlessly in Dart projects.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #get-it #di #code-generation

License

unknown (license)

Dependencies

analyzer, build, change_case, code_builder, dart_style, equatable, get_it_injector, glob, json_annotation, meta, path, source_gen, source_span

More

Packages that depend on get_it_injector_gen