di_visualizer 0.3.2 di_visualizer: ^0.3.2 copied to clipboard
di_visualizer
import 'package:di_visualizer_annotation/di_visualizer_annotation.dart';
@diService
class Service1 {
Service1(
this.util,
this.repository1,
);
final Util util;
final Repository1 repository1;
}
@diService
class Service2 {
Service2(
this.util,
this.repository2,
);
final Util util;
final Repository2 repository2;
}
@diService
class Util {}
@diService
class RepoUtil {}
@diService
class AbandonedService {}
@diService
class Repository1 {
Repository1(this.repoUtil);
final RepoUtil repoUtil;
}
@diService
class Repository2 {
Repository2(this.repoUtil);
final RepoUtil repoUtil;
}