UI Enhancements in Finance Module – Payment Request & Expense Screens

This commit is contained in:
Manish 2025-11-13 17:59:51 +05:30 committed by Vaibhav Surve
parent 52782098f8
commit 4c9fecdfcf
2 changed files with 17 additions and 2 deletions

View File

@ -343,7 +343,21 @@ class ExpenseList extends StatelessWidget {
children: [
MyText.bodySmall(formattedDate, fontWeight: 500),
const Spacer(),
MyText.bodySmall(expense.status.name, fontWeight: 500),
Container(
padding: const EdgeInsets.symmetric(
horizontal: 8, vertical: 4),
decoration: BoxDecoration(
color: Color(int.parse(
'0xff${expense.status.color.substring(1)}'))
.withOpacity(0.5),
borderRadius: BorderRadius.circular(5),
),
child: MyText.bodySmall(
expense.status.name,
color: Colors.white,
fontWeight: 500,
),
),
],
),
],

View File

@ -383,7 +383,8 @@ class _PaymentRequestMainScreenState extends State<PaymentRequestMainScreen>
const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
decoration: BoxDecoration(
color: Color(int.parse(
'0xff${item.expenseStatus.color.substring(1)}')),
'0xff${item.expenseStatus.color.substring(1)}'))
.withOpacity(0.5),
borderRadius: BorderRadius.circular(5),
),
child: MyText.bodySmall(