added verified icon in homepage when patient is logged in

merge-requests/268/head
haroon amjad 5 years ago
parent 9ecf745747
commit 69649ff7f8

@ -367,7 +367,7 @@ class _ToDoState extends State<ToDo> {
height: 30.0, height: 30.0,
margin: projectViewModel.isArabic margin: projectViewModel.isArabic
? EdgeInsets.fromLTRB(160.0, 0.0, 30.0, 0.0) ? EdgeInsets.fromLTRB(160.0, 0.0, 30.0, 0.0)
: EdgeInsets.fromLTRB(30.0, 0.0, 160.0, 0.0), : EdgeInsets.fromLTRB(20.0, 0.0, 160.0, 0.0),
transform: Matrix4.translationValues(0.0, -8.0, 0.0), transform: Matrix4.translationValues(0.0, -8.0, 0.0),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
@ -392,7 +392,7 @@ class _ToDoState extends State<ToDo> {
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontSize: 12.0)), fontSize: 11.0)),
) )
: Container( : Container(
child: Text( child: Text(
@ -401,7 +401,7 @@ class _ToDoState extends State<ToDo> {
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontSize: 12.0)), fontSize: 11.0)),
) )
], ],
), ),

@ -289,13 +289,22 @@ class _HomePageState extends State<HomePage> {
SizedBox( SizedBox(
height: 8, height: 8,
), ),
Texts( Row(
model.user.firstName + children: [
" " + Texts(
model.user.lastName, model.user.firstName +
color: Colors.grey[100], " " +
bold: true, model.user.lastName,
fontSize: 15, color: Colors.grey[100],
bold: true,
fontSize: 15,
),
Container(
margin: EdgeInsets.fromLTRB(8.0, 0.0, 8.0, 0.0),
child: SvgPicture.asset(
"assets/images/new-design/verification_check.svg"),
),
],
), ),
Texts( Texts(
'${model.user.patientID}', '${model.user.patientID}',

Loading…
Cancel
Save