setupLocator function

dynamic setupLocator()

Implementation

setupLocator() {
  locator.registerLazySingleton(() => NotifierService());
  locator.registerLazySingleton(() => NavigationService());
  locator.registerLazySingleton(() => API());
  locator.registerLazySingleton(() => WidgetsService());
  locator.registerLazySingleton(() => FlySwitchService());
  locator.registerLazySingleton(() => JsonRegistryService());

  locator.registerFactory(() => WidgetLoaderController());
}