diff --git a/lib/features/dashboard/screens/dashboard_screen.dart b/lib/features/dashboard/screens/dashboard_screen.dart index c55f800..397e5b3 100644 --- a/lib/features/dashboard/screens/dashboard_screen.dart +++ b/lib/features/dashboard/screens/dashboard_screen.dart @@ -298,10 +298,10 @@ class _DashboardScreenState extends State { Row( children: [ Text( - "${AppLocalizations.of(context).accountNumber}: ", + "${getFullAccountType(currAccount.accountType)}: ", style: TextStyle( color: theme.colorScheme.onPrimary, - fontSize: 12, + fontSize: 16, ), ), DropdownButton( @@ -312,7 +312,7 @@ class _DashboardScreenState extends State { iconEnabledColor: theme.colorScheme.onPrimary, style: TextStyle( color: theme.colorScheme.onPrimary, - fontSize: 14, + fontSize: 16, ), items: List.generate(users.length, (index) { return DropdownMenuItem( @@ -321,7 +321,7 @@ class _DashboardScreenState extends State { users[index].accountNo ?? 'N/A', style: TextStyle( color: theme.colorScheme.onPrimary, - fontSize: 14, + fontSize: 16, ), ), ); @@ -365,7 +365,7 @@ class _DashboardScreenState extends State { ), ) : Icon( - Icons.refresh, + Symbols.refresh, color: theme.colorScheme.onPrimary, ), onPressed: isRefreshing @@ -375,14 +375,7 @@ class _DashboardScreenState extends State { ), ], ), - Text( - getFullAccountType(currAccount.accountType), - style: TextStyle( - color: theme.colorScheme.onPrimary, - fontSize: 16, - ), - ), - const SizedBox(height: 4), + const SizedBox(height: 15), Row( mainAxisAlignment: MainAxisAlignment.start, children: [ @@ -400,7 +393,7 @@ class _DashboardScreenState extends State { isVisible ? currAccount.currentBalance ?? '0.00' - : '********', + : '*****', style: TextStyle( color: theme.colorScheme.onPrimary, fontSize: 40, @@ -428,12 +421,15 @@ class _DashboardScreenState extends State { }); } }, - child: Icon( - isVisible - ? Symbols.visibility_lock - : Symbols.visibility, - color: theme.scaffoldBackgroundColor, - weight: 800, + child: Padding( + padding: const EdgeInsets.all(8.0), + child: Icon( + isVisible + ? Symbols.visibility_lock + : Symbols.visibility, + color: theme.scaffoldBackgroundColor, + weight: 800, + ), ), ), ],