Account Info card changes and snackbar in statement #3

This commit is contained in:
2025-12-04 16:50:08 +05:30
parent 86aaaa1f6d
commit 4a8c69bb1e
2 changed files with 11 additions and 11 deletions

View File

@@ -71,9 +71,9 @@ class _DashboardScreenState extends State<DashboardScreen>
final theme = Theme.of(context); final theme = Theme.of(context);
final bool isCardVisible = _visibilityMap[user.accountNo] ?? false; final bool isCardVisible = _visibilityMap[user.accountNo] ?? false;
// Animated scale for the selected card // Animated scale for the selected card
final scale = isSelected ? 1.0 : 0.9; final scale = isSelected ? 1.02 : 0.9;
return Padding( return Padding(
padding: const EdgeInsets.symmetric(horizontal: 4.0), padding: const EdgeInsets.symmetric(horizontal: 3.0),
child: AnimatedScale( child: AnimatedScale(
duration: const Duration(milliseconds: 200), duration: const Duration(milliseconds: 200),
scale: scale, scale: scale,
@@ -84,7 +84,7 @@ class _DashboardScreenState extends State<DashboardScreen>
), ),
decoration: BoxDecoration( decoration: BoxDecoration(
color: const Color(0xFF01A04C), color: const Color(0xFF01A04C),
borderRadius: BorderRadius.circular(16), borderRadius: BorderRadius.circular(20),
), ),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
@@ -471,7 +471,7 @@ class _DashboardScreenState extends State<DashboardScreen>
children: [ children: [
const SizedBox(height: 16), // Added spacing const SizedBox(height: 16), // Added spacing
Padding( Padding(
padding: const EdgeInsets.only(left: 8.0), padding: const EdgeInsets.only(left: 4.0),
child: Text( child: Text(
"${AppLocalizations.of(context).hi} $firstName!", "${AppLocalizations.of(context).hi} $firstName!",
style: GoogleFonts.baumans().copyWith( style: GoogleFonts.baumans().copyWith(

View File

@@ -15,13 +15,13 @@ void main() async {
]); ]);
// Check for device compromise // Check for device compromise
// final compromisedMessage = await SecurityService.deviceCompromisedMessage; final compromisedMessage = await SecurityService.deviceCompromisedMessage;
// if (compromisedMessage != null) { if (compromisedMessage != null) {
// runApp(MaterialApp( runApp(MaterialApp(
// home: SecurityErrorScreen(message: compromisedMessage), home: SecurityErrorScreen(message: compromisedMessage),
// )); ));
// return; return;
// } }
await setupDependencies(); await setupDependencies();
runApp(const KMobile()); runApp(const KMobile());
} }