fix : title and pic home widget

This commit is contained in:
2025-09-20 12:25:10 +03:30
parent d1783ae14d
commit 0855489952
5 changed files with 32 additions and 20 deletions

View File

@@ -14,7 +14,8 @@ class PoultryScienceHomeLogic extends GetxController {
labelTitle: 'کل فارم ها',
isLoading: true,
labelVecIcon: Assets.vec.cubeScanSvg.path,
blendMode: BlendMode.dst,
iconColor: AppColor.blueFlashing,
blendMode: BlendMode.srcOut,
valueBgColor: Colors.white,
labelGradient: LinearGradient(
begin: Alignment.topCenter,

View File

@@ -42,16 +42,12 @@ class PoultryScienceHomePage extends GetView<PoultryScienceHomeLogic> {
widelyWidget(),
SizedBox(height: 20),
],
),
),
);
}
Padding mainItemWidget() {
return Padding(
padding: const EdgeInsets.all(8.0),
@@ -106,18 +102,19 @@ class PoultryScienceHomePage extends GetView<PoultryScienceHomeLogic> {
width: 40,
height: 40,
decoration: ShapeDecoration(
image: DecorationImage(
image: AssetImage(Assets.images.chicken.path),
fit: BoxFit.cover,
),
shape: RoundedRectangleBorder(
side: BorderSide(width: 0.25, color: const Color(0xFFB0B0B0)),
borderRadius: BorderRadius.circular(4),
),
),
child: Assets.images.liveChicken.image(
width: 40.w,
height: 40.h,
fit: BoxFit.cover,
),
),
Text(
'مرغ گرم',
'فارم ها',
textAlign: TextAlign.right,
style: AppFonts.yekan16.copyWith(color: AppColor.darkGreyDarkActive),
),