Compare commits
9 Commits
b5acae85d5
...
live-1
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d19bf6146 | |||
| d36cad31c1 | |||
| 39e7a02ca5 | |||
| 0c7470d74b | |||
| 32463680e8 | |||
| 00cb98ae83 | |||
| 18844495c2 | |||
| 3f7869677c | |||
| 0e4072fe8f |
@@ -65,9 +65,9 @@ Dio _createDioClient() {
|
|||||||
final dio = Dio(
|
final dio = Dio(
|
||||||
BaseOptions(
|
BaseOptions(
|
||||||
baseUrl:
|
baseUrl:
|
||||||
//'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080', //test
|
'http://lb-test-mobile-banking-app-192209417.ap-south-1.elb.amazonaws.com:8080', //test
|
||||||
//'http://lb-kccb-mobile-banking-app-848675342.ap-south-1.elb.amazonaws.com', //prod
|
//'http://lb-kccb-mobile-banking-app-848675342.ap-south-1.elb.amazonaws.com', //prod
|
||||||
'https://kccbmbnk.net',
|
//'https://kccbmbnk.net',
|
||||||
connectTimeout: const Duration(seconds: 60),
|
connectTimeout: const Duration(seconds: 60),
|
||||||
receiveTimeout: const Duration(seconds: 60),
|
receiveTimeout: const Duration(seconds: 60),
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ class BeneficiaryDetailsScreen extends StatelessWidget {
|
|||||||
TextButton(
|
TextButton(
|
||||||
child: const Text('Delete'),
|
child: const Text('Delete'),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
//Navigator.of(context).pop();
|
|
||||||
_deleteBeneficiary(context);
|
_deleteBeneficiary(context);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -13,6 +13,15 @@ class CustomerInfoScreen extends StatefulWidget {
|
|||||||
|
|
||||||
class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
|
class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
|
||||||
late final User user = widget.user;
|
late final User user = widget.user;
|
||||||
|
|
||||||
|
String _maskPrimaryId(String? primaryId) {
|
||||||
|
if (primaryId == null || primaryId.length <= 4) {
|
||||||
|
return primaryId ?? 'N/A';
|
||||||
|
}
|
||||||
|
final lastFour = primaryId.substring(primaryId.length - 4);
|
||||||
|
return '*' * (primaryId.length - 4) + lastFour;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final theme = Theme.of(context);
|
final theme = Theme.of(context);
|
||||||
@@ -83,10 +92,10 @@ class _CustomerInfoScreenState extends State<CustomerInfoScreen> {
|
|||||||
label: AppLocalizations.of(context).branchAddress,
|
label: AppLocalizations.of(context).branchAddress,
|
||||||
value: user.address ?? 'N/A',
|
value: user.address ?? 'N/A',
|
||||||
), // Replace with Aadhar if available
|
), // Replace with Aadhar if available
|
||||||
InfoField(
|
InfoField(
|
||||||
label: AppLocalizations.of(context).primaryId,
|
label: AppLocalizations.of(context).primaryId,
|
||||||
value: user.primaryId ?? 'N/A',
|
value: _maskPrimaryId(user.primaryId),
|
||||||
), // Replace with PAN if available
|
), // Replace with PAN if available
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -30,6 +30,16 @@ class _EnquiryScreen extends State<EnquiryScreen> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Future<void> _launchUrl(String url) async {
|
||||||
|
final Uri uri = Uri.parse(url);
|
||||||
|
if (await canLaunchUrl(uri)) {
|
||||||
|
await launchUrl(uri);
|
||||||
|
} else {
|
||||||
|
// Consider adding a 'urlLaunchError' key to your AppLocalizations
|
||||||
|
debugPrint('Could not launch $url');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Widget _buildContactItem(String role, String email, String phone) {
|
Widget _buildContactItem(String role, String email, String phone) {
|
||||||
return Column(
|
return Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
@@ -65,18 +75,30 @@ class _EnquiryScreen extends State<EnquiryScreen> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
// … existing Mail us / Call us / Write to us …
|
const SizedBox(height: 20),
|
||||||
const SizedBox(height: 20),
|
GestureDetector(
|
||||||
Text(
|
onTap: () => _launchUrl("https://kccb.in/complaint-form"),
|
||||||
AppLocalizations.of(context).writeToUs,
|
child: Row(
|
||||||
),
|
mainAxisSize: MainAxisSize.min,
|
||||||
const SizedBox(height: 4),
|
children: [
|
||||||
Text(
|
Text("Complaint Form",
|
||||||
"complaint@kccb.in",
|
style: TextStyle(
|
||||||
style: TextStyle(color: Theme.of(context).colorScheme.primary),
|
fontSize: 17,
|
||||||
),
|
color: Theme.of(context).colorScheme.primary,
|
||||||
|
decorationColor: Theme.of(context).colorScheme.primary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 4),
|
||||||
|
Icon(
|
||||||
|
Icons.open_in_new,
|
||||||
|
color: Theme.of(context).colorScheme.primary,
|
||||||
|
size: 16.0,
|
||||||
|
),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
),
|
||||||
|
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 40),
|
||||||
Text(
|
Text(
|
||||||
AppLocalizations.of(context).keyContacts,
|
AppLocalizations.of(context).keyContacts,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|||||||
@@ -39,9 +39,8 @@ class _FundTransferBeneficiaryScreenState
|
|||||||
setState(() {
|
setState(() {
|
||||||
_beneficiaries = data
|
_beneficiaries = data
|
||||||
.where((b) => widget.isOwnBank
|
.where((b) => widget.isOwnBank
|
||||||
? b.bankName ==
|
? b.bankName!.toLowerCase().contains('kangra central')
|
||||||
'THE KANGRA CENTRAL COOPERATIVE BANK LIMITED'
|
: !b.bankName!.toLowerCase().contains('kangra central'))
|
||||||
: b.bankName != 'THE KANGRA CENTRAL COOPERATIVE BANK LIMITED')
|
|
||||||
.toList();
|
.toList();
|
||||||
_isLoading = false;
|
_isLoading = false;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -22,6 +22,12 @@ class PreferenceScreen extends StatelessWidget {
|
|||||||
builder: (context, state) {
|
builder: (context, state) {
|
||||||
return ListView(
|
return ListView(
|
||||||
children: [
|
children: [
|
||||||
|
//Set Prefered Username
|
||||||
|
// ListTile(
|
||||||
|
// leading: const Icon(Icons.person),
|
||||||
|
// title: const Text("Set Prefered Username"),
|
||||||
|
// onTap: () {
|
||||||
|
// }),
|
||||||
// Language Selection
|
// Language Selection
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Icons.language),
|
leading: const Icon(Icons.language),
|
||||||
|
|||||||
@@ -58,7 +58,19 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
ListTile(
|
// ListTile(
|
||||||
|
// leading: const Icon(Icons.password),
|
||||||
|
// title: const Text("Manage TPIN"),
|
||||||
|
// onTap: () async {
|
||||||
|
// },
|
||||||
|
// ),
|
||||||
|
// ListTile(
|
||||||
|
// leading: const Icon(Icons.password),
|
||||||
|
// title: const Text("Change Login MPIN"),
|
||||||
|
// onTap: () async {
|
||||||
|
// },
|
||||||
|
// ),
|
||||||
|
ListTile(
|
||||||
leading: const Icon(Icons.logout),
|
leading: const Icon(Icons.logout),
|
||||||
title: Text(AppLocalizations.of(context).logout),
|
title: Text(AppLocalizations.of(context).logout),
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
@@ -72,7 +84,6 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
// You can add more profile options here later
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,17 +1,22 @@
|
|||||||
import '../../../l10n/app_localizations.dart';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import '../../../l10n/app_localizations.dart';
|
||||||
|
|
||||||
class Branch {
|
// Enum to define the type of location
|
||||||
|
enum LocationType { branch, atm }
|
||||||
|
|
||||||
|
class Location {
|
||||||
final String name;
|
final String name;
|
||||||
final String code;
|
final String? code; // Nullable for ATMs
|
||||||
final String ifsc;
|
final String? ifsc; // Nullable for ATMs
|
||||||
final String address;
|
final String address;
|
||||||
|
final LocationType type;
|
||||||
|
|
||||||
Branch({
|
Location({
|
||||||
required this.name,
|
required this.name,
|
||||||
required this.code,
|
this.code,
|
||||||
required this.ifsc,
|
this.ifsc,
|
||||||
required this.address,
|
required this.address,
|
||||||
|
required this.type,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,103 +27,160 @@ class BranchLocatorScreen extends StatefulWidget {
|
|||||||
State<BranchLocatorScreen> createState() => _BranchLocatorScreenState();
|
State<BranchLocatorScreen> createState() => _BranchLocatorScreenState();
|
||||||
}
|
}
|
||||||
|
|
||||||
class _BranchLocatorScreenState extends State<BranchLocatorScreen> {
|
class _BranchLocatorScreenState extends State<BranchLocatorScreen> {
|
||||||
final TextEditingController _searchController = TextEditingController();
|
final TextEditingController _searchController = TextEditingController();
|
||||||
|
|
||||||
// Static list of 2 branches
|
final List<Location> _allLocations = [
|
||||||
final List<Branch> _branches = [
|
Location(
|
||||||
Branch(
|
name: "Dharamsala - Head Office",
|
||||||
name: "Dharamsala - Head Office",
|
code: "002",
|
||||||
code: "002",
|
ifsc: "KACE0000002",
|
||||||
ifsc: "KACE0000002",
|
address: "Civil Lines Dharmashala, Kangra, HP - 176215",
|
||||||
address: "Civil Lines Dharmashala, Kangra, HP - 176215"),
|
type: LocationType.branch,
|
||||||
Branch(
|
),
|
||||||
name: "Kangra",
|
Location(
|
||||||
code: "033",
|
name: "Kangra",
|
||||||
ifsc: "KACE0000033",
|
code: "033",
|
||||||
address: "Rajput Bhawankangrapo, Kangra, HP "),
|
ifsc: "KACE0000033",
|
||||||
];
|
address: "Rajput Bhawankangrapo, Kangra, HP ",
|
||||||
|
type: LocationType.branch,
|
||||||
|
),
|
||||||
|
Location(
|
||||||
|
name: "Dharamsala ATM",
|
||||||
|
address: "Near Main Square, Dharamsala",
|
||||||
|
type: LocationType.atm,
|
||||||
|
),
|
||||||
|
Location(
|
||||||
|
name: "Kangra ATM",
|
||||||
|
address: "Opposite Bus Stand, Kangra",
|
||||||
|
type: LocationType.atm,
|
||||||
|
),
|
||||||
|
];
|
||||||
|
|
||||||
List<Branch> _filteredBranches = [];
|
List<Location> _filteredLocations = [];
|
||||||
|
bool _isLoading = false;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
_filteredBranches = _branches; // Initially show all branches
|
// _fetchAndSetLocations();
|
||||||
}
|
_filteredLocations = _allLocations;
|
||||||
|
}
|
||||||
|
|
||||||
void _filterBranches(String query) {
|
// Example of a future API fetching function
|
||||||
|
/*
|
||||||
|
Future<void> _fetchAndSetLocations() async {
|
||||||
|
setState(() {
|
||||||
|
_isLoading = true;
|
||||||
|
});
|
||||||
|
try {
|
||||||
|
// final locations = await yourApiService.getLocations();
|
||||||
|
// setState(() {
|
||||||
|
// _allLocations = locations;
|
||||||
|
// _filteredLocations = locations;
|
||||||
|
// });
|
||||||
|
} catch (e) {
|
||||||
|
// Handle error
|
||||||
|
} finally {
|
||||||
setState(() {
|
setState(() {
|
||||||
if (query.isEmpty) {
|
_isLoading = false;
|
||||||
_filteredBranches = _branches;
|
|
||||||
} else {
|
|
||||||
_filteredBranches = _branches.where((branch) {
|
|
||||||
final lowerQuery = query.toLowerCase();
|
|
||||||
return branch.name.toLowerCase().contains(lowerQuery) ||
|
|
||||||
branch.code.toLowerCase().contains(lowerQuery) ||
|
|
||||||
branch.ifsc.toLowerCase().contains(lowerQuery) ||
|
|
||||||
branch.address.toLowerCase().contains(lowerQuery);
|
|
||||||
}).toList();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@override
|
*/
|
||||||
Widget build(BuildContext context) {
|
void _filterLocations(String query) {
|
||||||
return Scaffold(
|
setState(() {
|
||||||
appBar: AppBar(
|
if (query.isEmpty) {
|
||||||
title: Text(AppLocalizations.of(context).branchLocator),
|
_filteredLocations = _allLocations;
|
||||||
),
|
} else {
|
||||||
body: Column(
|
_filteredLocations = _allLocations.where((location) {
|
||||||
children: [
|
final lowerQuery = query.toLowerCase();
|
||||||
// Search bar
|
return location.name.toLowerCase().contains(lowerQuery) ||
|
||||||
Padding(
|
(location.code?.toLowerCase().contains(lowerQuery) ?? false) ||
|
||||||
padding: const EdgeInsets.all(12.0),
|
(location.ifsc?.toLowerCase().contains(lowerQuery) ?? false) ||
|
||||||
child: TextField(
|
location.address.toLowerCase().contains(lowerQuery);
|
||||||
controller: _searchController,
|
}).toList();
|
||||||
onChanged: _filterBranches,
|
}
|
||||||
decoration: InputDecoration(
|
});
|
||||||
hintText: AppLocalizations.of(context).searchbranchby,
|
}
|
||||||
prefixIcon: const Icon(Icons.search),
|
|
||||||
border: OutlineInputBorder(
|
@override
|
||||||
borderRadius: BorderRadius.circular(12),
|
Widget build(BuildContext context) {
|
||||||
),
|
return Scaffold(
|
||||||
),
|
appBar: AppBar(
|
||||||
),
|
title: Text(AppLocalizations.of(context).branchLocator),
|
||||||
),
|
),
|
||||||
|
body: Column(
|
||||||
// List of branches
|
children: [
|
||||||
Expanded(
|
Padding(
|
||||||
child: _filteredBranches.isEmpty
|
padding: const EdgeInsets.all(12.0),
|
||||||
? const Center(child: Text("No matching branches found"))
|
child: TextField(
|
||||||
: ListView.builder(
|
controller: _searchController,
|
||||||
itemCount: _filteredBranches.length,
|
onChanged: _filterLocations,
|
||||||
itemBuilder: (context, index) {
|
decoration: InputDecoration(
|
||||||
final branch = _filteredBranches[index];
|
hintText: AppLocalizations.of(context).searchbranchby,
|
||||||
return Card(
|
prefixIcon: const Icon(Icons.search),
|
||||||
margin: const EdgeInsets.symmetric(
|
border: OutlineInputBorder(
|
||||||
horizontal: 12, vertical: 6),
|
borderRadius: BorderRadius.circular(12),
|
||||||
child: ListTile(
|
),
|
||||||
leading: Icon(Icons.location_city,
|
),
|
||||||
color: Theme.of(context).colorScheme.primary),
|
),
|
||||||
title: Text(branch.name,
|
),
|
||||||
style:
|
|
||||||
const TextStyle(fontWeight: FontWeight.bold)),
|
// Content area
|
||||||
subtitle: Text(
|
Expanded(
|
||||||
"Code: ${branch.code} | IFSC: ${branch.ifsc} \nBranch Address: ${branch.address}"),
|
child: _isLoading
|
||||||
onTap: () {
|
? const Center(child: CircularProgressIndicator())
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
: _filteredLocations.isEmpty
|
||||||
SnackBar(
|
? const Center(child: Text("No matching locations found"))
|
||||||
content: Text("Selected ${branch.name}")),
|
: ListView.builder(
|
||||||
);
|
itemCount: _filteredLocations.length,
|
||||||
},
|
itemBuilder: (context, index) {
|
||||||
),
|
final location = _filteredLocations[index];
|
||||||
);
|
return _buildLocationItem(location);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Widget _buildHeader(String title) {
|
||||||
|
return Padding(
|
||||||
|
padding: const EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
|
||||||
|
child: Text(
|
||||||
|
title,
|
||||||
|
style: Theme.of(context).textTheme.titleLarge?.copyWith(
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
color: Theme.of(context).colorScheme.primary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper widget to build a single location item
|
||||||
|
Widget _buildLocationItem(Location location) {
|
||||||
|
final isBranch = location.type == LocationType.branch;
|
||||||
|
return Card(
|
||||||
|
margin: const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
|
||||||
|
child: ListTile(
|
||||||
|
leading: CircleAvatar(
|
||||||
|
child: Icon(isBranch ? Icons.location_city : Icons.currency_rupee),
|
||||||
|
),
|
||||||
|
title: Text(location.name,
|
||||||
|
style: const TextStyle(fontWeight: FontWeight.bold)),
|
||||||
|
subtitle: Text(
|
||||||
|
isBranch
|
||||||
|
? "Code: ${location.code} | IFSC: ${location.ifsc}\nAddress: ${location.address}"
|
||||||
|
: "Address: ${location.address}",
|
||||||
|
),
|
||||||
|
onTap: () {
|
||||||
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
|
SnackBar(content: Text("Selected ${location.name}")),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
161
lib/features/service/screens/daily_transaction_limit.dart
Normal file
161
lib/features/service/screens/daily_transaction_limit.dart
Normal file
@@ -0,0 +1,161 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/services.dart';
|
||||||
|
import 'package:kmobile/l10n/app_localizations.dart';
|
||||||
|
import 'package:intl/intl.dart';
|
||||||
|
|
||||||
|
class DailyLimitScreen extends StatefulWidget {
|
||||||
|
const DailyLimitScreen({super.key});
|
||||||
|
@override
|
||||||
|
State<DailyLimitScreen> createState() => _DailyLimitScreenState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _DailyLimitScreenState extends State<DailyLimitScreen> {
|
||||||
|
double? _currentLimit;
|
||||||
|
final _limitController = TextEditingController();
|
||||||
|
|
||||||
|
@override
|
||||||
|
void initState() {
|
||||||
|
super.initState();
|
||||||
|
// Now just taking null, but for real time limit will be fetched using API call
|
||||||
|
_currentLimit = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
void dispose() {
|
||||||
|
_limitController.dispose();
|
||||||
|
super.dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> _showAddOrEditLimitDialog() async {
|
||||||
|
_limitController.text = _currentLimit?.toStringAsFixed(0) ?? '';
|
||||||
|
final newLimit = await showDialog<double>(
|
||||||
|
context: context,
|
||||||
|
builder: (context) {
|
||||||
|
final localizations = AppLocalizations.of(context);
|
||||||
|
return AlertDialog(
|
||||||
|
title: Text(
|
||||||
|
_currentLimit == null
|
||||||
|
? localizations.addLimit
|
||||||
|
: localizations.editLimit,
|
||||||
|
),
|
||||||
|
content: TextField(
|
||||||
|
controller: _limitController,
|
||||||
|
autofocus: true,
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
inputFormatters: [
|
||||||
|
FilteringTextInputFormatter.allow(RegExp(r'^\d+')),
|
||||||
|
],
|
||||||
|
decoration: InputDecoration(
|
||||||
|
labelText: localizations.limitAmount,
|
||||||
|
prefixText: '₹',
|
||||||
|
border: const OutlineInputBorder(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
actions: [
|
||||||
|
TextButton(
|
||||||
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
|
child: Text(localizations.cancel),
|
||||||
|
),
|
||||||
|
ElevatedButton(
|
||||||
|
onPressed: () {
|
||||||
|
final value = double.tryParse(_limitController.text);
|
||||||
|
if (value != null && value > 0) {
|
||||||
|
Navigator.of(context).pop(value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
child: Text(localizations.save),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
},
|
||||||
|
);
|
||||||
|
if (newLimit != null) {
|
||||||
|
setState(() {
|
||||||
|
_currentLimit = newLimit;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void _removeLimit() {
|
||||||
|
setState(() {
|
||||||
|
_currentLimit = null;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
final localizations = AppLocalizations.of(context);
|
||||||
|
final theme = Theme.of(context);
|
||||||
|
final formatCurrency = NumberFormat.currency(locale: 'en_IN', symbol: '₹');
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text(localizations.dailylimit),
|
||||||
|
),
|
||||||
|
body: Center(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.all(16.0),
|
||||||
|
child: Column(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
localizations.currentDailyLimit,
|
||||||
|
style: theme.textTheme.headlineSmall?.copyWith(
|
||||||
|
color: theme.colorScheme.onSurface.withOpacity(0.7),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 16),
|
||||||
|
Text(
|
||||||
|
_currentLimit == null
|
||||||
|
? localizations.noLimitSet
|
||||||
|
: formatCurrency.format(_currentLimit),
|
||||||
|
style: theme.textTheme.headlineMedium?.copyWith(
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
color: _currentLimit == null
|
||||||
|
? theme.colorScheme.secondary
|
||||||
|
: theme.colorScheme.primary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 48),
|
||||||
|
if (_currentLimit == null)
|
||||||
|
ElevatedButton.icon(
|
||||||
|
onPressed: _showAddOrEditLimitDialog,
|
||||||
|
icon: const Icon(Icons.add_circle_outline),
|
||||||
|
label: Text(localizations.addLimit),
|
||||||
|
style: ElevatedButton.styleFrom(
|
||||||
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 24, vertical: 12),
|
||||||
|
textStyle: theme.textTheme.titleMedium,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
else
|
||||||
|
Column(
|
||||||
|
children: [
|
||||||
|
ElevatedButton.icon(
|
||||||
|
onPressed: _showAddOrEditLimitDialog,
|
||||||
|
icon: const Icon(Icons.edit_outlined),
|
||||||
|
label: Text(localizations.editLimit),
|
||||||
|
style: ElevatedButton.styleFrom(
|
||||||
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 24, vertical: 12),
|
||||||
|
textStyle: theme.textTheme.titleMedium,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 16),
|
||||||
|
TextButton.icon(
|
||||||
|
onPressed: _removeLimit,
|
||||||
|
icon: const Icon(Icons.remove_circle_outline),
|
||||||
|
label: Text(localizations.removeLimit),
|
||||||
|
style: TextButton.styleFrom(
|
||||||
|
foregroundColor: theme.colorScheme.error,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
47
lib/features/service/screens/faqs_screen.dart
Normal file
47
lib/features/service/screens/faqs_screen.dart
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:kmobile/l10n/app_localizations.dart';
|
||||||
|
|
||||||
|
class FaqsScreen extends StatefulWidget {
|
||||||
|
const FaqsScreen({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<FaqsScreen> createState() => _FaqsScreenState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _FaqsScreenState extends State<FaqsScreen> {
|
||||||
|
@override
|
||||||
|
void initState() {
|
||||||
|
super.initState();
|
||||||
|
_getFaqs();
|
||||||
|
}
|
||||||
|
|
||||||
|
// A placeholder for your future API call
|
||||||
|
Future<void> _getFaqs() async {
|
||||||
|
// TODO: Implement API call to fetch FAQs data
|
||||||
|
// For now, simulating a network call with a delay
|
||||||
|
await Future.delayed(const Duration(seconds: 1));
|
||||||
|
// In a real implementation, you would process the API response here
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Row(
|
||||||
|
children: [
|
||||||
|
Flexible(
|
||||||
|
child: Text(
|
||||||
|
AppLocalizations.of(context).faq,
|
||||||
|
softWrap: true,
|
||||||
|
style: const TextStyle(
|
||||||
|
fontSize: 16.5,
|
||||||
|
),
|
||||||
|
textAlign: TextAlign.left,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
34
lib/features/service/screens/quick_links_screen.dart
Normal file
34
lib/features/service/screens/quick_links_screen.dart
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:kmobile/l10n/app_localizations.dart';
|
||||||
|
|
||||||
|
class QuickLinksScreen extends StatefulWidget {
|
||||||
|
const QuickLinksScreen({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<QuickLinksScreen> createState() => _QuickLinksScreenState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _QuickLinksScreenState extends State<QuickLinksScreen> {
|
||||||
|
@override
|
||||||
|
void initState() {
|
||||||
|
super.initState();
|
||||||
|
_getQuickLinks();
|
||||||
|
}
|
||||||
|
|
||||||
|
// A placeholder for your future API call
|
||||||
|
Future<void> _getQuickLinks() async {
|
||||||
|
// TODO: Implement API call to fetch quick links data
|
||||||
|
// For now, simulating a network call with a delay
|
||||||
|
await Future.delayed(const Duration(seconds: 1));
|
||||||
|
// In a real implementation, you would process the API response here
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text(AppLocalizations.of(context).quickLinks),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
import 'package:kmobile/features/service/screens/branch_locator_screen.dart';
|
import 'package:kmobile/features/service/screens/branch_locator_screen.dart';
|
||||||
|
import 'package:kmobile/features/service/screens/daily_transaction_limit.dart';
|
||||||
import '../../../l10n/app_localizations.dart';
|
import '../../../l10n/app_localizations.dart';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
import 'package:kmobile/features/service/screens/quick_links_screen.dart';
|
||||||
|
import 'package:kmobile/features/service/screens/faqs_screen.dart';
|
||||||
class ServiceScreen extends StatefulWidget {
|
class ServiceScreen extends StatefulWidget {
|
||||||
const ServiceScreen({super.key});
|
const ServiceScreen({super.key});
|
||||||
|
|
||||||
@@ -29,25 +29,51 @@ Widget build(BuildContext context) {
|
|||||||
icon: Symbols.add,
|
icon: Symbols.add,
|
||||||
label: AppLocalizations.of(context).accountOpeningDeposit,
|
label: AppLocalizations.of(context).accountOpeningDeposit,
|
||||||
onTap: () {},
|
onTap: () {},
|
||||||
disabled: true, // Add this
|
disabled: true,
|
||||||
),
|
),
|
||||||
const Divider(height: 1),
|
const Divider(height: 1),
|
||||||
ServiceManagementTile(
|
ServiceManagementTile(
|
||||||
icon: Symbols.add,
|
icon: Symbols.add,
|
||||||
label: AppLocalizations.of(context).accountOpeningLoan,
|
label: AppLocalizations.of(context).accountOpeningLoan,
|
||||||
onTap: () {},
|
onTap: () {},
|
||||||
disabled: true, // Add this
|
disabled: true,
|
||||||
|
),
|
||||||
|
const Divider(height: 1),
|
||||||
|
ServiceManagementTile(
|
||||||
|
icon: Symbols.currency_rupee,
|
||||||
|
label: AppLocalizations.of(context).dailylimit,
|
||||||
|
onTap: () {
|
||||||
|
Navigator.of(context).push(
|
||||||
|
MaterialPageRoute(builder: (context) => const DailyLimitScreen()),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
disabled: true,
|
||||||
),
|
),
|
||||||
const Divider(height: 1),
|
const Divider(height: 1),
|
||||||
ServiceManagementTile(
|
ServiceManagementTile(
|
||||||
icon: Symbols.captive_portal,
|
icon: Symbols.captive_portal,
|
||||||
label: AppLocalizations.of(context).quickLinks,
|
label: AppLocalizations.of(context).quickLinks,
|
||||||
onTap: () {},
|
onTap: () {
|
||||||
disabled: true, // Add this
|
Navigator.of(context).push(
|
||||||
|
MaterialPageRoute(builder: (context) => const QuickLinksScreen()),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
disabled: true,
|
||||||
),
|
),
|
||||||
const Divider(height: 1),
|
const Divider(height: 1),
|
||||||
ServiceManagementTile(
|
ServiceManagementTile(
|
||||||
icon: Symbols.missing_controller,
|
icon: Symbols.question_mark,
|
||||||
|
label: AppLocalizations.of(context).faq,
|
||||||
|
onTap: () {
|
||||||
|
Navigator.of(context).push(
|
||||||
|
MaterialPageRoute(builder: (context) => const FaqsScreen()),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
disabled: true,
|
||||||
|
),
|
||||||
|
const Divider(height: 1),
|
||||||
|
ServiceManagementTile(
|
||||||
|
icon: Symbols.location_pin,
|
||||||
label: AppLocalizations.of(context).branchLocator,
|
label: AppLocalizations.of(context).branchLocator,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.push(
|
Navigator.push(
|
||||||
@@ -55,7 +81,7 @@ Widget build(BuildContext context) {
|
|||||||
MaterialPageRoute(
|
MaterialPageRoute(
|
||||||
builder: (context) => const BranchLocatorScreen()));
|
builder: (context) => const BranchLocatorScreen()));
|
||||||
},
|
},
|
||||||
disabled: true, // Add this
|
disabled: true,
|
||||||
),
|
),
|
||||||
const Divider(height: 1),
|
const Divider(height: 1),
|
||||||
],
|
],
|
||||||
@@ -68,14 +94,14 @@ class ServiceManagementTile extends StatelessWidget {
|
|||||||
final IconData icon;
|
final IconData icon;
|
||||||
final String label;
|
final String label;
|
||||||
final VoidCallback onTap;
|
final VoidCallback onTap;
|
||||||
final bool disabled; // Add this line
|
final bool disabled;
|
||||||
|
|
||||||
const ServiceManagementTile({
|
const ServiceManagementTile({
|
||||||
super.key,
|
super.key,
|
||||||
required this.icon,
|
required this.icon,
|
||||||
required this.label,
|
required this.label,
|
||||||
required this.onTap,
|
required this.onTap,
|
||||||
this.disabled = false, // Add this line
|
this.disabled = false,
|
||||||
});
|
});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@@ -84,20 +110,20 @@ class ServiceManagementTile extends StatelessWidget {
|
|||||||
return ListTile(
|
return ListTile(
|
||||||
leading: Icon(
|
leading: Icon(
|
||||||
icon,
|
icon,
|
||||||
color: disabled ? theme.disabledColor : null, // Change color when disabled
|
color: disabled ? theme.disabledColor : null,
|
||||||
),
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
label,
|
label,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: disabled ? theme.disabledColor : null, // Change color when disabled
|
color: disabled ? theme.disabledColor : null,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
trailing: Icon(
|
trailing: Icon(
|
||||||
Symbols.arrow_right,
|
Symbols.arrow_right,
|
||||||
size: 20,
|
size: 20,
|
||||||
color: disabled ? theme.disabledColor : null, // Change color when disabled
|
color: disabled ? theme.disabledColor : null,
|
||||||
),
|
),
|
||||||
onTap: disabled ? null : onTap, // Disable onTap when disabled
|
onTap: disabled ? null : onTap,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
"accountOpeningDeposit": "Account Opening Request - Deposit",
|
"accountOpeningDeposit": "Account Opening Request - Deposit",
|
||||||
"accountOpeningLoan": "Account Opening Request - Loan",
|
"accountOpeningLoan": "Account Opening Request - Loan",
|
||||||
"quickLinks": "Quick Links",
|
"quickLinks": "Quick Links",
|
||||||
"branchLocator": "Branch Locator",
|
"branchLocator": "Branch and ATM Locator",
|
||||||
"emailLaunchError": "Could not launch email client for",
|
"emailLaunchError": "Could not launch email client for",
|
||||||
"dialerLaunchError": "Could not launch dialer for",
|
"dialerLaunchError": "Could not launch dialer for",
|
||||||
"writeToUs": "Write to us",
|
"writeToUs": "Write to us",
|
||||||
@@ -248,7 +248,7 @@
|
|||||||
"validateBeneficiaryproceeding": "Please validate beneficiary before proceeding",
|
"validateBeneficiaryproceeding": "Please validate beneficiary before proceeding",
|
||||||
"findnearbybranched": "Find nearby branches",
|
"findnearbybranched": "Find nearby branches",
|
||||||
"searchbranch": "Search Branch",
|
"searchbranch": "Search Branch",
|
||||||
"searchbranchby": "Search by Branch Name / Code / IFSC",
|
"searchbranchby": "Name / Code / IFSC / Address",
|
||||||
"branchsearchsoon": "Branch search coming soon...",
|
"branchsearchsoon": "Branch search coming soon...",
|
||||||
"loginFailed": "Login failed",
|
"loginFailed": "Login failed",
|
||||||
"invalidCredentials": "Invalid credentials",
|
"invalidCredentials": "Invalid credentials",
|
||||||
@@ -315,5 +315,16 @@
|
|||||||
"themeModeDark": "Dark",
|
"themeModeDark": "Dark",
|
||||||
"details": "Details",
|
"details": "Details",
|
||||||
"remarks": "Remarks (Optional)",
|
"remarks": "Remarks (Optional)",
|
||||||
"kccbMobile": "KCCB Mobile"
|
"kccbMobile": "KCCB Mobile",
|
||||||
|
"faq": "Frequently Asked Questions(FAQs)",
|
||||||
|
"branches": "Branches",
|
||||||
|
"atms": "ATMs",
|
||||||
|
"dailylimit": "Daily Transaction Limit",
|
||||||
|
"currentDailyLimit": "Current Daily Limit",
|
||||||
|
"noLimitSet": "No Limit Set",
|
||||||
|
"addLimit": "Add Limit",
|
||||||
|
"editLimit": "Edit Limit",
|
||||||
|
"removeLimit": "Remove Limit",
|
||||||
|
"limitAmount": "Limit Amount",
|
||||||
|
"save": "Save"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
"accountOpeningDeposit": "खाता खोलने का अनुरोध - जमा",
|
"accountOpeningDeposit": "खाता खोलने का अनुरोध - जमा",
|
||||||
"accountOpeningLoan": "खाता खोलने का अनुरोध - ऋण",
|
"accountOpeningLoan": "खाता खोलने का अनुरोध - ऋण",
|
||||||
"quickLinks": "त्वरित लिंक",
|
"quickLinks": "त्वरित लिंक",
|
||||||
"branchLocator": "शाखा लोकेटर",
|
"branchLocator": "शाखा और एटीएम लोकेटर",
|
||||||
"emailLaunchError": "ईमेल क्लाइंट खोलने में विफल: ",
|
"emailLaunchError": "ईमेल क्लाइंट खोलने में विफल: ",
|
||||||
"dialerLaunchError": "डायलर खोलने में विफल: ",
|
"dialerLaunchError": "डायलर खोलने में विफल: ",
|
||||||
"writeToUs": "हमें लिखें",
|
"writeToUs": "हमें लिखें",
|
||||||
@@ -249,7 +249,7 @@
|
|||||||
"validateBeneficiaryproceeding": "कृपया आगे बढ़ने से पहले लाभार्थी को पट्टे पर मान्य करें",
|
"validateBeneficiaryproceeding": "कृपया आगे बढ़ने से पहले लाभार्थी को पट्टे पर मान्य करें",
|
||||||
"findnearbybranched": "आस-पास की शाखाएँ खोजें",
|
"findnearbybranched": "आस-पास की शाखाएँ खोजें",
|
||||||
"searchbranch": "शाखा खोजें",
|
"searchbranch": "शाखा खोजें",
|
||||||
"searchbranchby": "शाखा खोजें नाम / बैंक कोड / आईएफएससी द्वारा",
|
"searchbranchby": "शाखा नाम / बैंक कोड / आईएफएससी / पता",
|
||||||
"branchsearchsoon": "शाखा खोज सुविधा जल्द ही आ रही है...",
|
"branchsearchsoon": "शाखा खोज सुविधा जल्द ही आ रही है...",
|
||||||
"loginFailed": "लॉगिन विफल",
|
"loginFailed": "लॉगिन विफल",
|
||||||
"invalidCredentials": "अवैध प्रत्यय पत्र",
|
"invalidCredentials": "अवैध प्रत्यय पत्र",
|
||||||
@@ -316,5 +316,16 @@
|
|||||||
"themeModeDark": "डार्क",
|
"themeModeDark": "डार्क",
|
||||||
"details": "विवरण",
|
"details": "विवरण",
|
||||||
"remarks": "विचार (अनिवार्य नहीं)",
|
"remarks": "विचार (अनिवार्य नहीं)",
|
||||||
"kccbMobile": "केसीसीबी मोबाइल"
|
"kccbMobile": "केसीसीबी मोबाइल",
|
||||||
|
"faq": "अक्सर पूछे जाने वाले प्रश्न",
|
||||||
|
"branches": "शाखाओं",
|
||||||
|
"atms": "एटीएम",
|
||||||
|
"dailylimit": "दैनिक लेनदेन सीमा",
|
||||||
|
"currentDailyLimit": "वर्तमान दैनिक सीमा",
|
||||||
|
"noLimitSet": "कोई सीमा निर्धारित नहीं",
|
||||||
|
"addLimit": "सीमा जोड़ें",
|
||||||
|
"editLimit": "सीमा संपादित करें",
|
||||||
|
"removeLimit": "सीमा हटाएँ",
|
||||||
|
"limitAmount": "सीमा राशि",
|
||||||
|
"save": "जमा करें"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
// ignore_for_file: unused_import
|
// ignore_for_file: unused_import
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:kmobile/features/security/security_error_screen.dart';
|
import 'package:kmobile/features/security/security_error_screen.dart';
|
||||||
@@ -10,22 +9,19 @@ import 'app.dart';
|
|||||||
void main() async {
|
void main() async {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
|
||||||
// Set preferred orientations
|
|
||||||
await SystemChrome.setPreferredOrientations([
|
await SystemChrome.setPreferredOrientations([
|
||||||
DeviceOrientation.portraitUp,
|
DeviceOrientation.portraitUp,
|
||||||
DeviceOrientation.portraitDown,
|
DeviceOrientation.portraitDown,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// 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;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Initialize dependencies
|
|
||||||
await setupDependencies();
|
await setupDependencies();
|
||||||
runApp(const KMobile());
|
runApp(const KMobile());
|
||||||
}
|
}
|
||||||
64
pubspec.lock
64
pubspec.lock
@@ -69,10 +69,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: characters
|
name: characters
|
||||||
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
|
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.4.0"
|
version: "1.3.0"
|
||||||
checked_yaml:
|
checked_yaml:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -93,18 +93,18 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: clock
|
name: clock
|
||||||
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
|
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.1.2"
|
version: "1.1.1"
|
||||||
collection:
|
collection:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: collection
|
name: collection
|
||||||
sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
|
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.19.1"
|
version: "1.18.0"
|
||||||
confetti:
|
confetti:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@@ -181,10 +181,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: fake_async
|
name: fake_async
|
||||||
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
|
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.3.3"
|
version: "1.3.1"
|
||||||
ffi:
|
ffi:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -385,10 +385,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: intl
|
name: intl
|
||||||
sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5"
|
sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.20.2"
|
version: "0.19.0"
|
||||||
jailbreak_root_detection:
|
jailbreak_root_detection:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@@ -417,26 +417,26 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: leak_tracker
|
name: leak_tracker
|
||||||
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
|
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "11.0.2"
|
version: "10.0.5"
|
||||||
leak_tracker_flutter_testing:
|
leak_tracker_flutter_testing:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: leak_tracker_flutter_testing
|
name: leak_tracker_flutter_testing
|
||||||
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
|
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.0.10"
|
version: "3.0.5"
|
||||||
leak_tracker_testing:
|
leak_tracker_testing:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: leak_tracker_testing
|
name: leak_tracker_testing
|
||||||
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
|
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.0.2"
|
version: "3.0.1"
|
||||||
lints:
|
lints:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -497,10 +497,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: matcher
|
name: matcher
|
||||||
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
|
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.12.17"
|
version: "0.12.16+1"
|
||||||
material_color_utilities:
|
material_color_utilities:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -521,10 +521,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: meta
|
name: meta
|
||||||
sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
|
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.16.0"
|
version: "1.15.0"
|
||||||
mime:
|
mime:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -545,10 +545,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: path
|
name: path
|
||||||
sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
|
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.9.1"
|
version: "1.9.0"
|
||||||
path_parsing:
|
path_parsing:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -793,7 +793,7 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description: flutter
|
description: flutter
|
||||||
source: sdk
|
source: sdk
|
||||||
version: "0.0.0"
|
version: "0.0.99"
|
||||||
source_span:
|
source_span:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -814,18 +814,18 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: stack_trace
|
name: stack_trace
|
||||||
sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
|
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.12.1"
|
version: "1.11.1"
|
||||||
stream_channel:
|
stream_channel:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: stream_channel
|
name: stream_channel
|
||||||
sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
|
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.4"
|
version: "2.1.2"
|
||||||
string_scanner:
|
string_scanner:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -846,10 +846,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: test_api
|
name: test_api
|
||||||
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
|
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.7.6"
|
version: "0.7.2"
|
||||||
typed_data:
|
typed_data:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -958,10 +958,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: vector_math
|
name: vector_math
|
||||||
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
|
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.0"
|
version: "2.1.4"
|
||||||
vm_service:
|
vm_service:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -1019,5 +1019,5 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.3"
|
version: "3.1.3"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=3.8.0-0 <4.0.0"
|
dart: ">=3.5.0 <4.0.0"
|
||||||
flutter: ">=3.24.0"
|
flutter: ">=3.24.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user