|
|
|
|
@ -265,7 +265,8 @@ class AppDependencies {
|
|
|
|
|
|
|
|
|
|
getIt.registerLazySingleton<WaterMonitorViewModel>(() => WaterMonitorViewModel(waterMonitorRepo: getIt(), errorHandlerService: getIt()));
|
|
|
|
|
|
|
|
|
|
getIt.registerLazySingleton<MyInvoicesViewModel>(() => MyInvoicesViewModel(myInvoicesRepo: getIt(), errorHandlerService: getIt(), navServices: getIt()));
|
|
|
|
|
//commenting this because its already define there was on run time error because of this.
|
|
|
|
|
// getIt.registerLazySingleton<MyInvoicesViewModel>(() => MyInvoicesViewModel(myInvoicesRepo: getIt(), errorHandlerService: getIt(), navServices: getIt()));
|
|
|
|
|
|
|
|
|
|
getIt.registerLazySingleton<MonthlyReportViewModel>(() => MonthlyReportViewModel(errorHandlerService: getIt(), monthlyReportRepo: getIt()));
|
|
|
|
|
getIt.registerLazySingleton<MyInvoicesViewModel>(() => MyInvoicesViewModel(
|
|
|
|
|
|