Merge issue fixed
parent
a0a162df4c
commit
5b155690b1
@ -1,18 +0,0 @@
|
|||||||
import 'package:get_it/get_it.dart';
|
|
||||||
import 'package:hmg_nurses/ui/login/login_vm.dart';
|
|
||||||
|
|
||||||
GetIt getIt = GetIt.instance;
|
|
||||||
|
|
||||||
|
|
||||||
void initDependencies () {
|
|
||||||
// TODO; WE WILL REGISTER ALL THE SERVICES HERE AS LAZY SINGLETON
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//TODO: WE WILL REGISTER ALL THE VIEW MODELS AS FACTORY HERE
|
|
||||||
|
|
||||||
/// View Model
|
|
||||||
getIt.registerFactory(() => LoginViewModel());
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
import 'package:hmg_nurses/services/api_client.dart';
|
import 'package:hmg_nurses/services/api_client.dart';
|
||||||
import 'package:hmg_nurses/app_state/app_state.dart';
|
import 'package:hmg_nurses/config/app_state.dart';
|
||||||
import 'package:hmg_nurses/classes/consts.dart';
|
import 'package:hmg_nurses/classes/consts.dart';
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue