Account Info card changes and snackbar in statement #3
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user