APK Build #1
This commit is contained in:
BIN
assets/images/profile.png
Normal file
BIN
assets/images/profile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
@@ -12,10 +12,8 @@ import 'package:kmobile/features/auth/controllers/theme_state.dart';
|
|||||||
import 'config/routes.dart';
|
import 'config/routes.dart';
|
||||||
import 'di/injection.dart';
|
import 'di/injection.dart';
|
||||||
import 'features/auth/controllers/auth_cubit.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 'features/accounts/screens/account_statement_screen.dart';
|
||||||
import 'package:kmobile/features/auth/controllers/auth_state.dart';
|
import 'package:kmobile/features/auth/controllers/auth_state.dart';
|
||||||
|
|
||||||
import 'features/auth/screens/login_screen.dart';
|
import 'features/auth/screens/login_screen.dart';
|
||||||
import 'features/service/screens/service_screen.dart';
|
import 'features/service/screens/service_screen.dart';
|
||||||
import 'features/dashboard/screens/dashboard_screen.dart';
|
import 'features/dashboard/screens/dashboard_screen.dart';
|
||||||
@@ -330,7 +328,6 @@ class _NavigationScaffoldState extends State<NavigationScaffold> {
|
|||||||
return const Center(child: CircularProgressIndicator());
|
return const Center(child: CircularProgressIndicator());
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
const CardManagementScreen(),
|
|
||||||
const ServiceScreen(),
|
const ServiceScreen(),
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -392,10 +389,6 @@ class _NavigationScaffoldState extends State<NavigationScaffold> {
|
|||||||
icon: const Icon(Icons.swap_vert_sharp),
|
icon: const Icon(Icons.swap_vert_sharp),
|
||||||
label: AppLocalizations.of(context).transactions,
|
label: AppLocalizations.of(context).transactions,
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
|
||||||
icon: const Icon(Icons.credit_card),
|
|
||||||
label: AppLocalizations.of(context).card,
|
|
||||||
),
|
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: const Icon(Icons.miscellaneous_services),
|
icon: const Icon(Icons.miscellaneous_services),
|
||||||
label: AppLocalizations.of(context).services,
|
label: AppLocalizations.of(context).services,
|
||||||
|
|||||||
@@ -158,7 +158,12 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
|
|||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontWeight: FontWeight.w500, fontSize: 17),
|
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>(
|
DropdownButton<User>(
|
||||||
value: selectedUser,
|
value: selectedUser,
|
||||||
onChanged: (User? newUser) {
|
onChanged: (User? newUser) {
|
||||||
@@ -179,7 +184,8 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
|
|||||||
),
|
),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
],
|
],
|
||||||
), ),
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Card(
|
Card(
|
||||||
margin: const EdgeInsets.only(bottom: 10),
|
margin: const EdgeInsets.only(bottom: 10),
|
||||||
|
|||||||
@@ -51,7 +51,8 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
|
|||||||
width: 1,
|
width: 1,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: Padding( padding: const EdgeInsets.all(16.0),
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.all(16.0),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@@ -82,7 +83,8 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
|
|||||||
const SizedBox(height: 4),
|
const SizedBox(height: 4),
|
||||||
Text(
|
Text(
|
||||||
user.cifNumber ?? '',
|
user.cifNumber ?? '',
|
||||||
style: theme.textTheme.bodyMedium?.copyWith(
|
style:
|
||||||
|
theme.textTheme.bodyMedium?.copyWith(
|
||||||
color: theme.colorScheme.onSurface
|
color: theme.colorScheme.onSurface
|
||||||
.withOpacity(0.7),
|
.withOpacity(0.7),
|
||||||
),
|
),
|
||||||
@@ -117,11 +119,13 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
InfoField(
|
InfoField(
|
||||||
label: AppLocalizations.of(context).activeAccounts,
|
label:
|
||||||
|
AppLocalizations.of(context).activeAccounts,
|
||||||
value: user.activeAccounts?.toString() ?? 'N/A',
|
value: user.activeAccounts?.toString() ?? 'N/A',
|
||||||
),
|
),
|
||||||
InfoField(
|
InfoField(
|
||||||
label: AppLocalizations.of(context).mobileNumber,
|
label:
|
||||||
|
AppLocalizations.of(context).mobileNumber,
|
||||||
value: user.mobileNo ?? 'N/A',
|
value: user.mobileNo ?? 'N/A',
|
||||||
),
|
),
|
||||||
InfoField(
|
InfoField(
|
||||||
@@ -167,8 +171,7 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
));
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -406,28 +406,8 @@ child: CircleAvatar(
|
|||||||
const SizedBox(height: 24),
|
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,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
), );
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ flutter:
|
|||||||
- assets/images/uco_logo.png
|
- assets/images/uco_logo.png
|
||||||
- assets/images/ipos_logo.png
|
- assets/images/ipos_logo.png
|
||||||
- assets/images/profile.svg
|
- assets/images/profile.svg
|
||||||
|
- assets/images/profile.png
|
||||||
- assets/animations/rupee.json
|
- assets/animations/rupee.json
|
||||||
- assets/animations/error.json
|
- assets/animations/error.json
|
||||||
- assets/animations/done.json
|
- assets/animations/done.json
|
||||||
|
|||||||
Reference in New Issue
Block a user