formatted some files

This commit is contained in:
asif
2025-08-25 19:47:19 +05:30
parent f77549310a
commit 351ee84414
5 changed files with 19 additions and 22 deletions

View File

@@ -29,5 +29,3 @@ class ImpsService {
} }
} }
} }

View File

@@ -35,4 +35,3 @@ class AppThemes {
); );
} }
} }

View File

@@ -281,21 +281,21 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
tx.type == 'CR' ? Colors.green : Colors.red, tx.type == 'CR' ? Colors.green : Colors.red,
), ),
title: Text( title: Text(
tx.date ?? '', tx.date ?? '',
style: const TextStyle(fontSize: 15), style: const TextStyle(fontSize: 15),
), ),
subtitle: Text( subtitle: Text(
tx.name != null tx.name != null
? (tx.name!.length > 18 ? (tx.name!.length > 18
? tx.name!.substring(0, 22) ? tx.name!.substring(0, 22)
: tx.name!) : tx.name!)
: '', : '',
style: const TextStyle(fontSize: 12), style: const TextStyle(fontSize: 12),
), ),
trailing: Text( trailing: Text(
"${tx.amount}", "${tx.amount}",
style: const TextStyle(fontSize: 17), style: const TextStyle(fontSize: 17),
), ),
onTap: () { onTap: () {
Navigator.push( Navigator.push(
context, context,
@@ -308,8 +308,8 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
); );
}, },
separatorBuilder: (context, index) { separatorBuilder: (context, index) {
return const Divider(); return const Divider();
}, },
), ),
), ),
], ],

View File

@@ -576,7 +576,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
style: const TextStyle(fontSize: 15), style: const TextStyle(fontSize: 15),
), ),
subtitle: Text( subtitle: Text(
tx.name != null tx.name != null
? (tx.name!.length > 18 ? (tx.name!.length > 18
? tx.name!.substring(0, 22) ? tx.name!.substring(0, 22)
: tx.name!) : tx.name!)

View File

@@ -50,7 +50,7 @@ class AccountCard extends StatelessWidget {
Text( Text(
account.accountNumber, account.accountNumber,
style: TextStyle( style: TextStyle(
color:Theme.of(context).scaffoldBackgroundColor, fontSize: 16), color: Theme.of(context).scaffoldBackgroundColor, fontSize: 16),
), ),
const SizedBox(height: 30), const SizedBox(height: 30),
Text( Text(