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