fix : ui bug

This commit is contained in:
2025-09-20 13:16:28 +03:30
parent 42f7b2f08b
commit c524e090d7

View File

@@ -63,18 +63,19 @@ class PoultryScienceHomePage extends GetView<PoultryScienceHomeLogic> {
width: 40, width: 40,
height: 40, height: 40,
decoration: ShapeDecoration( decoration: ShapeDecoration(
image: DecorationImage(
image: AssetImage(Assets.images.chicken.path),
fit: BoxFit.cover,
),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
side: BorderSide(width: 0.25, color: const Color(0xFFB0B0B0)), side: BorderSide(width: 0.25, color: const Color(0xFFB0B0B0)),
borderRadius: BorderRadius.circular(4), borderRadius: BorderRadius.circular(4),
), ),
), ),
child: Assets.images.liveChicken.image(
width: 40.w,
height: 40.h,
fit: BoxFit.cover,
),
), ),
Text( Text(
'مرغ گرم', 'فارم ها',
textAlign: TextAlign.right, textAlign: TextAlign.right,
style: AppFonts.yekan16.copyWith(color: AppColor.darkGreyDarkActive), style: AppFonts.yekan16.copyWith(color: AppColor.darkGreyDarkActive),
), ),