patient card

merge-requests/364/head
Sultan Khan 5 years ago
parent 075ae0dcaa
commit 495898f8c8

@ -240,22 +240,25 @@ class PatientCard extends StatelessWidget {
" : ", " : ",
fontSize: 14, fontSize: 14,
), ),
Container( patientInfo.startTime != null
? Container(
height: 15, height: 15,
width: 60, width: 60,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(25), borderRadius:
BorderRadius.circular(25),
color: HexColor("#20A169"), color: HexColor("#20A169"),
), ),
child: AppText( child: AppText(
patientInfo.startTime, patientInfo.startTime,
color: Colors.white, color: Colors.white,
fontSize: fontSize: 1.5 *
1.5 * SizeConfig.textMultiplier, SizeConfig.textMultiplier,
textAlign: TextAlign.center, textAlign: TextAlign.center,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), )
: SizedBox(),
SizedBox( SizedBox(
width: 3.5, width: 3.5,
), ),

Loading…
Cancel
Save