feat: update layout dimensions and improve text formatting in poultry farm inspection pages
This commit is contained in:
@@ -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)),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user