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
height: 15, ? Container(
width: 60, height: 15,
decoration: BoxDecoration( width: 60,
borderRadius: BorderRadius.circular(25), decoration: BoxDecoration(
color: HexColor("#20A169"), borderRadius:
), BorderRadius.circular(25),
child: AppText( color: HexColor("#20A169"),
patientInfo.startTime, ),
color: Colors.white, child: AppText(
fontSize: patientInfo.startTime,
1.5 * SizeConfig.textMultiplier, color: Colors.white,
textAlign: TextAlign.center, fontSize: 1.5 *
fontWeight: FontWeight.bold, SizeConfig.textMultiplier,
), textAlign: TextAlign.center,
), fontWeight: FontWeight.bold,
),
)
: SizedBox(),
SizedBox( SizedBox(
width: 3.5, width: 3.5,
), ),

Loading…
Cancel
Save