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,
),
title: Text(
tx.date ?? '',
style: const TextStyle(fontSize: 15),
),
subtitle: Text(
tx.name != null
? (tx.name!.length > 18
? tx.name!.substring(0, 22)
: tx.name!)
: '',
style: const TextStyle(fontSize: 12),
),
trailing: Text(
"${tx.amount}",
style: const TextStyle(fontSize: 17),
),
tx.date ?? '',
style: const TextStyle(fontSize: 15),
),
subtitle: Text(
tx.name != null
? (tx.name!.length > 18
? tx.name!.substring(0, 22)
: tx.name!)
: '',
style: const TextStyle(fontSize: 12),
),
trailing: Text(
"${tx.amount}",
style: const TextStyle(fontSize: 17),
),
onTap: () {
Navigator.push(
context,
@@ -308,8 +308,8 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
);
},
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),
),
subtitle: Text(
tx.name != null
tx.name != null
? (tx.name!.length > 18
? tx.name!.substring(0, 22)
: tx.name!)

View File

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