UI Enhancements in Finance Module – Payment Request & Expense Screens
This commit is contained in:
parent
899252f215
commit
36a3d586a0
@ -343,7 +343,21 @@ class ExpenseList extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
MyText.bodySmall(formattedDate, fontWeight: 500),
|
MyText.bodySmall(formattedDate, fontWeight: 500),
|
||||||
const Spacer(),
|
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,
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@ -383,7 +383,8 @@ class _PaymentRequestMainScreenState extends State<PaymentRequestMainScreen>
|
|||||||
const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Color(int.parse(
|
color: Color(int.parse(
|
||||||
'0xff${item.expenseStatus.color.substring(1)}')),
|
'0xff${item.expenseStatus.color.substring(1)}'))
|
||||||
|
.withOpacity(0.5),
|
||||||
borderRadius: BorderRadius.circular(5),
|
borderRadius: BorderRadius.circular(5),
|
||||||
),
|
),
|
||||||
child: MyText.bodySmall(
|
child: MyText.bodySmall(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user