feat: implement InjectGenerator

This commit is contained in:
Sergey Penkovsky
2025-05-23 14:08:08 +03:00
parent 1f6ee172a1
commit 9c42ba4cef
5 changed files with 55 additions and 26 deletions

View File

@@ -4,8 +4,6 @@ import 'package:postly/app.dart';
import 'di/app_module.dart';
void main() {
final scope = CherryPick.openRootScope();
scope.installModules([$AppModule()]);
runApp(MyApp(scope: scope));
CherryPick.openRootScope().installModules([$AppModule()]);
runApp(MyApp());
}