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),
|
secondChild: itemListExpandedWidget(item, index),
|
||||||
labelColor: AppColor.blueLight,
|
labelColor: AppColor.blueLight,
|
||||||
labelIcon: Assets.vec.timerSvg.path,
|
labelIcon: Assets.vec.timerSvg.path,
|
||||||
|
labelIconColor: item.registrationCode == null ? AppColor.darkGreyDark : AppColor.error,
|
||||||
);
|
);
|
||||||
}, controller.isExpandedList);
|
}, controller.isExpandedList);
|
||||||
},
|
},
|
||||||
@@ -193,12 +194,21 @@ class SalesInProvincePage extends GetView<SalesInProvinceLogic> {
|
|||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
Text(
|
Text(
|
||||||
'در انتظار',
|
item.registrationCode == null ? 'در انتظار' : 'در انتظار تایید خریدار',
|
||||||
textAlign: TextAlign.center,
|
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),
|
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(
|
Container(
|
||||||
|
|||||||
Reference in New Issue
Block a user