import 'package:app_flowy/home/application/edit_pannel/edit_pannel_bloc.dart'; import 'package:app_flowy/home/application/home_bloc.dart'; import 'package:app_flowy/home/application/watcher/home_watcher_bloc.dart'; import 'package:app_flowy/welcome/application/welcome_bloc.dart'; import 'package:app_flowy/welcome/infrastructure/i_welcome_impl.dart'; import 'package:get_it/get_it.dart'; class WelcomeDepsResolver { static Future resolve(GetIt getIt) async { getIt.registerFactory(() => WelcomeAuthImpl()); getIt.registerFactory(() => WelcomeRoute()); getIt.registerFactory(() => HomeBloc()); getIt.registerFactory(() => HomeWatcherBloc()); getIt.registerFactory(() => EditPannelBloc()); getIt .registerFactory(() => WelcomeBloc(getIt())); } }