ui improvements

dev_sikander
faizatflutter 4 days ago
parent 6e1eb0d0bb
commit 9c7cfde5f4

@ -529,7 +529,7 @@ class ServicesPage extends StatelessWidget {
crossAxisCount: (isFoldable || isTablet) ? 6 : 4, // 4 icons per row
crossAxisSpacing: 21.w,
mainAxisSpacing: 18.h,
childAspectRatio: 80 / 94,
childAspectRatio: 80.w / 94.h,
),
physics: NeverScrollableScrollPhysics(),
shrinkWrap: true,

@ -36,7 +36,7 @@ class ServiceGridViewItem extends StatelessWidget {
children: [
Container(
height: 48.h,
width: 48.w,
width: 48.h,
decoration: RoundedRectangleBorder().toSmoothCornerDecoration(
color: hmgServiceComponentModel.bgColor,
borderRadius: 12.r,
@ -51,7 +51,7 @@ class ServiceGridViewItem extends StatelessWidget {
),
),
),
SizedBox(height: 5.h),
SizedBox(height: 4.h),
hmgServiceComponentModel.title.toText12(
fontWeight: FontWeight.w500,
color: AppColors.textColor,

@ -101,6 +101,7 @@ class LargeServiceCard extends StatelessWidget {
onPressed: () {
handleOnTap();
},
padding: EdgeInsets.zero,
backgroundColor: serviceCardData.isBold ? AppColors.successLightColor.withValues(alpha: 0.2) : AppColors.bgRedLightColor,
borderColor: serviceCardData.isBold ? AppColors.successLightColor.withValues(alpha: 0.01) : AppColors.bgRedLightColor,
textColor: serviceCardData.isBold ? AppColors.successColor : AppColors.primaryRedColor,
@ -232,6 +233,7 @@ class FadedLargeServiceCard extends StatelessWidget {
onPressed: () {
handleOnTap();
},
padding: EdgeInsets.zero,
backgroundColor: serviceCardData.isBold ? AppColors.successLightColor.withValues(alpha: 0.2) : AppColors.blackBgColor,
borderColor: serviceCardData.isBold ? AppColors.successLightColor.withValues(alpha: 0.01) : AppColors.blackBgColor,
textColor: serviceCardData.isBold ? AppColors.successColor : AppColors.whiteColor,

@ -274,7 +274,7 @@ class _ScrollAnimatedTitleState extends State<ScrollAnimatedTitle> {
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontSize: _fontSize,
fontSize: _fontSize.f,
fontWeight: FontWeight.bold,
letterSpacing: -0.5,
),

@ -59,7 +59,7 @@ class BottomNavigation extends StatelessWidget {
onTap: () => onTap(index),
behavior: HitTestBehavior.opaque,
child: SizedBox(
height: 50.h,
height: 56.h,
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,

Loading…
Cancel
Save