Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix flutter warnings
appflowy18c3e37c1d97
diff --git a/app_flowy/lib/home/infrastructure/deps_resolver.dart b/app_flowy/lib/home/infrastructure/deps_resolver.dartindex cc7d6e6413..866d867881 100644--- a/app_flowy/lib/home/infrastructure/deps_resolver.dart+++ b/app_flowy/lib/home/infrastructure/deps_resolver.dart@@ -7,8 +7,8 @@ import 'package:get_it/get_it.dart';class HomeDepsResolver {static Future<void> resolve(GetIt getIt) async {- getIt.registerLazySingleton<WorkspaceRepository>(- () => WorkspaceRepository());+ getIt.registerFactoryParam<WorkspaceRepository, String, void>(+ (workspaceId, _) => WorkspaceRepository(workspaceId: workspaceId));getIt.registerFactoryParam<AppRepository, String, void>((appId, _) => AppRepository(appId: appId));diff --git a/app_flowy/lib/welcome/infrastructure/i_welcome_impl.dart b/app_flowy/lib/welcome/infrastructure/i_welcome_impl.dartindex cf9c6882d9..dfc9b1e127 100644--- a/app_flowy/lib/welcome/infrastructure/i_welcome_impl.dart+++ b/app_flowy/lib/welcome/infrastructure/i_welcome_impl.dart@@ -1,6 +1,3 @@-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/presentation/home_screen.dart';import 'package:app_flowy/user/presentation/sign_in/sign_in_screen.dart';import 'package:app_flowy/welcome/domain/auth_state.dart';