New KCCB logo

This commit is contained in:
2025-11-17 16:06:07 +05:30
parent 547f534037
commit f6e851a9ee
38 changed files with 282 additions and 193 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 90 KiB

BIN
assets/images/logo_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -95,11 +95,13 @@ class _AccountInfoScreen extends State<AccountInfoScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -340,11 +340,13 @@ class _AccountStatementScreen extends State<AccountStatementScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -89,11 +89,13 @@ class TransactionDetailsScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -40,11 +40,13 @@ class TncRequiredScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -552,11 +552,13 @@ class _AddBeneficiaryScreen extends State<AddBeneficiaryScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -143,11 +143,13 @@ class BeneficiaryDetailsScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -115,11 +115,13 @@ class _ManageBeneficiariesScreen extends State<ManageBeneficiariesScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -199,11 +199,13 @@ class _BlockCardScreen extends State<BlockCardScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -36,11 +36,13 @@ class CardDetailsScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -83,11 +83,13 @@ class _CardManagementScreen extends State<CardManagementScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -189,11 +189,13 @@ class _CardPinChangeDetailsScreen extends State<CardPinChangeDetailsScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -138,11 +138,13 @@ class _CardPinSetScreen extends State<CardPinSetScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -74,11 +74,13 @@ class _ChequeManagementScreen extends State<ChequeManagementScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -107,11 +107,13 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -150,11 +150,13 @@ class _EnquiryScreen extends State<EnquiryScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -519,11 +519,13 @@ class _FundTransferAmountScreenState extends State<FundTransferAmountScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -166,11 +166,13 @@ class _FundTransferBeneficiaryScreenState
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -98,11 +98,13 @@ class FundTransferScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -94,11 +94,13 @@ class FundTransferSelfAccountsScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -243,11 +243,13 @@ class _FundTransferSelfAmountScreenState
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -146,11 +146,13 @@ class _TransactionSuccessScreen extends State<TransactionSuccessScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -110,11 +110,13 @@ class _ChangePasswordOTPScreenState extends State<ChangePasswordOTPScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -157,11 +157,13 @@ class _ChangePasswordScreenState extends State<ChangePasswordScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -64,11 +64,13 @@ class PreferenceScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -288,11 +288,13 @@ class _ProfileScreenState extends State<ProfileScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -122,11 +122,13 @@ class SecuritySettingsScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -928,11 +928,13 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -60,11 +60,13 @@ class _QuickPayScreen extends State<QuickPayScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -481,11 +481,13 @@ class _QuickPayWithinBankScreen extends State<QuickPayWithinBankScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -38,11 +38,13 @@ class SecurityErrorScreen extends StatelessWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -95,11 +95,13 @@ class _ATMLocatorScreenState extends State<ATMLocatorScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity for background logo opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', // Background logo image child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png', // Background logo image
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),
@@ -119,9 +121,7 @@ class _ATMLocatorScreenState extends State<ATMLocatorScreen> {
title: Text(atm.name, // Display the ATM's name title: Text(atm.name, // Display the ATM's name
style: const TextStyle(fontWeight: FontWeight.bold)), style: const TextStyle(fontWeight: FontWeight.bold)),
onTap: () { onTap: () {
ScaffoldMessenger.of(context).showSnackBar( // No action on tap as per user request
SnackBar(content: Text("Selected ${atm.name}")), // Show snackbar on tap
);
}, },
), ),
); );

View File

@@ -1,5 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:kmobile/api/services/branch_service.dart'; import 'package:kmobile/api/services/branch_service.dart';
import 'package:url_launcher/url_launcher.dart';
class BranchDetailsScreen extends StatelessWidget { class BranchDetailsScreen extends StatelessWidget {
final Branch branch; final Branch branch;
@@ -24,15 +25,15 @@
_buildDetailRow("Block", branch.block), _buildDetailRow("Block", branch.block),
_buildDetailRow("District", branch.distt_name), _buildDetailRow("District", branch.distt_name),
_buildDetailRow("Pincode", branch.pincode), _buildDetailRow("Pincode", branch.pincode),
_buildDetailRow("Post Office", branch.post_office), // _buildDetailRow("Post Office", branch.post_office),
_buildDetailRow("Date of Opening", branch.date_of_opening), // _buildDetailRow("Date of Opening", branch.date_of_opening),
_buildDetailRow("Branch Type", branch.type_of_branch), // _buildDetailRow("Branch Type", branch.type_of_branch),
_buildDetailRow("Telephone No.", branch.telephone_no), _buildDetailRow("Telephone No.", branch.telephone_no),
_buildDetailRow("RTGS Account No.", branch.rtgs_acct_no), // _buildDetailRow("RTGS Account No.", branch.rtgs_acct_no),
_buildDetailRow("RBI Code 1", branch.rbi_code_1), // _buildDetailRow("RBI Code 1", branch.rbi_code_1),
_buildDetailRow("RBI Code 2", branch.rbi_code_2), // _buildDetailRow("RBI Code 2", branch.rbi_code_2),
_buildDetailRow("Latitude", branch.br_lattitude), // _buildDetailRow("Latitude", branch.br_lattitude),
_buildDetailRow("Longitude", branch.br_longitude), // _buildDetailRow("Longitude", branch.br_longitude),
], ],
), ),
), ),
@@ -53,16 +54,36 @@
), ),
), ),
const SizedBox(height: 4), const SizedBox(height: 4),
Text( label == "Telephone No."
value, ? InkWell(
style: const TextStyle( onTap: () => _launchUrl('tel:$value'),
fontSize: 16, child: Text(
fontWeight: FontWeight.w500, value,
), style: const TextStyle(
), fontSize: 16,
fontWeight: FontWeight.w500,
color: Colors.blue, // Indicate it's clickable
decoration: TextDecoration.underline,
),
),
)
: Text(
value,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w500,
),
),
const Divider(height: 16), const Divider(height: 16),
], ],
), ),
); );
} }
Future<void> _launchUrl(String urlString) async {
final Uri url = Uri.parse(urlString);
if (!await launchUrl(url)) {
throw 'Could not launch $urlString';
}
}
} }

View File

@@ -97,11 +97,13 @@ class BranchLocatorScreen extends StatefulWidget {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),

View File

@@ -58,11 +58,13 @@ class _FaqsScreenState extends State<FaqsScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, opacity: 0.07,
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, 'assets/images/logo.png',
height: 200, width: 200,
height: 200,
),
), ),
), ),
), ),

View File

@@ -78,11 +78,13 @@
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, opacity: 0.07,
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, 'assets/images/logo.png',
height: 200, width: 200,
height: 200,
),
), ),
), ),
), ),

View File

@@ -83,11 +83,13 @@ class _ServiceScreen extends State<ServiceScreen> {
IgnorePointer( IgnorePointer(
child: Center( child: Center(
child: Opacity( child: Opacity(
opacity: 0.1, // Low opacity opacity: 0.07, // Reduced opacity
child: Image.asset( child: ClipOval(
'assets/images/logo.png', child: Image.asset(
width: 200, // Adjust size as needed 'assets/images/logo.png',
height: 200, // Adjust size as needed width: 200, // Adjust size as needed
height: 200, // Adjust size as needed
),
), ),
), ),
), ),