This commit is contained in:
2025-08-06 17:26:25 +05:30
parent 2fdef7c850
commit c4d4261afc
33 changed files with 772 additions and 935 deletions

View File

@@ -39,8 +39,8 @@ class AccountCard extends StatelessWidget {
children: [
Text(
account.accountType,
style: const TextStyle(
color: Colors.white,
style: TextStyle(
color: Theme.of(context).scaffoldBackgroundColor,
fontSize: 18,
fontWeight: FontWeight.bold,
),
@@ -49,20 +49,20 @@ class AccountCard extends StatelessWidget {
account.accountType == 'Savings'
? Icons.savings
: Icons.account_balance,
color: Colors.white,
color: Theme.of(context).scaffoldBackgroundColor,
),
],
),
const SizedBox(height: 20),
Text(
account.accountNumber,
style: const TextStyle(color: Colors.white70, fontSize: 16),
style: TextStyle(color: Theme.of(context).dialogBackgroundColor, fontSize: 16),
),
const SizedBox(height: 30),
Text(
'${account.currency} ${account.balance.toStringAsFixed(2)}',
style: const TextStyle(
color: Colors.white,
style: TextStyle(
color: Theme.of(context).scaffoldBackgroundColor,
fontSize: 22,
fontWeight: FontWeight.bold,
),