fix insurance update

fix_insurance_update
Mohammad Aljammal 4 years ago
parent 5f12eab870
commit 9fecf8e89f

@ -25,7 +25,7 @@ class GetAllSharedRecordsByStatusResponse {
dynamic successMsgN;
dynamic doctorInformationList;
List<GetAllSharedRecordsByStatusList> getAllPendingRecordsList;
List<GetAllSharedRecordsByStatusList> getAllSharedRecordsByStatusList;
List<GetAllSharedRecordsByStatusList> getAllSharedRecordsByStatusList = List();
List<GetAllSharedRecordsByStatusList> getResponseFileList;
bool isHMGPatient;
bool isLoginSuccessfully;
@ -92,7 +92,7 @@ class GetAllSharedRecordsByStatusResponse {
this.successMsgN,
this.doctorInformationList,
this.getAllPendingRecordsList,
this.getAllSharedRecordsByStatusList,
this.getAllSharedRecordsByStatusList ,
this.getResponseFileList,
this.isHMGPatient,
this.isLoginSuccessfully,

@ -97,7 +97,9 @@ class _InsuranceUpdateState extends State<InsuranceUpdate>
controller: _tabController,
children: <Widget>[
Container(
child: ListView.builder(
child:
model.getAllSharedRecordsByStatusResponse.getAllSharedRecordsByStatusList!=null?
ListView.builder(
itemCount: model.getAllSharedRecordsByStatusResponse.getAllSharedRecordsByStatusList.length,
itemBuilder: (BuildContext context, int index) {
return Container(
@ -173,7 +175,7 @@ class _InsuranceUpdateState extends State<InsuranceUpdate>
),
),
);
}),
}):Container(),
),
Container(
child: ListView.builder(

@ -42,9 +42,9 @@ class _SplashScreenState extends State<SplashScreen> {
var data = await sharedPref.getObject(USER_PROFILE);
if (data != null) {
AuthenticatedUser userData = AuthenticatedUser.fromJson(data);
Provider.of<ProjectViewModel>(context, listen: false).isLogin = true;
authenticatedUserObject.isLogin = true;
authenticatedUserObject.user = userData;
// Provider.of<ProjectViewModel>(context, listen: false).isLogin = true;
//authenticatedUserObject.isLogin = true;
//authenticatedUserObject.user = userData;
}
}

Loading…
Cancel
Save