setupLocator function

void setupLocator()

Implementation

void setupLocator() {
  locator.registerLazySingleton(() => NavigationService(
      GlobalKey<NavigatorState>(), UrlLauncher(), CustomChromeSafariBrowser()));
  locator.registerLazySingleton(() => SecureStorageService());
  locator.registerLazySingleton(() => SharedPreferencesService());
  locator.registerLazySingleton(() => AuthenticationService());
  locator.registerLazySingleton(() => UserService());
  locator.registerLazySingleton(() => NewsService());
  locator.registerLazySingleton(() => FAQService());
  locator.registerLazySingleton(() => InternalNotificationService());
  locator.registerLazySingleton(() => DeviceInfoService());
  locator.registerLazySingleton(() => DialogService());
  locator.registerLazySingleton(() => GoogleLocationSearchService());
  locator.registerLazySingleton(() => OrganisationService());
  locator.registerLazySingleton(() => AnalyticsService());
  locator.registerLazySingleton(() => CausesService());
  locator.registerLazySingleton(() => ApiService(http.Client()));
  locator.registerLazySingleton(() => SupabaseService());
  locator.registerLazySingleton(() => SearchService());
}