feat: update layout dimensions and improve text formatting in poultry farm inspection pages

This commit is contained in:
2025-11-22 09:30:21 +03:30
parent 9364c0c351
commit a47263d98e
7 changed files with 188 additions and 452 deletions

View File

@@ -1,21 +1,14 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
Widget cardInfo({
required int value,
required String description,
required Color color,
}) {
Widget cardInfo({required int value, required String description, required Color color}) {
return Container(
width: 93.w,
width: 90.w,
height: 53.h,
decoration: BoxDecoration(
color: color,
borderRadius: BorderRadius.circular(8),
border: Border.all(
width: 0.50,
color: const Color.fromARGB(54, 169, 169, 169),
),
border: Border.all(width: 0.50, color: const Color.fromARGB(54, 169, 169, 169)),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
@@ -26,10 +19,7 @@ Widget cardInfo({
value.separatedByCommaFa,
style: AppFonts.yekan13Bold.copyWith(color: AppColor.textColor),
),
Text(
description,
style: AppFonts.yekan10.copyWith(color: AppColor.textColor),
),
Text(description, style: AppFonts.yekan10.copyWith(color: AppColor.textColor)),
],
),
);