tak main design fixes.

master_clone
Faiz Hashmi 3 months ago
parent 80834c140b
commit 5264013397

@ -217,9 +217,9 @@ extension XCallType on CallTypeEnum {
} }
Widget getIconByCallType(double height, QTypeEnum qType, {double? width, BoxFit fit = BoxFit.contain}) { Widget getIconByCallType(double height, QTypeEnum qType, {double? width, BoxFit fit = BoxFit.contain}) {
if (this == CallTypeEnum.vitalSign) { // if (this == CallTypeEnum.vitalSign) {
return const SizedBox.shrink(); // return const SizedBox.shrink();
} // }
String iconPath = ""; String iconPath = "";
if (this == CallTypeEnum.vitalSign) { if (this == CallTypeEnum.vitalSign) {

@ -196,7 +196,7 @@ class PriorityTickets extends StatelessWidget {
return globalConfigurationsModel.screenTypeEnum == ScreenTypeEnum.roomLevelScreen return globalConfigurationsModel.screenTypeEnum == ScreenTypeEnum.roomLevelScreen
? 1.5 ? 1.5
: globalConfigurationsModel.isFromTakhasusiMain : globalConfigurationsModel.isFromTakhasusiMain
? 0.8 ? 0.9
: 1.2; : 1.2;
} }

@ -141,12 +141,12 @@ class PriorityTicketsWithSideSection extends StatelessWidget {
} }
final List<Widget> children = [ final List<Widget> children = [
Expanded(flex: 5, child: PriorityTickets(globalConfigurationsModel: globalConfigurationsModel, tickets: priorityTickets)), Expanded(flex: 5, child: PriorityTickets(globalConfigurationsModel: globalConfigurationsModel, tickets: priorityTickets)),
if (screenOrientationEnum == ScreenOrientationEnum.portraitUp || screenOrientationEnum == ScreenOrientationEnum.portraitDown) ...[ // if (screenOrientationEnum == ScreenOrientationEnum.portraitUp || screenOrientationEnum == ScreenOrientationEnum.portraitDown) ...[
SizedBox(width: SizeConfig.getWidthMultiplier() * 2), // SizedBox(width: SizeConfig.getWidthMultiplier() * 2),
], // ],
if (screenOrientationEnum == ScreenOrientationEnum.landscapeLeft || screenOrientationEnum == ScreenOrientationEnum.landscapeRight) ...[ // if (screenOrientationEnum == ScreenOrientationEnum.landscapeLeft || screenOrientationEnum == ScreenOrientationEnum.landscapeRight) ...[
SizedBox(height: SizeConfig.getHeightMultiplier() * 0.2), // SizedBox(height: SizeConfig.getHeightMultiplier() * 0.2),
], // ],
if (showThankyouMessage) ...[ if (showThankyouMessage) ...[
showThankyouWidget(), showThankyouWidget(),
] else ...[ ] else ...[

@ -88,12 +88,15 @@ class QueueItemNormalCard extends StatelessWidget {
), ),
Flexible( Flexible(
flex: 3, flex: 3,
child: Padding(
padding: EdgeInsets.all(SizeConfig.getHeightMultiplier() * 0.07),
child: Row( child: Row(
children: [ children: [
callTypeEnum.getIconByCallType(SizeConfig.getHeightMultiplier() * 0.35, qTypeEnum), callTypeEnum.getIconByCallType(SizeConfig.getHeightMultiplier() * 0.35, qTypeEnum),
], ],
), ),
), ),
),
Flexible( Flexible(
flex: 2, flex: 2,
child: Center( child: Center(

Loading…
Cancel
Save