Merge branch 'fix_insurance_update' into 'diplomatic-quarter-live'

remove updated button

See merge request Cloud_Solution/diplomatic-quarter!164
merge-update-with-lab-changes
Mohammad Aljammal 5 years ago
commit 6ae2bfe790

@ -1,15 +1,11 @@
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart';
import 'package:flutter/material.dart';
import 'package:diplomaticquarterapp/config/size_config.dart';
import 'package:flutter/cupertino.dart';
import '../base/base_view.dart';
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
import 'package:diplomaticquarterapp/core/viewModels/insurance_card_View_model.dart';
import 'package:diplomaticquarterapp/widgets/others/rounded_container.dart';
import 'package:rating_bar/rating_bar.dart';
import 'package:diplomaticquarterapp/widgets/buttons/button.dart';
class InsuranceUpdate extends StatefulWidget {
@override
@ -31,6 +27,7 @@ class _InsuranceUpdateState extends State<InsuranceUpdate>
_tabController.dispose();
}
//TODO implement update card
Widget build(BuildContext context) {
return BaseView<InsuranceViewModel>(
onModelReady: (model) => model.getInsuranceUpdated(),
@ -144,6 +141,9 @@ class _InsuranceUpdateState extends State<InsuranceUpdate>
color: Colors.black,
fontWeight: FontWeight.w500,
),
SizedBox(
height: 8,
),
Texts(
TranslationBase.of(context)
.fileno +
@ -162,6 +162,7 @@ class _InsuranceUpdateState extends State<InsuranceUpdate>
),
),
),
if (false)
Expanded(
flex: 2,
child: Container(
@ -228,16 +229,17 @@ class _InsuranceUpdateState extends State<InsuranceUpdate>
crossAxisAlignment:
CrossAxisAlignment.start,
children: <Widget>[
Text(
Texts(
model.user.firstName +
" " +
model.user.lastName,
style: TextStyle(
fontSize: 14.0,
fontSize: 14,
fontWeight: FontWeight.w500,
color: Colors.black,
fontWeight:
FontWeight.w500,
letterSpacing: 1.0)),
),
SizedBox(
height: 8,
),
Texts(
TranslationBase.of(context)
.fileno +
@ -248,12 +250,17 @@ class _InsuranceUpdateState extends State<InsuranceUpdate>
.patientID
.toString(),
fontSize: 14,
fontWeight: FontWeight.w500,
color: Colors.black,
),
SizedBox(
height: 8,
),
Texts(
model.insuranceUpdate[index]
.createdOn,
fontSize: 14,
fontWeight: FontWeight.w500,
color: Colors.black,
),
],

Loading…
Cancel
Save