|
|
|
|
@ -106,7 +106,7 @@ class TicketItem extends StatelessWidget {
|
|
|
|
|
// endColor: blink ? AppGlobal.appRedColor : Colors.black,
|
|
|
|
|
times: 0,
|
|
|
|
|
duration: const Duration(seconds: 1)),
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
const SizedBox(height: 13),
|
|
|
|
|
Directionality(
|
|
|
|
|
textDirection: callConfig.textDirection,
|
|
|
|
|
child: Row(
|
|
|
|
|
@ -114,10 +114,10 @@ class TicketItem extends StatelessWidget {
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.only(bottom: 8),
|
|
|
|
|
padding: EdgeInsets.only(bottom: callType == CallType.vitalSign ? 0 : 8),
|
|
|
|
|
child: callType.icon(SizeConfig.getHeightMultiplier() * 3),
|
|
|
|
|
),
|
|
|
|
|
const SizedBox(width: 10),
|
|
|
|
|
const SizedBox(width: 13),
|
|
|
|
|
AppText(
|
|
|
|
|
callType.message(callConfig),
|
|
|
|
|
color: callType.color(),
|
|
|
|
|
@ -160,9 +160,7 @@ Widget noPatientInQueue({required ScreenOrientationEnum screenOrientationEnum})
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Awaiting Patients Arrival",
|
|
|
|
|
fontFamily: 'Poppins-SemiBold.ttf',
|
|
|
|
|
fontSize: (screenOrientationEnum == ScreenOrientationEnum.portraitDown || screenOrientationEnum == ScreenOrientationEnum.portraitUp)
|
|
|
|
|
? SizeConfig.getWidthMultiplier() * 9
|
|
|
|
|
: SizeConfig.getWidthMultiplier() * 7,
|
|
|
|
|
fontSize: (screenOrientationEnum == ScreenOrientationEnum.portraitDown || screenOrientationEnum == ScreenOrientationEnum.portraitUp) ? SizeConfig.getWidthMultiplier() * 9 : SizeConfig.getWidthMultiplier() * 7,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
@ -358,8 +356,5 @@ Widget priorityTicketsWithSideList({required List<PatientTicketModel> tickets, r
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
];
|
|
|
|
|
return (appProvider.currentScreenRotation == ScreenOrientationEnum.portraitUp ||
|
|
|
|
|
appProvider.currentScreenRotation == ScreenOrientationEnum.portraitDown)
|
|
|
|
|
? Row(children: children)
|
|
|
|
|
: Column(children: children);
|
|
|
|
|
return (appProvider.currentScreenRotation == ScreenOrientationEnum.portraitUp || appProvider.currentScreenRotation == ScreenOrientationEnum.portraitDown) ? Row(children: children) : Column(children: children);
|
|
|
|
|
}
|
|
|
|
|
|