added verified icon in homepage when patient is logged in

merge-update-with-lab-changes
haroon amjad 5 years ago
parent 9ecf745747
commit 69649ff7f8

@ -367,7 +367,7 @@ class _ToDoState extends State<ToDo> {
height: 30.0,
margin: projectViewModel.isArabic
? 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),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
@ -392,7 +392,7 @@ class _ToDoState extends State<ToDo> {
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontSize: 12.0)),
fontSize: 11.0)),
)
: Container(
child: Text(
@ -401,7 +401,7 @@ class _ToDoState extends State<ToDo> {
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontSize: 12.0)),
fontSize: 11.0)),
)
],
),

@ -289,13 +289,22 @@ class _HomePageState extends State<HomePage> {
SizedBox(
height: 8,
),
Texts(
model.user.firstName +
" " +
model.user.lastName,
color: Colors.grey[100],
bold: true,
fontSize: 15,
Row(
children: [
Texts(
model.user.firstName +
" " +
model.user.lastName,
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(
'${model.user.patientID}',

Loading…
Cancel
Save