APY integrated without testing...

This commit is contained in:
2026-03-18 12:36:41 +05:30
parent 075cb3aaad
commit 8744e69ef7
29 changed files with 1069 additions and 498 deletions

View File

@@ -78,7 +78,7 @@ class _ServiceScreen extends State<ServiceScreen> {
// label: "Account Opening",
// onTap: () {
// Navigator.push(
// context,
// context,
// MaterialPageRoute(
// builder: (context) => const AccountOpeningScreen()));
// },
@@ -91,7 +91,7 @@ class _ServiceScreen extends State<ServiceScreen> {
// label: AppLocalizations.of(context).cardManagement,
// onTap: () {
// Navigator.push(
// context,
// context,
// MaterialPageRoute(
// builder: (context) => const CardManagementScreen()));
// },
@@ -110,8 +110,8 @@ class _ServiceScreen extends State<ServiceScreen> {
},
disabled: false,
),
),
// No Spacer() needed here as Expanded children will fill space
),
// No Spacer() needed here as Expanded children will fill space
],
),
),
@@ -162,33 +162,34 @@ class ServiceManagementTile extends StatelessWidget {
onTap:
disabled ? null : onTap, // Disable InkWell if the tile is disabled
borderRadius: BorderRadius.circular(12.0),
child: Center(
child: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
icon,
size: 48, // Make icon larger
color:
disabled ? theme.disabledColor : theme.colorScheme.primary,
child: Center(
child: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
icon,
size: 48, // Make icon larger
color: disabled
? theme.disabledColor
: theme.colorScheme.primary,
),
const SizedBox(height: 12),
Text(
label,
textAlign: TextAlign.center,
style: theme.textTheme.titleLarge?.copyWith(
fontWeight: FontWeight.bold,
color: disabled
? theme.disabledColor
: theme.colorScheme.onSurface,
),
const SizedBox(height: 12),
Text(
label,
textAlign: TextAlign.center,
style: theme.textTheme.titleLarge?.copyWith(
fontWeight: FontWeight.bold,
color: disabled
? theme.disabledColor
: theme.colorScheme.onSurface,
),
),
],
),
),
],
),
),
),
),
);
}
}