fix : state our/buyer conformation in list item
This commit is contained in:
@@ -55,6 +55,7 @@ class SalesInProvincePage extends GetView<SalesInProvinceLogic> {
|
||||
secondChild: itemListExpandedWidget(item, index),
|
||||
labelColor: AppColor.blueLight,
|
||||
labelIcon: Assets.vec.timerSvg.path,
|
||||
labelIconColor: item.registrationCode == null ? AppColor.darkGreyDark : AppColor.error,
|
||||
);
|
||||
}, controller.isExpandedList);
|
||||
},
|
||||
@@ -193,12 +194,21 @@ class SalesInProvincePage extends GetView<SalesInProvinceLogic> {
|
||||
),
|
||||
Spacer(),
|
||||
Text(
|
||||
'در انتظار',
|
||||
item.registrationCode == null ? 'در انتظار' : 'در انتظار تایید خریدار',
|
||||
textAlign: TextAlign.center,
|
||||
style: AppFonts.yekan10.copyWith(color: AppColor.darkGreyDark),
|
||||
style: AppFonts.yekan10.copyWith(
|
||||
color: item.registrationCode == null ? AppColor.darkGreyDark : AppColor.error,
|
||||
),
|
||||
),
|
||||
SizedBox(width: 7),
|
||||
Assets.vec.clockSvg.svg(width: 16.w, height: 16.h),
|
||||
Assets.vec.clockSvg.svg(
|
||||
width: 16.w,
|
||||
height: 16.h,
|
||||
colorFilter: ColorFilter.mode(
|
||||
item.registrationCode == null ? AppColor.darkGreyDark : AppColor.error,
|
||||
BlendMode.srcIn,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
Container(
|
||||
|
||||
Reference in New Issue
Block a user