This commit is contained in:
2025-12-01 12:58:17 +05:30
parent 8aa5b170ca
commit 8c7e94759a
9 changed files with 387 additions and 404 deletions

BIN
assets/images/profile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -12,10 +12,8 @@ import 'package:kmobile/features/auth/controllers/theme_state.dart';
import 'config/routes.dart';
import 'di/injection.dart';
import 'features/auth/controllers/auth_cubit.dart';
import 'features/card/screens/card_management_screen.dart';
import 'features/accounts/screens/account_statement_screen.dart';
import 'package:kmobile/features/auth/controllers/auth_state.dart';
import 'features/auth/screens/login_screen.dart';
import 'features/service/screens/service_screen.dart';
import 'features/dashboard/screens/dashboard_screen.dart';
@@ -330,7 +328,6 @@ class _NavigationScaffoldState extends State<NavigationScaffold> {
return const Center(child: CircularProgressIndicator());
},
),
const CardManagementScreen(),
const ServiceScreen(),
];
@@ -392,10 +389,6 @@ class _NavigationScaffoldState extends State<NavigationScaffold> {
icon: const Icon(Icons.swap_vert_sharp),
label: AppLocalizations.of(context).transactions,
),
BottomNavigationBarItem(
icon: const Icon(Icons.credit_card),
label: AppLocalizations.of(context).card,
),
BottomNavigationBarItem(
icon: const Icon(Icons.miscellaneous_services),
label: AppLocalizations.of(context).services,

View File

@@ -158,7 +158,12 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
style: const TextStyle(
fontWeight: FontWeight.w500, fontSize: 17),
),
const VerticalDivider(width: 20, thickness: 1, indent: 5, endIndent: 5, color: Colors.grey),
const VerticalDivider(
width: 20,
thickness: 1,
indent: 5,
endIndent: 5,
color: Colors.grey),
DropdownButton<User>(
value: selectedUser,
onChanged: (User? newUser) {
@@ -179,7 +184,8 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
),
Spacer(),
],
), ),
),
),
),
Card(
margin: const EdgeInsets.only(bottom: 10),

View File

@@ -51,7 +51,8 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
width: 1,
),
),
child: Padding( padding: const EdgeInsets.all(16.0),
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Row(
children: [
SizedBox(
@@ -82,7 +83,8 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
const SizedBox(height: 4),
Text(
user.cifNumber ?? '',
style: theme.textTheme.bodyMedium?.copyWith(
style:
theme.textTheme.bodyMedium?.copyWith(
color: theme.colorScheme.onSurface
.withOpacity(0.7),
),
@@ -117,11 +119,13 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
),
const SizedBox(height: 16),
InfoField(
label: AppLocalizations.of(context).activeAccounts,
label:
AppLocalizations.of(context).activeAccounts,
value: user.activeAccounts?.toString() ?? 'N/A',
),
InfoField(
label: AppLocalizations.of(context).mobileNumber,
label:
AppLocalizations.of(context).mobileNumber,
value: user.mobileNo ?? 'N/A',
),
InfoField(
@@ -167,8 +171,7 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
),
],
),
)
);
));
}
}

View File

@@ -189,7 +189,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
Container(
width: 56,
height: 56,
child: CircleAvatar(
child: CircleAvatar(
radius: 50,
child: SvgPicture.asset(
'assets/images/avatar_male.svg',
@@ -406,28 +406,8 @@ child: CircleAvatar(
const SizedBox(height: 24),
],
),
// ===== Watermark (kept subtle, no theme change) =====
IgnorePointer(
child: Positioned.fill(
child: Center(
child: Opacity(
opacity: 0.06,
child: ClipOval(
child: Image.asset(
'assets/images/logo.png',
width: 200,
height: 200,
filterQuality: FilterQuality.medium,
),
),
),
),
),
),
],
),
);
), );
}
}

View File

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

View File

@@ -115,6 +115,7 @@ flutter:
- assets/images/uco_logo.png
- assets/images/ipos_logo.png
- assets/images/profile.svg
- assets/images/profile.png
- assets/animations/rupee.json
- assets/animations/error.json
- assets/animations/done.json