tak main design fixes.

master_clone
Faiz Hashmi 2 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}) {
if (this == CallTypeEnum.vitalSign) {
return const SizedBox.shrink();
}
// if (this == CallTypeEnum.vitalSign) {
// return const SizedBox.shrink();
// }
String iconPath = "";
if (this == CallTypeEnum.vitalSign) {

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

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

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

Loading…
Cancel
Save