|
|
|
|
@ -26,12 +26,12 @@ Widget priorityTicketsWithSideList(List<Tickets> tickets) {
|
|
|
|
|
final otherTickets = tickets.sublist(3, tickets.length);
|
|
|
|
|
return Row(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(flex: 2, child: PriorityTickets(priorityTickets)),
|
|
|
|
|
Expanded(flex: 4, child: PriorityTickets(priorityTickets)),
|
|
|
|
|
Container(color: Colors.grey.withOpacity(0.1), width: 10, margin: const EdgeInsets.symmetric(horizontal: 10, vertical: 50)),
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 2,
|
|
|
|
|
flex: 4,
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 50),
|
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 0, vertical: 50),
|
|
|
|
|
itemCount: otherTickets.length,
|
|
|
|
|
itemBuilder: (ctx, idx) {
|
|
|
|
|
final itm = otherTickets[idx];
|
|
|
|
|
@ -39,19 +39,19 @@ Widget priorityTicketsWithSideList(List<Tickets> tickets) {
|
|
|
|
|
return Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8),
|
|
|
|
|
child: Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: SizeConfig.getWidthMultiplier() * 13,
|
|
|
|
|
width: SizeConfig.getWidthMultiplier() * 21,
|
|
|
|
|
child: AppText(
|
|
|
|
|
itm.queueNo.toString(),
|
|
|
|
|
letterSpacing: -2,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: SizeConfig.getWidthMultiplier() * 4.5,
|
|
|
|
|
textAlign: TextAlign.end,
|
|
|
|
|
fontSize: SizeConfig.getWidthMultiplier() * 4,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
const SizedBox(width: 10),
|
|
|
|
|
const SizedBox(width: 5),
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
|
children: [
|
|
|
|
|
@ -61,7 +61,7 @@ Widget priorityTicketsWithSideList(List<Tickets> tickets) {
|
|
|
|
|
),
|
|
|
|
|
const SizedBox(width: 10),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: SizeConfig.getWidthMultiplier() * 29,
|
|
|
|
|
width: SizeConfig.getWidthMultiplier() * 28,
|
|
|
|
|
child: AppText(
|
|
|
|
|
itm.getCallType().message('en'),
|
|
|
|
|
color: itm.getCallType().color(),
|
|
|
|
|
|