fix issues on Referral

merge-requests/554/head
Mohammad Aljammal 5 years ago
parent 8a63d8bb83
commit 1d2ee1284e

@ -246,11 +246,18 @@ class PatientReferralItemWidget extends StatelessWidget {
child: Container(
width: 40,
height: 40,
child: CircleAvatar(
radius: 25.0,
backgroundImage: NetworkImage(doctorAvatar),
backgroundColor: Colors.transparent,
),
child: doctorAvatar !=null?ClipRRect(
borderRadius: BorderRadius.circular(20.0),
child: Image.network(
doctorAvatar,
height: 25,
width: 30,
errorBuilder: (BuildContext context,
Object exception,
StackTrace stackTrace) {
return Text('No Image');
},
)):Container(),
),
),
Expanded(

Loading…
Cancel
Save