Language Change

This commit is contained in:
Nilanjan Chakrabarti
2025-07-10 13:19:31 +05:30
parent 9b439338a9
commit d4de89a91f
22 changed files with 334 additions and 227 deletions

View File

@@ -1,9 +1,10 @@
import 'package:flutter/material.dart';
import '../../accounts/models/account.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
class AccountCard extends StatelessWidget {
final Account account;
const AccountCard({
super.key,
required this.account,
@@ -48,8 +49,8 @@ class AccountCard extends StatelessWidget {
),
),
Icon(
account.accountType == 'Savings'
? Icons.savings
account.accountType == 'Savings'
? Icons.savings
: Icons.account_balance,
color: Colors.white,
),
@@ -73,8 +74,8 @@ class AccountCard extends StatelessWidget {
),
),
const SizedBox(height: 5),
const Text(
'Available Balance',
Text(
AppLocalizations.of(context).availableBalance,
style: TextStyle(
color: Colors.white70,
fontSize: 12,
@@ -84,4 +85,4 @@ class AccountCard extends StatelessWidget {
),
);
}
}
}