Compare commits
8 Commits
fund-trans
...
Acc_no_dro
Author | SHA1 | Date | |
---|---|---|---|
0c1d6fc718 | |||
1ad1cd07cc | |||
c0e892341b | |||
83ad2b2e52 | |||
7832a9372f | |||
3f71a32c04 | |||
47fcb0e287 | |||
a212439bad |
BIN
assets/fonts/Sriracha-Regular.ttf
Normal file
BIN
assets/fonts/Sriracha-Regular.ttf
Normal file
Binary file not shown.
3
devtools_options.yaml
Normal file
3
devtools_options.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
description: This file stores settings for Dart & Flutter DevTools.
|
||||||
|
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states
|
||||||
|
extensions:
|
3
l10n.yaml
Normal file
3
l10n.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
arb-dir: lib/l10n
|
||||||
|
template-arb-file: app_en.arb
|
||||||
|
output-localization-file: app_localizations.dart
|
@@ -2,11 +2,8 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:kmobile/features/customer_info/screens/customer_info_screen.dart';
|
import 'package:kmobile/features/customer_info/screens/customer_info_screen.dart';
|
||||||
import 'package:kmobile/security/secure_storage.dart';
|
|
||||||
import 'api/services/auth_service.dart';
|
|
||||||
import 'config/themes.dart';
|
import 'config/themes.dart';
|
||||||
import 'config/routes.dart';
|
import 'config/routes.dart';
|
||||||
import 'data/repositories/auth_repository.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/auth/controllers/auth_state.dart';
|
import 'features/auth/controllers/auth_state.dart';
|
||||||
@@ -56,7 +53,7 @@ class KMobile extends StatelessWidget {
|
|||||||
builder: (context, state) {
|
builder: (context, state) {
|
||||||
// Handle different authentication states
|
// Handle different authentication states
|
||||||
if (state is AuthInitial || state is AuthLoading) {
|
if (state is AuthInitial || state is AuthLoading) {
|
||||||
return const _SplashScreen();
|
return const SplashScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(state is ShowBiometricPermission){
|
if(state is ShowBiometricPermission){
|
||||||
@@ -76,8 +73,8 @@ class KMobile extends StatelessWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Simple splash screens component
|
// Simple splash screens component
|
||||||
class _SplashScreen extends StatelessWidget {
|
class SplashScreen extends StatelessWidget {
|
||||||
const _SplashScreen();
|
const SplashScreen();
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
@@ -31,6 +31,8 @@ class AppRoutes {
|
|||||||
// Route generator
|
// Route generator
|
||||||
static Route<dynamic> generateRoute(RouteSettings settings) {
|
static Route<dynamic> generateRoute(RouteSettings settings) {
|
||||||
switch (settings.name) {
|
switch (settings.name) {
|
||||||
|
case splash:
|
||||||
|
return MaterialPageRoute(builder: (_) => const SplashScreen());
|
||||||
case login:
|
case login:
|
||||||
return MaterialPageRoute(builder: (_) => const LoginScreen());
|
return MaterialPageRoute(builder: (_) => const LoginScreen());
|
||||||
|
|
||||||
|
@@ -46,7 +46,6 @@ class AuthRepository {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<User?> getCurrentUser() async {
|
Future<User?> getCurrentUser() async {
|
||||||
final userJson = await _secureStorage.read(_userKey);
|
final userJson = await _secureStorage.read(_userKey);
|
||||||
if (userJson != null) {
|
if (userJson != null) {
|
||||||
|
@@ -35,7 +35,7 @@ class _AccountInfoScreen extends State<AccountInfoScreen>{
|
|||||||
padding: const EdgeInsets.all(16.0),
|
padding: const EdgeInsets.all(16.0),
|
||||||
children: const [
|
children: const [
|
||||||
InfoRow(title: 'Account Number', value: '700127638009871'),
|
InfoRow(title: 'Account Number', value: '700127638009871'),
|
||||||
InfoRow(title: 'Nominee Customer No', value: '700127638009871'),
|
// InfoRow(title: 'Nominee Customer No', value: '700127638009871'),
|
||||||
InfoRow(title: 'SMS Service', value: 'Active'),
|
InfoRow(title: 'SMS Service', value: 'Active'),
|
||||||
InfoRow(title: 'Missed Call Service', value: 'Active'),
|
InfoRow(title: 'Missed Call Service', value: 'Active'),
|
||||||
InfoRow(title: 'Customer Number', value: '9000875272000212'),
|
InfoRow(title: 'Customer Number', value: '9000875272000212'),
|
||||||
|
@@ -8,33 +8,96 @@ class AccountStatementScreen extends StatefulWidget {
|
|||||||
State<AccountStatementScreen> createState() => _AccountStatementScreen();
|
State<AccountStatementScreen> createState() => _AccountStatementScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
class _AccountStatementScreen extends State<AccountStatementScreen>{
|
class _AccountStatementScreen extends State<AccountStatementScreen> {
|
||||||
DateTimeRange? selectedDateRange;
|
DateTime? fromDate;
|
||||||
final _amountRangeController = TextEditingController(text: "100-500");
|
DateTime? toDate;
|
||||||
|
final _amountRangeController = TextEditingController(text: "");
|
||||||
final transactions = [
|
final transactions = [
|
||||||
{"desc": "Transfer From ICICI Bank subsidy", "amount": "+₹133.98", "type": "Cr", "time": "21-02-2024 13:09:30"},
|
{
|
||||||
{"desc": "Mobile recharge", "amount": "-₹299.00", "type": "Dr", "time": "21-02-2024 13:09:30"},
|
"desc": "Transfer From ICICI Bank subsidy",
|
||||||
{"desc": "NEFT received from Jaya Saha", "amount": "+₹987.80", "type": "Cr", "time": "21-02-2024 13:09:30"},
|
"amount": "+₹133.98",
|
||||||
{"desc": "Transfer From ICICI Bank subsidy", "amount": "+₹100.00", "type": "Cr", "time": "21-02-2024 13:09:30"},
|
"type": "Cr",
|
||||||
{"desc": "Transfer From ICICI Bank subsidy", "amount": "-₹100.00", "type": "Dr", "time": "21-02-2024 13:09:30"},
|
"time": "21-02-2024 13:09:30"
|
||||||
{"desc": "Transfer From ICICI Bank subsidy", "amount": "+₹100.00", "type": "Cr", "time": "21-02-2024 13:09:30"},
|
},
|
||||||
{"desc": "Transfer From ICICI Bank subsidy", "amount": "+₹100.00", "type": "Cr", "time": "21-02-2024 13:09:30"},
|
{
|
||||||
|
"desc": "Mobile recharge",
|
||||||
|
"amount": "-₹299.00",
|
||||||
|
"type": "Dr",
|
||||||
|
"time": "21-02-2024 13:09:30"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc": "NEFT received from Jaya Saha",
|
||||||
|
"amount": "+₹987.80",
|
||||||
|
"type": "Cr",
|
||||||
|
"time": "21-02-2024 13:09:30"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc": "Transfer From ICICI Bank subsidy",
|
||||||
|
"amount": "+₹100.00",
|
||||||
|
"type": "Cr",
|
||||||
|
"time": "21-02-2024 13:09:30"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc": "Transfer From ICICI Bank subsidy",
|
||||||
|
"amount": "-₹100.00",
|
||||||
|
"type": "Dr",
|
||||||
|
"time": "21-02-2024 13:09:30"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc": "Transfer From ICICI Bank subsidy",
|
||||||
|
"amount": "+₹100.00",
|
||||||
|
"type": "Cr",
|
||||||
|
"time": "21-02-2024 13:09:30"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc": "Transfer From ICICI Bank subsidy",
|
||||||
|
"amount": "+₹100.00",
|
||||||
|
"type": "Cr",
|
||||||
|
"time": "21-02-2024 13:09:30"
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
Future<void> _selectDateRange(BuildContext context) async {
|
Future<void> _selectFromDate(BuildContext context) async {
|
||||||
final DateTime now = DateTime.now();
|
final DateTime now = DateTime.now();
|
||||||
|
|
||||||
final DateTimeRange? picked = await showDateRangePicker(
|
final DateTime? picked = await showDatePicker(
|
||||||
context: context,
|
context: context,
|
||||||
firstDate: DateTime(2023),
|
initialDate: fromDate ?? now,
|
||||||
lastDate: now, // disables future dates
|
firstDate: DateTime(2020), // or your app's start limit
|
||||||
initialDateRange: selectedDateRange ??
|
lastDate: now, // No future date
|
||||||
DateTimeRange(start: now.subtract(const Duration(days: 7)), end: now),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (picked != null) {
|
if (picked != null) {
|
||||||
setState(() {
|
setState(() {
|
||||||
selectedDateRange = picked;
|
fromDate = picked;
|
||||||
|
toDate = null; // reset toDate when fromDate changes
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> _selectToDate(BuildContext context) async {
|
||||||
|
if (fromDate == null) {
|
||||||
|
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
|
||||||
|
content: Text('Please select From Date first'),
|
||||||
|
));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
final DateTime now = DateTime.now();
|
||||||
|
|
||||||
|
final DateTime lastAllowedDate = fromDate!.add(const Duration(days: 31));
|
||||||
|
final DateTime maxToDate = lastAllowedDate.isBefore(now) ? lastAllowedDate : now;
|
||||||
|
|
||||||
|
final DateTime? picked = await showDatePicker(
|
||||||
|
context: context,
|
||||||
|
initialDate: toDate ?? fromDate!,
|
||||||
|
firstDate: fromDate!, // 🔒 can't be before fromDate
|
||||||
|
lastDate: maxToDate, // 🔒 not more than 1 month or future
|
||||||
|
);
|
||||||
|
|
||||||
|
if (picked != null) {
|
||||||
|
setState(() {
|
||||||
|
toDate = picked;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -55,36 +118,74 @@ class _AccountStatementScreen extends State<AccountStatementScreen>{
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
leading: IconButton(icon: const Icon(Symbols.arrow_back_ios_new),
|
leading: IconButton(
|
||||||
|
icon: const Icon(Symbols.arrow_back_ios_new),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
},),
|
},
|
||||||
title: const Text('Account Statement', style: TextStyle(color: Colors.black,
|
),
|
||||||
fontWeight: FontWeight.w500),),
|
title: const Text(
|
||||||
|
'Account Statement',
|
||||||
|
style: TextStyle(color: Colors.black, fontWeight: FontWeight.w500),
|
||||||
|
),
|
||||||
centerTitle: false,
|
centerTitle: false,
|
||||||
actions: const [
|
actions: const [
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(right: 10.0),
|
padding: EdgeInsets.only(right: 10.0),
|
||||||
child: CircleAvatar(
|
child: CircleAvatar(
|
||||||
backgroundImage: AssetImage('assets/images/avatar.jpg'), // Replace with your image
|
backgroundImage: AssetImage('assets/images/avatar.jpg'),
|
||||||
|
// Replace with your image
|
||||||
radius: 20,
|
radius: 20,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
||||||
body: Padding(
|
body: Padding(
|
||||||
padding: const EdgeInsets.all(12.0),
|
padding: const EdgeInsets.all(12.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
const Text('Filters', style: TextStyle(fontSize: 17),),
|
const Text(
|
||||||
const SizedBox(height: 15,),
|
'Filters',
|
||||||
|
style: TextStyle(fontSize: 17),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
height: 15,
|
||||||
|
),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: _buildDateRangeSelector()),
|
Expanded(child: GestureDetector(
|
||||||
|
onTap: () => _selectFromDate(context),
|
||||||
|
child: buildDateBox("From Date", fromDate),
|
||||||
|
),),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
Expanded(child: _buildFilterBox("100-500")),
|
Expanded(child: GestureDetector(
|
||||||
|
onTap: () => _selectToDate(context),
|
||||||
|
child: buildDateBox("To Date", toDate),
|
||||||
|
),),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
const SizedBox(height: 20),
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
Expanded(
|
||||||
|
child: _buildFilterBox(""),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
width: 8,
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
width: 75,
|
||||||
|
child: ElevatedButton(
|
||||||
|
onPressed: () {},
|
||||||
|
style: ElevatedButton.styleFrom(
|
||||||
|
backgroundColor: Theme.of(context).primaryColor,
|
||||||
|
),
|
||||||
|
child: const Text(
|
||||||
|
'Go',
|
||||||
|
style: TextStyle(fontSize: 18, fontWeight: FontWeight.w600),
|
||||||
|
)),
|
||||||
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 35),
|
const SizedBox(height: 35),
|
||||||
@@ -100,32 +201,26 @@ class _AccountStatementScreen extends State<AccountStatementScreen>{
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildDateRangeSelector() {
|
Widget buildDateBox(String label, DateTime? date) {
|
||||||
String label = "Select Date";
|
return Container(
|
||||||
if (selectedDateRange != null) {
|
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 16),
|
||||||
final from = _formatDate(selectedDateRange!.start);
|
|
||||||
final to = _formatDate(selectedDateRange!.end);
|
|
||||||
label = "$from - $to";
|
|
||||||
}
|
|
||||||
|
|
||||||
return GestureDetector(
|
|
||||||
onTap: () => _selectDateRange(context),
|
|
||||||
child: Container(
|
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 14),
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
border: Border.all(color: Colors.grey),
|
border: Border.all(color: Colors.grey),
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(6),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: Text(label, style: const TextStyle(fontSize: 16))),
|
Text(
|
||||||
const Icon(Icons.calendar_today),
|
date != null ? _formatDate(date) : label,
|
||||||
],
|
style: TextStyle(fontSize: 16,
|
||||||
|
color: date != null ? Colors.black: Colors.grey),
|
||||||
),
|
),
|
||||||
|
const Icon(Icons.arrow_drop_down),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -169,7 +264,9 @@ class _AccountStatementScreen extends State<AccountStatementScreen>{
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: Text(txn['desc']!, style: const TextStyle(fontSize: 16))),
|
Expanded(
|
||||||
|
child:
|
||||||
|
Text(txn['desc']!, style: const TextStyle(fontSize: 16))),
|
||||||
Text(
|
Text(
|
||||||
"${txn['amount']} ${txn['type']}",
|
"${txn['amount']} ${txn['type']}",
|
||||||
style: TextStyle(color: amountColor, fontWeight: FontWeight.bold),
|
style: TextStyle(color: amountColor, fontWeight: FontWeight.bold),
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:kmobile/features/auth/controllers/auth_cubit.dart';
|
import 'package:kmobile/features/auth/controllers/auth_cubit.dart';
|
||||||
|
import 'package:kmobile/security/secure_storage.dart';
|
||||||
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
|
||||||
import '../../../app.dart';
|
import '../../../app.dart';
|
||||||
|
|
||||||
class MPinScreen extends StatefulWidget {
|
class MPinScreen extends StatefulWidget {
|
||||||
@@ -64,15 +64,20 @@ class MPinScreenState extends State<MPinScreen> {
|
|||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: () {
|
onTap: () async {
|
||||||
if (key == '<') {
|
if (key == '<') {
|
||||||
deleteDigit();
|
deleteDigit();
|
||||||
} else if (key == 'Enter') {
|
} else if (key == 'Enter') {
|
||||||
if (mPin.length == 4) {
|
if (mPin.length == 4) {
|
||||||
|
// String storedMpin = await SecureStorage().read("mpin");
|
||||||
|
// if(!mounted) return;
|
||||||
|
// if(storedMpin == mPin.join()) {
|
||||||
Navigator.push(
|
Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(builder: (context) => const NavigationScaffold()),
|
MaterialPageRoute(
|
||||||
|
builder: (context) => const NavigationScaffold()),
|
||||||
);
|
);
|
||||||
|
// }
|
||||||
} else {
|
} else {
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
const SnackBar(content: Text("Please enter 4 digits")),
|
const SnackBar(content: Text("Please enter 4 digits")),
|
||||||
|
144
lib/features/auth/screens/mpin_setup.dart
Normal file
144
lib/features/auth/screens/mpin_setup.dart
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
|
import 'package:kmobile/features/auth/controllers/auth_cubit.dart';
|
||||||
|
import 'package:kmobile/features/auth/screens/mpin_setup_confirm.dart';
|
||||||
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
|
||||||
|
class MPinSetupScreen extends StatefulWidget {
|
||||||
|
const MPinSetupScreen({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
MPinSetupScreenState createState() => MPinSetupScreenState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class MPinSetupScreenState extends State<MPinSetupScreen> {
|
||||||
|
List<String> mPin = [];
|
||||||
|
|
||||||
|
void addDigit(String digit) {
|
||||||
|
if (mPin.length < 4) {
|
||||||
|
setState(() {
|
||||||
|
mPin.add(digit);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void deleteDigit() {
|
||||||
|
if (mPin.isNotEmpty) {
|
||||||
|
setState(() {
|
||||||
|
mPin.removeLast();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget buildMPinDots() {
|
||||||
|
return Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: List.generate(4, (index) {
|
||||||
|
return Container(
|
||||||
|
margin: const EdgeInsets.all(8),
|
||||||
|
width: 15,
|
||||||
|
height: 15,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
color: index < mPin.length ? Colors.black : Colors.grey[400],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget buildNumberPad() {
|
||||||
|
List<List<String>> keys = [
|
||||||
|
['1', '2', '3'],
|
||||||
|
['4', '5', '6'],
|
||||||
|
['7', '8', '9'],
|
||||||
|
['Enter', '0', '<']
|
||||||
|
];
|
||||||
|
|
||||||
|
return Column(
|
||||||
|
children: keys.map((row) {
|
||||||
|
return Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
children: row.map((key) {
|
||||||
|
return Padding(
|
||||||
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
child: GestureDetector(
|
||||||
|
onTap: () {
|
||||||
|
if (key == '<') {
|
||||||
|
deleteDigit();
|
||||||
|
} else if (key == 'Enter') {
|
||||||
|
if (mPin.length == 4) {
|
||||||
|
Navigator.of(context).push(
|
||||||
|
MaterialPageRoute(builder: (context) => MPinSetupConfirmScreen(mPin: mPin,)),
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
|
const SnackBar(content: Text("Please enter 4 digits")),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} else if (key.isNotEmpty) {
|
||||||
|
addDigit(key);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
width: 70,
|
||||||
|
height: 70,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
color: Colors.grey[200],
|
||||||
|
),
|
||||||
|
alignment: Alignment.center,
|
||||||
|
child: key == 'Enter' ? const Icon(Symbols.check) : Text(
|
||||||
|
key == '<' ? '⌫' : key,
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 20,
|
||||||
|
fontWeight: key == 'Enter' ?
|
||||||
|
FontWeight.normal : FontWeight.normal,
|
||||||
|
color: key == 'Enter' ? Colors.blue : Colors.black,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
final cubit = context.read<AuthCubit>();
|
||||||
|
|
||||||
|
return Scaffold(
|
||||||
|
body: SafeArea(
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
const Spacer(),
|
||||||
|
// Logo
|
||||||
|
const FlutterLogo(size: 100),
|
||||||
|
const SizedBox(height: 20),
|
||||||
|
const Text(
|
||||||
|
"Enter your mPIN",
|
||||||
|
style: TextStyle(fontSize: 20, fontWeight: FontWeight.w500),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 20),
|
||||||
|
buildMPinDots(),
|
||||||
|
const Spacer(),
|
||||||
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: [
|
||||||
|
TextButton(onPressed: () {
|
||||||
|
cubit.authenticateBiometric();
|
||||||
|
}, child: const Text("Try another way")),
|
||||||
|
TextButton(onPressed: () {}, child: const Text("Register?")),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
buildNumberPad(),
|
||||||
|
const Spacer(),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
154
lib/features/auth/screens/mpin_setup_confirm.dart
Normal file
154
lib/features/auth/screens/mpin_setup_confirm.dart
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
|
import 'package:kmobile/features/auth/controllers/auth_cubit.dart';
|
||||||
|
import 'package:kmobile/security/secure_storage.dart';
|
||||||
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
import 'package:shared_preferences/shared_preferences.dart';
|
||||||
|
|
||||||
|
import '../../../app.dart';
|
||||||
|
|
||||||
|
class MPinSetupConfirmScreen extends StatefulWidget {
|
||||||
|
final List<String> mPin;
|
||||||
|
const MPinSetupConfirmScreen({super.key, required this.mPin});
|
||||||
|
|
||||||
|
@override
|
||||||
|
MPinSetupConfirmScreenState createState() => MPinSetupConfirmScreenState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class MPinSetupConfirmScreenState extends State<MPinSetupConfirmScreen> {
|
||||||
|
List<String> mPin = [];
|
||||||
|
|
||||||
|
void addDigit(String digit) {
|
||||||
|
if (mPin.length < 4) {
|
||||||
|
setState(() {
|
||||||
|
mPin.add(digit);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void deleteDigit() {
|
||||||
|
if (mPin.isNotEmpty) {
|
||||||
|
setState(() {
|
||||||
|
mPin.removeLast();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget buildMPinDots() {
|
||||||
|
return Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: List.generate(4, (index) {
|
||||||
|
return Container(
|
||||||
|
margin: const EdgeInsets.all(8),
|
||||||
|
width: 15,
|
||||||
|
height: 15,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
color: index < mPin.length ? Colors.black : Colors.grey[400],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget buildNumberPad() {
|
||||||
|
List<List<String>> keys = [
|
||||||
|
['1', '2', '3'],
|
||||||
|
['4', '5', '6'],
|
||||||
|
['7', '8', '9'],
|
||||||
|
['Enter', '0', '<']
|
||||||
|
];
|
||||||
|
|
||||||
|
return Column(
|
||||||
|
children: keys.map((row) {
|
||||||
|
return Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
children: row.map((key) {
|
||||||
|
return Padding(
|
||||||
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
child: GestureDetector(
|
||||||
|
onTap: () async {
|
||||||
|
if (key == '<') {
|
||||||
|
deleteDigit();
|
||||||
|
} else if (key == 'Enter') {
|
||||||
|
if (mPin.length == 4 && mPin.join() == widget.mPin.join()) {
|
||||||
|
|
||||||
|
await SecureStorage().write("mpin", mPin.join());
|
||||||
|
await SharedPreferences.getInstance()
|
||||||
|
.then((prefs) => prefs.setBool('mpin_set', true));
|
||||||
|
if(!mounted) return;
|
||||||
|
Navigator.push(
|
||||||
|
context,
|
||||||
|
MaterialPageRoute(builder: (context) => const NavigationScaffold()),
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
|
const SnackBar(content: Text("Please enter 4 digits")),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} else if (key.isNotEmpty) {
|
||||||
|
addDigit(key);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
width: 70,
|
||||||
|
height: 70,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
color: Colors.grey[200],
|
||||||
|
),
|
||||||
|
alignment: Alignment.center,
|
||||||
|
child: key == 'Enter' ? const Icon(Symbols.check) : Text(
|
||||||
|
key == '<' ? '⌫' : key,
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 20,
|
||||||
|
fontWeight: key == 'Enter' ?
|
||||||
|
FontWeight.normal : FontWeight.normal,
|
||||||
|
color: key == 'Enter' ? Colors.blue : Colors.black,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
final cubit = context.read<AuthCubit>();
|
||||||
|
|
||||||
|
return Scaffold(
|
||||||
|
body: SafeArea(
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
const Spacer(),
|
||||||
|
// Logo
|
||||||
|
const FlutterLogo(size: 100),
|
||||||
|
const SizedBox(height: 20),
|
||||||
|
const Text(
|
||||||
|
"Enter your mPIN",
|
||||||
|
style: TextStyle(fontSize: 20, fontWeight: FontWeight.w500),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 20),
|
||||||
|
buildMPinDots(),
|
||||||
|
const Spacer(),
|
||||||
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: [
|
||||||
|
TextButton(onPressed: () {
|
||||||
|
cubit.authenticateBiometric();
|
||||||
|
}, child: const Text("Try another way")),
|
||||||
|
TextButton(onPressed: () {}, child: const Text("Register?")),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
buildNumberPad(),
|
||||||
|
const Spacer(),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@@ -12,6 +12,7 @@ class _AddBeneficiaryScreen extends State<AddBeneficiaryScreen>{
|
|||||||
final _formKey = GlobalKey<FormState>();
|
final _formKey = GlobalKey<FormState>();
|
||||||
|
|
||||||
final TextEditingController accountNumberController = TextEditingController();
|
final TextEditingController accountNumberController = TextEditingController();
|
||||||
|
final TextEditingController confirmAccountNumberController = TextEditingController();
|
||||||
final TextEditingController nameController = TextEditingController();
|
final TextEditingController nameController = TextEditingController();
|
||||||
final TextEditingController bankNameController = TextEditingController();
|
final TextEditingController bankNameController = TextEditingController();
|
||||||
final TextEditingController branchNameController = TextEditingController();
|
final TextEditingController branchNameController = TextEditingController();
|
||||||
@@ -109,6 +110,7 @@ class _AddBeneficiaryScreen extends State<AddBeneficiaryScreen>{
|
|||||||
borderSide: BorderSide(color: Colors.black, width: 2),
|
borderSide: BorderSide(color: Colors.black, width: 2),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
obscureText: true,
|
||||||
keyboardType: TextInputType.number,
|
keyboardType: TextInputType.number,
|
||||||
textInputAction: TextInputAction.next,
|
textInputAction: TextInputAction.next,
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
@@ -119,6 +121,36 @@ class _AddBeneficiaryScreen extends State<AddBeneficiaryScreen>{
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
const SizedBox(height: 24),
|
const SizedBox(height: 24),
|
||||||
|
// Confirm Account Number
|
||||||
|
TextFormField(
|
||||||
|
controller: confirmAccountNumberController,
|
||||||
|
decoration: const InputDecoration(
|
||||||
|
labelText: 'Confirm Account Number',
|
||||||
|
// prefixIcon: Icon(Icons.person),
|
||||||
|
border: OutlineInputBorder(),
|
||||||
|
isDense: true,
|
||||||
|
filled: true,
|
||||||
|
fillColor: Colors.white,
|
||||||
|
enabledBorder: OutlineInputBorder(
|
||||||
|
borderSide: BorderSide(color: Colors.black),
|
||||||
|
),
|
||||||
|
focusedBorder: OutlineInputBorder(
|
||||||
|
borderSide: BorderSide(color: Colors.black, width: 2),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
textInputAction: TextInputAction.next,
|
||||||
|
validator: (value) {
|
||||||
|
if (value == null || value.isEmpty) {
|
||||||
|
return 'Re-enter account number';
|
||||||
|
}
|
||||||
|
if (value != accountNumberController.text) {
|
||||||
|
return 'Account numbers do not match';
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
),
|
||||||
|
const SizedBox(height: 24),
|
||||||
TextFormField(
|
TextFormField(
|
||||||
controller: nameController,
|
controller: nameController,
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
|
@@ -7,7 +7,9 @@ import 'package:kmobile/features/beneficiaries/screens/manage_beneficiaries_scre
|
|||||||
import 'package:kmobile/features/enquiry/screens/enquiry_screen.dart';
|
import 'package:kmobile/features/enquiry/screens/enquiry_screen.dart';
|
||||||
import 'package:kmobile/features/fund_transfer/screens/fund_transfer_beneficiary_screen.dart';
|
import 'package:kmobile/features/fund_transfer/screens/fund_transfer_beneficiary_screen.dart';
|
||||||
import 'package:kmobile/features/quick_pay/screens/quick_pay_screen.dart';
|
import 'package:kmobile/features/quick_pay/screens/quick_pay_screen.dart';
|
||||||
|
import 'package:kmobile/src/preferences/preference.dart';
|
||||||
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
import 'package:google_fonts/google_fonts.dart';
|
||||||
|
|
||||||
class DashboardScreen extends StatefulWidget {
|
class DashboardScreen extends StatefulWidget {
|
||||||
const DashboardScreen({super.key});
|
const DashboardScreen({super.key});
|
||||||
@@ -19,20 +21,55 @@ class DashboardScreen extends StatefulWidget {
|
|||||||
class _DashboardScreenState extends State<DashboardScreen> {
|
class _DashboardScreenState extends State<DashboardScreen> {
|
||||||
// Mock data for transactions
|
// Mock data for transactions
|
||||||
final List<Map<String, String>> transactions = [
|
final List<Map<String, String>> transactions = [
|
||||||
{'name': 'Raj Kumar', 'amount': '₹1,000', 'date': '09 March, 2025 16:04', 'type': 'in'},
|
{
|
||||||
{'name': 'Sunita Joshi', 'amount': '₹1,45,000', 'date': '07 March, 2025 16:04', 'type': 'out'},
|
'name': 'Raj Kumar',
|
||||||
{'name': 'Manoj Singh', 'amount': '₹2,400', 'date': '07 March, 2025 16:04', 'type': 'in'},
|
'amount': '₹1,000',
|
||||||
{'name': 'Raj Kumar', 'amount': '₹11,500', 'date': '09 March, 2025 16:04', 'type': 'in'},
|
'date': '09 March, 2025 16:04',
|
||||||
|
'type': 'in'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'name': 'Sunita Joshi',
|
||||||
|
'amount': '₹1,45,000',
|
||||||
|
'date': '07 March, 2025 16:04',
|
||||||
|
'type': 'out'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'name': 'Manoj Singh',
|
||||||
|
'amount': '₹2,400',
|
||||||
|
'date': '07 March, 2025 16:04',
|
||||||
|
'type': 'in'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'name': 'Raj Kumar',
|
||||||
|
'amount': '₹11,500',
|
||||||
|
'date': '09 March, 2025 16:04',
|
||||||
|
'type': 'in'
|
||||||
|
},
|
||||||
{'name': 'Manoj Singh', 'amount': '₹1,000', 'date': '', 'type': 'in'},
|
{'name': 'Manoj Singh', 'amount': '₹1,000', 'date': '', 'type': 'in'},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
List<String> accountNumbers = [
|
||||||
|
'0300015678903456',
|
||||||
|
'0300015678903678',
|
||||||
|
'0300015678903325',
|
||||||
|
];
|
||||||
|
|
||||||
|
String selectedAccount = '0300015678903456';
|
||||||
|
bool isVisible = false;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
backgroundColor: const Color(0xfff5f9fc),
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
backgroundColor: const Color(0xfff5f9fc),
|
||||||
automaticallyImplyLeading: false,
|
automaticallyImplyLeading: false,
|
||||||
title: const Text('kMobile', style: TextStyle(color: Colors.blueAccent,
|
title: Text(
|
||||||
fontWeight: FontWeight.w500),),
|
'kMobile',
|
||||||
|
style: TextStyle(
|
||||||
|
color: Theme.of(context).primaryColor,
|
||||||
|
fontWeight: FontWeight.w500),
|
||||||
|
),
|
||||||
actions: [
|
actions: [
|
||||||
// IconButton(
|
// IconButton(
|
||||||
// icon: const Icon(Icons.notifications_outlined),
|
// icon: const Icon(Icons.notifications_outlined),
|
||||||
@@ -44,12 +81,15 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|||||||
padding: const EdgeInsets.only(right: 10.0),
|
padding: const EdgeInsets.only(right: 10.0),
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
borderRadius: BorderRadius.circular(20),
|
borderRadius: BorderRadius.circular(20),
|
||||||
onTap: (){
|
onTap: () {
|
||||||
// Navigator.push(context, MaterialPageRoute(
|
Navigator.push(
|
||||||
// builder: (context) => const CustomerInfoScreen()));
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (context) => const Preference()));
|
||||||
},
|
},
|
||||||
child: const CircleAvatar(
|
child: const CircleAvatar(
|
||||||
backgroundImage: AssetImage('assets/images/avatar.jpg'), // Replace with your image
|
backgroundImage: AssetImage('assets/images/avatar.jpg'),
|
||||||
|
// Replace with your image
|
||||||
radius: 20,
|
radius: 20,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -63,45 +103,91 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 8.0),
|
||||||
|
child: Text(
|
||||||
|
"Hi Trina Bakshi",
|
||||||
|
style: GoogleFonts.sriracha().copyWith(fontSize: 20),
|
||||||
|
),
|
||||||
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
|
|
||||||
// Account Info Card
|
// Account Info Card
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.all(16),
|
padding: const EdgeInsets.all(24),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.blue[700],
|
color: Theme.of(context).primaryColor,
|
||||||
borderRadius: BorderRadius.circular(16),
|
borderRadius: BorderRadius.circular(16),
|
||||||
),
|
),
|
||||||
child: const Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Text("Account Number: ", style:
|
const Text("Account Number: ",
|
||||||
|
style:
|
||||||
TextStyle(color: Colors.white, fontSize: 12)),
|
TextStyle(color: Colors.white, fontSize: 12)),
|
||||||
Text("03000156789462302", style:
|
DropdownButton<String>(
|
||||||
TextStyle(color: Colors.white, fontSize: 14)),
|
value: selectedAccount,
|
||||||
Padding(
|
dropdownColor: Theme.of(context).primaryColor,
|
||||||
padding: EdgeInsets.only(left: 5.0),
|
underline: const SizedBox(),
|
||||||
child: Icon(Symbols.keyboard_arrow_down, color: Colors.white),
|
icon: const Icon(Icons.keyboard_arrow_down),
|
||||||
|
iconEnabledColor: Colors.white,
|
||||||
|
style: const TextStyle(
|
||||||
|
color: Colors.white, fontSize: 14),
|
||||||
|
items: accountNumbers.map((String acc) {
|
||||||
|
return DropdownMenuItem<String>(
|
||||||
|
value: acc,
|
||||||
|
child: Text(acc,
|
||||||
|
style: const TextStyle(
|
||||||
|
color: Colors.white, fontSize: 14)),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
onChanged: (String? newValue) {
|
||||||
|
setState(() {
|
||||||
|
selectedAccount = newValue!;
|
||||||
|
});
|
||||||
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
SizedBox(height: 15),
|
const SizedBox(height: 15),
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text("₹ *****", style: TextStyle(color: Colors.white,
|
const Text("₹ ",
|
||||||
fontSize: 24, fontWeight: FontWeight.w700)),
|
style: const TextStyle(
|
||||||
Icon(Symbols.visibility_lock, color: Colors.white),
|
color: Colors.white,
|
||||||
|
fontSize: 40,
|
||||||
|
fontWeight: FontWeight.w700)),
|
||||||
|
Text(isVisible ? "1,23,456" : "*****",
|
||||||
|
style: const TextStyle(
|
||||||
|
color: Colors.white,
|
||||||
|
fontSize: 30,
|
||||||
|
fontWeight: FontWeight.w700)),
|
||||||
|
const Spacer(),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
setState(() {
|
||||||
|
isVisible = !isVisible;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
child: Icon(
|
||||||
|
isVisible
|
||||||
|
? Symbols.visibility_lock
|
||||||
|
: Symbols.visibility,
|
||||||
|
color: Colors.white)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 18),
|
const SizedBox(height: 18),
|
||||||
const Text('Quick Links', style: TextStyle(fontSize: 15),),
|
const Text(
|
||||||
|
'Quick Links',
|
||||||
|
style: TextStyle(fontSize: 15),
|
||||||
|
),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
|
|
||||||
// Quick Links
|
// Quick Links
|
||||||
@@ -111,42 +197,56 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|||||||
physics: const NeverScrollableScrollPhysics(),
|
physics: const NeverScrollableScrollPhysics(),
|
||||||
children: [
|
children: [
|
||||||
_buildQuickLink(Symbols.id_card, "Customer \n Info", () {
|
_buildQuickLink(Symbols.id_card, "Customer \n Info", () {
|
||||||
Navigator.push(context, MaterialPageRoute(
|
Navigator.push(
|
||||||
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
builder: (context) => const CustomerInfoScreen()));
|
builder: (context) => const CustomerInfoScreen()));
|
||||||
}),
|
}),
|
||||||
_buildQuickLink(Symbols.currency_rupee, "Quick \n Pay",
|
_buildQuickLink(Symbols.currency_rupee, "Quick \n Pay", () {
|
||||||
() {
|
Navigator.push(
|
||||||
Navigator.push(context, MaterialPageRoute(
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
builder: (context) => const QuickPayScreen()));
|
builder: (context) => const QuickPayScreen()));
|
||||||
}),
|
}),
|
||||||
_buildQuickLink(Symbols.send_money, "Fund \n Transfer",
|
_buildQuickLink(Symbols.send_money, "Fund \n Transfer", () {
|
||||||
() {
|
Navigator.push(
|
||||||
Navigator.push(context, MaterialPageRoute(
|
context,
|
||||||
builder: (context) => const FundTransferBeneficiaryScreen()));
|
MaterialPageRoute(
|
||||||
|
builder: (context) =>
|
||||||
|
const FundTransferBeneficiaryScreen()));
|
||||||
}),
|
}),
|
||||||
_buildQuickLink(Symbols.server_person, "Account \n Info",
|
_buildQuickLink(Symbols.server_person, "Account \n Info", () {
|
||||||
(){
|
Navigator.push(
|
||||||
Navigator.push(context, MaterialPageRoute(
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
builder: (context) => const AccountInfoScreen()));
|
builder: (context) => const AccountInfoScreen()));
|
||||||
}),
|
}),
|
||||||
_buildQuickLink(Symbols.receipt_long, "Account \n History",
|
_buildQuickLink(Symbols.receipt_long, "Account \n Statement",
|
||||||
() {
|
() {
|
||||||
Navigator.push(context, MaterialPageRoute(
|
Navigator.push(
|
||||||
builder: (context) => const AccountStatementScreen()));
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (context) =>
|
||||||
|
const AccountStatementScreen()));
|
||||||
}),
|
}),
|
||||||
_buildQuickLink(Symbols.checkbook, "Handle \n Cheque",
|
// _buildQuickLink(Symbols.checkbook, "Handle \n Cheque", () {
|
||||||
() {
|
// Navigator.push(
|
||||||
Navigator.push(context, MaterialPageRoute(
|
// context,
|
||||||
builder: (context) => const ChequeManagementScreen()));
|
// MaterialPageRoute(
|
||||||
|
// builder: (context) =>
|
||||||
|
// const ChequeManagementScreen()));
|
||||||
|
// }),
|
||||||
|
_buildQuickLink(Icons.group, "Manage \n Beneficiary", () {
|
||||||
|
Navigator.push(
|
||||||
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (context) =>
|
||||||
|
const ManageBeneficiariesScreen()));
|
||||||
}),
|
}),
|
||||||
_buildQuickLink(Icons.group, "Manage \n Beneficiary",
|
_buildQuickLink(Symbols.support_agent, "Contact \n Us", () {
|
||||||
() {
|
Navigator.push(
|
||||||
Navigator.push(context, MaterialPageRoute(
|
context,
|
||||||
builder: (context) => const ManageBeneficiariesScreen()));
|
MaterialPageRoute(
|
||||||
}),
|
|
||||||
_buildQuickLink(Symbols.support_agent, "Contact \n Us",
|
|
||||||
() {
|
|
||||||
Navigator.push(context, MaterialPageRoute(
|
|
||||||
builder: (context) => const EnquiryScreen()));
|
builder: (context) => const EnquiryScreen()));
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
@@ -156,16 +256,20 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|||||||
// Recent Transactions
|
// Recent Transactions
|
||||||
const Align(
|
const Align(
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
child: Text("Recent Transactions", style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold)),
|
child: Text("Recent Transactions",
|
||||||
|
style:
|
||||||
|
TextStyle(fontSize: 16, fontWeight: FontWeight.bold)),
|
||||||
),
|
),
|
||||||
...transactions.map((tx) => ListTile(
|
...transactions.map((tx) => ListTile(
|
||||||
leading: Icon(tx['type'] == 'in' ? Symbols.call_received : Symbols.call_made, color: tx['type'] == 'in' ? Colors.green : Colors.red),
|
leading: Icon(
|
||||||
|
tx['type'] == 'in'
|
||||||
|
? Symbols.call_received
|
||||||
|
: Symbols.call_made,
|
||||||
|
color: tx['type'] == 'in' ? Colors.green : Colors.red),
|
||||||
title: Text(tx['name']!),
|
title: Text(tx['name']!),
|
||||||
subtitle: Text(tx['date']!),
|
subtitle: Text(tx['date']!),
|
||||||
trailing: Text(tx['amount']!),
|
trailing: Text(tx['amount']!),
|
||||||
)),
|
)),
|
||||||
|
|
||||||
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -179,9 +283,11 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Icon(icon, size: 30, color: Colors.blue[700]),
|
Icon(icon, size: 30, color: Theme.of(context).primaryColor),
|
||||||
const SizedBox(height: 4),
|
const SizedBox(height: 4),
|
||||||
Text(label, textAlign: TextAlign.center, style: const TextStyle(fontSize: 12)),
|
Text(label,
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
style: const TextStyle(fontSize: 12)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@@ -98,6 +98,17 @@ class _FundTransferScreen extends State<FundTransferScreen> {
|
|||||||
body: Column(
|
body: Column(
|
||||||
children: [
|
children: [
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
const Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text('Debit from:'),
|
||||||
|
Text(
|
||||||
|
'0300015678903456',
|
||||||
|
style: TextStyle(fontSize: 18, fontWeight: FontWeight.w500),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
const SizedBox(height: 20),
|
||||||
const Text('Enter Amount', style: TextStyle(fontSize: 20)),
|
const Text('Enter Amount', style: TextStyle(fontSize: 20)),
|
||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
Container(
|
Container(
|
||||||
|
@@ -5,7 +5,7 @@ import 'package:path_provider/path_provider.dart';
|
|||||||
import 'package:screenshot/screenshot.dart';
|
import 'package:screenshot/screenshot.dart';
|
||||||
import 'package:social_share/social_share.dart';
|
import 'package:social_share/social_share.dart';
|
||||||
|
|
||||||
import '../../dashboard/screens/dashboard_screen.dart';
|
import '../../../app.dart';
|
||||||
|
|
||||||
class TransactionSuccessScreen extends StatefulWidget {
|
class TransactionSuccessScreen extends StatefulWidget {
|
||||||
const TransactionSuccessScreen({super.key});
|
const TransactionSuccessScreen({super.key});
|
||||||
@@ -116,7 +116,7 @@ class _TransactionSuccessScreen extends State<TransactionSuccessScreen> {
|
|||||||
Navigator.push(
|
Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(
|
MaterialPageRoute(
|
||||||
builder: (context) => const DashboardScreen()));
|
builder: (context) => const NavigationScaffold()));
|
||||||
},
|
},
|
||||||
style: ElevatedButton.styleFrom(
|
style: ElevatedButton.styleFrom(
|
||||||
shape: const StadiumBorder(),
|
shape: const StadiumBorder(),
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_swipe_button/flutter_swipe_button.dart';
|
||||||
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
|
||||||
|
import '../../fund_transfer/screens/transaction_pin_screen.dart';
|
||||||
|
|
||||||
class QuickPayOutsideBankScreen extends StatefulWidget {
|
class QuickPayOutsideBankScreen extends StatefulWidget {
|
||||||
const QuickPayOutsideBankScreen({super.key});
|
const QuickPayOutsideBankScreen({super.key});
|
||||||
|
|
||||||
@@ -14,6 +17,7 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
|
|
||||||
// Controllers
|
// Controllers
|
||||||
final accountNumberController = TextEditingController();
|
final accountNumberController = TextEditingController();
|
||||||
|
final confirmAccountNumberController = TextEditingController();
|
||||||
final nameController = TextEditingController();
|
final nameController = TextEditingController();
|
||||||
final bankNameController = TextEditingController();
|
final bankNameController = TextEditingController();
|
||||||
final branchNameController = TextEditingController();
|
final branchNameController = TextEditingController();
|
||||||
@@ -29,6 +33,7 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
void dispose() {
|
void dispose() {
|
||||||
// Dispose controllers
|
// Dispose controllers
|
||||||
accountNumberController.dispose();
|
accountNumberController.dispose();
|
||||||
|
confirmAccountNumberController.dispose();
|
||||||
nameController.dispose();
|
nameController.dispose();
|
||||||
bankNameController.dispose();
|
bankNameController.dispose();
|
||||||
branchNameController.dispose();
|
branchNameController.dispose();
|
||||||
@@ -49,7 +54,7 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
title: const Text(
|
title: const Text(
|
||||||
'Quick Pay - Other Bank',
|
'Quick Pay - Outside Bank',
|
||||||
style: TextStyle(color: Colors.black, fontWeight: FontWeight.w500),
|
style: TextStyle(color: Colors.black, fontWeight: FontWeight.w500),
|
||||||
),
|
),
|
||||||
centerTitle: false,
|
centerTitle: false,
|
||||||
@@ -70,7 +75,17 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
key: _formKey,
|
key: _formKey,
|
||||||
child: ListView(
|
child: ListView(
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 25),
|
const SizedBox(height: 10),
|
||||||
|
const Row(
|
||||||
|
children: [
|
||||||
|
Text('Debit from:'),
|
||||||
|
Text(
|
||||||
|
'0300015678903456',
|
||||||
|
style: TextStyle(fontSize: 18, fontWeight: FontWeight.w500),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
const SizedBox(height: 20),
|
||||||
TextFormField(
|
TextFormField(
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
labelText: 'Account Number',
|
labelText: 'Account Number',
|
||||||
@@ -87,6 +102,7 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
),
|
),
|
||||||
controller: accountNumberController,
|
controller: accountNumberController,
|
||||||
keyboardType: TextInputType.number,
|
keyboardType: TextInputType.number,
|
||||||
|
obscureText: true,
|
||||||
textInputAction: TextInputAction.next,
|
textInputAction: TextInputAction.next,
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
if (value == null || value.isEmpty) {
|
if (value == null || value.isEmpty) {
|
||||||
@@ -97,6 +113,35 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
const SizedBox(height: 24),
|
||||||
|
TextFormField(
|
||||||
|
controller: confirmAccountNumberController,
|
||||||
|
decoration: const InputDecoration(
|
||||||
|
labelText: 'Confirm Account Number',
|
||||||
|
// prefixIcon: Icon(Icons.person),
|
||||||
|
border: OutlineInputBorder(),
|
||||||
|
isDense: true,
|
||||||
|
filled: true,
|
||||||
|
fillColor: Colors.white,
|
||||||
|
enabledBorder: OutlineInputBorder(
|
||||||
|
borderSide: BorderSide(color: Colors.black),
|
||||||
|
),
|
||||||
|
focusedBorder: OutlineInputBorder(
|
||||||
|
borderSide: BorderSide(color: Colors.black, width: 2),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
textInputAction: TextInputAction.next,
|
||||||
|
validator: (value) {
|
||||||
|
if (value == null || value.isEmpty) {
|
||||||
|
return 'Re-enter account number';
|
||||||
|
}
|
||||||
|
if (value != accountNumberController.text) {
|
||||||
|
return 'Account numbers do not match';
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
),
|
||||||
const SizedBox(height: 25),
|
const SizedBox(height: 25),
|
||||||
TextFormField(
|
TextFormField(
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
@@ -296,32 +341,40 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
Expanded(child: buildTransactionModeSelector()),
|
Expanded(child: buildTransactionModeSelector()),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 45),
|
const SizedBox(height: 45),
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: SizedBox(
|
child: SwipeButton.expand(
|
||||||
width: 250,
|
thumb: const Icon(
|
||||||
child: ElevatedButton(
|
Icons.arrow_forward,
|
||||||
style: ElevatedButton.styleFrom(
|
color: Colors.white,
|
||||||
shape: const StadiumBorder(),
|
|
||||||
padding: const EdgeInsets.symmetric(vertical: 16),
|
|
||||||
backgroundColor: Colors.blue[900],
|
|
||||||
foregroundColor: Colors.white,
|
|
||||||
),
|
),
|
||||||
onPressed: () {
|
activeThumbColor: Colors.blue[900],
|
||||||
|
activeTrackColor: Colors.blue.shade100,
|
||||||
|
borderRadius: BorderRadius.circular(30),
|
||||||
|
height: 56,
|
||||||
|
child: const Text(
|
||||||
|
"Swipe to Pay",
|
||||||
|
style:
|
||||||
|
TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
|
onSwipe: () {
|
||||||
if (_formKey.currentState!.validate()) {
|
if (_formKey.currentState!.validate()) {
|
||||||
// Perform payment logic
|
// Perform payment logic
|
||||||
final selectedMode = transactionModes[selectedTransactionIndex];
|
final selectedMode =
|
||||||
|
transactionModes[selectedTransactionIndex];
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
SnackBar(content: Text('Paying via $selectedMode...')),
|
SnackBar(
|
||||||
|
content: Text('Paying via $selectedMode...')),
|
||||||
);
|
);
|
||||||
|
Navigator.push(
|
||||||
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (context) =>
|
||||||
|
const TransactionPinScreen()));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: const Text('Pay'),
|
)),
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -347,7 +400,7 @@ class _QuickPayOutsideBankScreen extends State<QuickPayOutsideBankScreen> {
|
|||||||
color: isSelected ? Colors.blue[200] : Colors.white,
|
color: isSelected ? Colors.blue[200] : Colors.white,
|
||||||
borderRadius: BorderRadius.circular(5),
|
borderRadius: BorderRadius.circular(5),
|
||||||
border: Border.all(
|
border: Border.all(
|
||||||
color: isSelected? Colors.blue : Colors.grey,
|
color: isSelected ? Colors.blue : Colors.grey,
|
||||||
width: isSelected ? 0 : 1.2,
|
width: isSelected ? 0 : 1.2,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_swipe_button/flutter_swipe_button.dart';
|
||||||
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
|
||||||
|
import '../../fund_transfer/screens/transaction_pin_screen.dart';
|
||||||
|
|
||||||
class QuickPayWithinBankScreen extends StatefulWidget {
|
class QuickPayWithinBankScreen extends StatefulWidget {
|
||||||
const QuickPayWithinBankScreen({super.key});
|
const QuickPayWithinBankScreen({super.key});
|
||||||
|
|
||||||
@@ -12,6 +15,7 @@ class _QuickPayWithinBankScreen extends State<QuickPayWithinBankScreen> {
|
|||||||
final _formKey = GlobalKey<FormState>();
|
final _formKey = GlobalKey<FormState>();
|
||||||
|
|
||||||
final TextEditingController accountNumberController = TextEditingController();
|
final TextEditingController accountNumberController = TextEditingController();
|
||||||
|
final TextEditingController confirmAccountNumberController = TextEditingController();
|
||||||
final TextEditingController nameController = TextEditingController();
|
final TextEditingController nameController = TextEditingController();
|
||||||
final TextEditingController amountController = TextEditingController();
|
final TextEditingController amountController = TextEditingController();
|
||||||
|
|
||||||
@@ -47,7 +51,17 @@ class _QuickPayWithinBankScreen extends State<QuickPayWithinBankScreen> {
|
|||||||
key: _formKey,
|
key: _formKey,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 25),
|
const SizedBox(height: 10),
|
||||||
|
const Row(
|
||||||
|
children: [
|
||||||
|
Text('Debit from:'),
|
||||||
|
Text(
|
||||||
|
'0300015678903456',
|
||||||
|
style: TextStyle(fontSize: 18, fontWeight: FontWeight.w500),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
const SizedBox(height: 20),
|
||||||
TextFormField(
|
TextFormField(
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
labelText: 'Account Number',
|
labelText: 'Account Number',
|
||||||
@@ -64,6 +78,7 @@ class _QuickPayWithinBankScreen extends State<QuickPayWithinBankScreen> {
|
|||||||
),
|
),
|
||||||
controller: accountNumberController,
|
controller: accountNumberController,
|
||||||
keyboardType: TextInputType.number,
|
keyboardType: TextInputType.number,
|
||||||
|
obscureText: true,
|
||||||
textInputAction: TextInputAction.next,
|
textInputAction: TextInputAction.next,
|
||||||
validator: (value) {
|
validator: (value) {
|
||||||
if (value == null || value.isEmpty) {
|
if (value == null || value.isEmpty) {
|
||||||
@@ -84,6 +99,35 @@ class _QuickPayWithinBankScreen extends State<QuickPayWithinBankScreen> {
|
|||||||
),
|
),
|
||||||
)),
|
)),
|
||||||
const SizedBox(height: 25),
|
const SizedBox(height: 25),
|
||||||
|
TextFormField(
|
||||||
|
controller: confirmAccountNumberController,
|
||||||
|
decoration: const InputDecoration(
|
||||||
|
labelText: 'Confirm Account Number',
|
||||||
|
// prefixIcon: Icon(Icons.person),
|
||||||
|
border: OutlineInputBorder(),
|
||||||
|
isDense: true,
|
||||||
|
filled: true,
|
||||||
|
fillColor: Colors.white,
|
||||||
|
enabledBorder: OutlineInputBorder(
|
||||||
|
borderSide: BorderSide(color: Colors.black),
|
||||||
|
),
|
||||||
|
focusedBorder: OutlineInputBorder(
|
||||||
|
borderSide: BorderSide(color: Colors.black, width: 2),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
keyboardType: TextInputType.number,
|
||||||
|
textInputAction: TextInputAction.next,
|
||||||
|
validator: (value) {
|
||||||
|
if (value == null || value.isEmpty) {
|
||||||
|
return 'Re-enter account number';
|
||||||
|
}
|
||||||
|
if (value != accountNumberController.text) {
|
||||||
|
return 'Account numbers do not match';
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
),
|
||||||
|
const SizedBox(height: 24),
|
||||||
TextFormField(
|
TextFormField(
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
labelText: 'Name',
|
labelText: 'Name',
|
||||||
@@ -149,27 +193,32 @@ class _QuickPayWithinBankScreen extends State<QuickPayWithinBankScreen> {
|
|||||||
const SizedBox(height: 45),
|
const SizedBox(height: 45),
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: SizedBox(
|
child: SwipeButton.expand(
|
||||||
width: 250,
|
thumb: const Icon(
|
||||||
height: 50,
|
Icons.arrow_forward,
|
||||||
child: ElevatedButton(
|
color: Colors.white,
|
||||||
style: ElevatedButton.styleFrom(
|
|
||||||
shape: const StadiumBorder(),
|
|
||||||
padding: const EdgeInsets.symmetric(vertical: 16),
|
|
||||||
backgroundColor: Colors.blue[900],
|
|
||||||
foregroundColor: Colors.white,
|
|
||||||
),
|
),
|
||||||
onPressed: () {
|
activeThumbColor: Colors.blue[900],
|
||||||
|
activeTrackColor: Colors.blue.shade100,
|
||||||
|
borderRadius: BorderRadius.circular(30),
|
||||||
|
height: 56,
|
||||||
|
child: const Text(
|
||||||
|
"Swipe to Pay",
|
||||||
|
style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
|
onSwipe: () {
|
||||||
if (_formKey.currentState!.validate()) {
|
if (_formKey.currentState!.validate()) {
|
||||||
// Perform payment logic
|
// Perform payment logic
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
const SnackBar(
|
const SnackBar(
|
||||||
content: Text('Processing Payment...')),
|
content: Text('Processing Payment...')),
|
||||||
);
|
);
|
||||||
|
Navigator.push(
|
||||||
|
context,
|
||||||
|
MaterialPageRoute(
|
||||||
|
builder: (context) => const TransactionPinScreen()));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: const Text('Pay'),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||||
|
|
||||||
class ServiceScreen extends StatefulWidget {
|
class ServiceScreen extends StatefulWidget {
|
||||||
const ServiceScreen({super.key});
|
const ServiceScreen({super.key});
|
||||||
@@ -11,7 +12,102 @@ class _ServiceScreen extends State<ServiceScreen>{
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
automaticallyImplyLeading: false,
|
||||||
|
title: const Text('Services', style: TextStyle(color: Colors.black,
|
||||||
|
fontWeight: FontWeight.w500),),
|
||||||
|
centerTitle: false,
|
||||||
|
actions: [
|
||||||
|
// IconButton(
|
||||||
|
// icon: const Icon(Icons.notifications_outlined),
|
||||||
|
// onPressed: () {
|
||||||
|
// // Navigate to notifications
|
||||||
|
// },
|
||||||
|
// ),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(right: 10.0),
|
||||||
|
child: InkWell(
|
||||||
|
borderRadius: BorderRadius.circular(20),
|
||||||
|
onTap: (){
|
||||||
|
// Navigator.push(context, MaterialPageRoute(
|
||||||
|
// builder: (context) => const CustomerInfoScreen()));
|
||||||
|
},
|
||||||
|
child: const CircleAvatar(
|
||||||
|
backgroundImage: AssetImage('assets/images/avatar.jpg'), // Replace with your image
|
||||||
|
radius: 20,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
|
||||||
|
body: ListView(
|
||||||
|
children: [
|
||||||
|
ServiceManagementTile(
|
||||||
|
icon: Symbols.add,
|
||||||
|
label: 'Account Opening Request - Deposit',
|
||||||
|
onTap: () {
|
||||||
|
|
||||||
|
},
|
||||||
|
),
|
||||||
|
|
||||||
|
const Divider(height: 1,),
|
||||||
|
|
||||||
|
ServiceManagementTile(
|
||||||
|
icon: Symbols.add,
|
||||||
|
label: 'Account Opening Request - Loan',
|
||||||
|
onTap: () {
|
||||||
|
|
||||||
|
},
|
||||||
|
),
|
||||||
|
|
||||||
|
const Divider(height: 1,),
|
||||||
|
|
||||||
|
ServiceManagementTile(
|
||||||
|
icon: Symbols.captive_portal,
|
||||||
|
label: 'Quick Links',
|
||||||
|
onTap: () {
|
||||||
|
|
||||||
|
},
|
||||||
|
),
|
||||||
|
|
||||||
|
const Divider(height: 1,),
|
||||||
|
|
||||||
|
ServiceManagementTile(
|
||||||
|
icon: Symbols.missing_controller,
|
||||||
|
label: 'Branch Locator',
|
||||||
|
onTap: () {
|
||||||
|
|
||||||
|
},
|
||||||
|
),
|
||||||
|
|
||||||
|
const Divider(height: 1,)
|
||||||
|
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class ServiceManagementTile extends StatelessWidget {
|
||||||
|
final IconData icon;
|
||||||
|
final String label;
|
||||||
|
final VoidCallback onTap;
|
||||||
|
|
||||||
|
const ServiceManagementTile({
|
||||||
|
super.key,
|
||||||
|
required this.icon,
|
||||||
|
required this.label,
|
||||||
|
required this.onTap,
|
||||||
|
});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return ListTile(
|
||||||
|
leading: Icon(icon),
|
||||||
|
title: Text(label),
|
||||||
|
trailing: const Icon(Symbols.arrow_right, size: 20),
|
||||||
|
onTap: onTap,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
174
lib/l10n/app_bn.arb
Normal file
174
lib/l10n/app_bn.arb
Normal file
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"@@locale": "bn",
|
||||||
|
"app_title": "আইপিকেএস ম্যাপ",
|
||||||
|
"ipks": "আইপিকেএস",
|
||||||
|
"fingerprint_reason": "অ্যাপ শুরু করতে প্রমাণীকরণ করুন",
|
||||||
|
"@fingerprint_reason": {},
|
||||||
|
"m_pin_entry_prompt": "আপনার এমপিআইএন লিখুন",
|
||||||
|
"register_prompt": "রেজিস্টার?",
|
||||||
|
"try_another_way": "অন্য উপায় চেষ্টা করুন",
|
||||||
|
"username": "ব্যবহারকারীর নাম",
|
||||||
|
"password": "পাসওয়ার্ড",
|
||||||
|
"login": "লগইন",
|
||||||
|
"register": "রেজিস্টার",
|
||||||
|
"mobile_number": "মোবাইল নম্বর",
|
||||||
|
"aadhaar_number": "আধার নম্বর",
|
||||||
|
"date_of_birth": "জন্ম তারিখ",
|
||||||
|
"pacs_id": "প্যাকস আইডি",
|
||||||
|
"view_full_kyc": "পূর্ণ কেওয়াইসি দেখুন",
|
||||||
|
"account_summary": "হিসাবের সংক্ষিপ্ত সমূহ",
|
||||||
|
"account_statement": "হিসাবের বিবৃতি",
|
||||||
|
"customer_details": "গ্রাহকের বিবরণ",
|
||||||
|
"home": "হোম",
|
||||||
|
"details": "বিস্তারিত",
|
||||||
|
"statement": "বিবৃতি",
|
||||||
|
"no_of_active_accounts": "সক্রিয় হিসাবের সংখ্যা",
|
||||||
|
"pan_number": "প্যান নম্বর",
|
||||||
|
"mirror_acct_no": "মিরর হিসাব নম্বর",
|
||||||
|
"cif": "সিআইএফ",
|
||||||
|
"product_name": "পণ্যের নাম",
|
||||||
|
"acct_opening_dt": "হিসাব খোলার তারিখ",
|
||||||
|
"account_status": "হিসাবের অবস্থা",
|
||||||
|
"available_bal": "উপলব্ধ ব্যালেন্স",
|
||||||
|
"interest_rate": "সুদের হার",
|
||||||
|
"acct_type": "হিসাবের ধরন",
|
||||||
|
"acct_no": "হিসাব নম্বর",
|
||||||
|
"date_range": "তারিখের পরিসীমা",
|
||||||
|
"amount_range": "পরিমাণের পরিসীমা",
|
||||||
|
"save": "সংরক্ষণ করুন",
|
||||||
|
"min": "সর্বনিম্ন",
|
||||||
|
"max": "সর্বোচ্চ",
|
||||||
|
"min_amt": "ন্যূনতম পরিমাণ",
|
||||||
|
"max_amt": "সর্বোচ্চ পরিমাণ",
|
||||||
|
"customer_no_search_message": "আপনার আইপিকেএস গ্রাহক নম্বর লিখুন দয়া করে। আপনার গ্রাহক নম্বরটি আইপিকেএস ডেটাবেসে আপনার বিবরণ খুঁজে পেতে ব্যবহৃত হয়।",
|
||||||
|
"search": "অনুসন্ধান",
|
||||||
|
"details_verification_message": "দয়া করে আপনার বিবরণ যাচাই করুন।",
|
||||||
|
"customer_no": "গ্রাহক নম্বর",
|
||||||
|
"name": "নাম",
|
||||||
|
"email": "ইমেল",
|
||||||
|
"pacs_name": "প্যাকস নাম",
|
||||||
|
"not_you_prompt": "না আপনি?",
|
||||||
|
"next": "পরবর্তী",
|
||||||
|
"otp_verification_message": "একটি ওটিপি মেসেজ আপনার নিবন্ধিত মোবাইল নম্বরে {masked_phone_number} প্রেরিত হয়েছে। এটি যাচাই করতে নিচে লিখুন।",
|
||||||
|
"@otp_verification_message": {
|
||||||
|
"placeholders": {
|
||||||
|
"masked_phone_number": {
|
||||||
|
"type": "String"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"otp": "ওটিপি",
|
||||||
|
"resend_otp_prompt": "পুনরায় ওটিপি প্রেরণ করুন?",
|
||||||
|
"new_credentials_message": "দয়া করে এমঅ্যাপ এর জন্য আপনার নতুন ব্যবহারকারী নাম এবং পাসওয়ার্ড তৈরি করুন",
|
||||||
|
"repeat_password": "পাসওয়ার্ড পুনরায় লিখুন",
|
||||||
|
"registration_success_display": "রেজিস্ট্রেশন সফল",
|
||||||
|
"goto_login_prompt": "লগইন পৃষ্ঠায় যান",
|
||||||
|
"marital_status": "বৈবাহিক অবস্থা",
|
||||||
|
"gender": "লিঙ্গ",
|
||||||
|
"address": "ঠিকানা",
|
||||||
|
"or": "অথবা",
|
||||||
|
"district": "জেলা",
|
||||||
|
"state": "রাজ্য",
|
||||||
|
"city": "শহর",
|
||||||
|
"pin_code": "পিন কোড",
|
||||||
|
"linked_sb_no": "সংযুক্ত এসবি হিসাব নম্বর",
|
||||||
|
"farmer_type": "কৃষকের ধরণ",
|
||||||
|
"guardian_name": "অভিভাবকের নাম",
|
||||||
|
"religion": "ধর্ম",
|
||||||
|
"caste": "জাতি",
|
||||||
|
"not_available": "পাওয়া যায়নি",
|
||||||
|
"no_accounts_found": "কোনও হিসাব পাওয়া যায়নি",
|
||||||
|
"account_holder": "হিসাব ধারক",
|
||||||
|
"customer_name": "গ্রাহকের নাম",
|
||||||
|
"sanction_amount": "অনুমোদিত পরিমাণ",
|
||||||
|
"sanction_date": "অনুমোদনের তারিখ",
|
||||||
|
"disbursed_amount": "বিতরণ করা পরিমাণ",
|
||||||
|
"interest_outstanding": "সুদের বকেয়া",
|
||||||
|
"principal_outstanding": "প্রধান বকেয়া",
|
||||||
|
"interest_paid": "সুদ প্রদান",
|
||||||
|
"principal_paid": "প্রধান প্রদান",
|
||||||
|
"emi_amount": "ইএমআই পরিমাণ",
|
||||||
|
"due_date": "নির্ধারিত তারিখ",
|
||||||
|
"last_repayment_date": "সর্বশেষ পরিশোধের তারিখ",
|
||||||
|
"interest_description": "সুদের বিবরণ",
|
||||||
|
"total_interest_outstanding": "মোট সুদের বকেয়া",
|
||||||
|
"total_interest_accrued": "মোট সুদ উত্থাপন",
|
||||||
|
"total_interest_paid": "মোট সুদ প্রদান",
|
||||||
|
"loan_type": "ঋণের ধরণ",
|
||||||
|
"old_account_number": "পুরাতন হিসাব নম্বর",
|
||||||
|
"penal_interest_rate": "জরিমানা সুদের হার",
|
||||||
|
"cbs_account_number": "সিবিএস হিসাব নম্বর",
|
||||||
|
"nominee_name": "নোমিনির নাম",
|
||||||
|
"open_date": "খোলার তারিখ",
|
||||||
|
"interest_available": "সুদ উপলব্ধ",
|
||||||
|
"interest_from_date": "সুদ শুরুর তারিখ",
|
||||||
|
"interest_to_date": "সুদ শেষের তারিখ",
|
||||||
|
"term_value": "মেয়াদ মান",
|
||||||
|
"maturity_value": "পরিপ্রেক্ষিত মূল্য",
|
||||||
|
"maturity_date": "পরিপ্রেক্ষিত তারিখ",
|
||||||
|
"term_start_date": "মেয়াদ শুরুর তারিখ",
|
||||||
|
"term_end_date": "মেয়াদ শেষের তারিখ",
|
||||||
|
"interest_projected": "সুদ প্রকাশ্য",
|
||||||
|
"interest_capitalized": "সুদ পুঁজিবদ্ধ",
|
||||||
|
"no_of_installments_paid": "পরিশোধিত কিস্তির সংখ্যা",
|
||||||
|
"next_due_date": "পরবর্তী মেয়াদ শেষের তারিখ",
|
||||||
|
"rd_penal_count": "আরডি জরিমানা গণনা",
|
||||||
|
"hold_value": "ধার মান",
|
||||||
|
"term_length": "মেয়াদের দৈর্ঘ্য",
|
||||||
|
"interest_repayment_method": "সুদ পরিশোধের পদ্ধতি",
|
||||||
|
"mode_of_account": "হিসাবের মোড",
|
||||||
|
"secondary_cif_number": "দ্বিতীয় সিআইএফ নম্বর",
|
||||||
|
"secondary_cif_name": "দ্বিতীয় সিআইএফ নাম",
|
||||||
|
"no_statements_found": "কোনও বিবৃতি পাওয়া যায়নি",
|
||||||
|
"date_range_exceeds_10_days": "10 দিনের বেশি সময়কাল নির্বাচন করুন না",
|
||||||
|
"last_10_transactions": "সর্বশেষ 10 লেনদেন প্রদর্শিত হচ্ছে",
|
||||||
|
"select_account_type": "হিসাবের ধরন নির্বাচন করুন",
|
||||||
|
"select_account_number": "হিসাব নম্বর নির্বাচন করুন",
|
||||||
|
"select_date_range": "তারিখের পরিসীমা নির্বাচন করুন",
|
||||||
|
"please_wait": "অপেক্ষা করুন...",
|
||||||
|
"preferences": "পছন্দসমূহ",
|
||||||
|
"everforest": "এভারফরেস্ট",
|
||||||
|
"rosy": "রোসি",
|
||||||
|
"skypeia": "স্কাইপিয়া",
|
||||||
|
"marigold": "গাঁদা ফুল",
|
||||||
|
"select_language": "ভাষা নির্বাচন করুন",
|
||||||
|
"english": "ইংরেজি",
|
||||||
|
"hindi": "হিন্দি",
|
||||||
|
"bengali": "বাংলা",
|
||||||
|
"malayalam": "মালায়ালম",
|
||||||
|
"dark_theme": "গা থিম",
|
||||||
|
"color_theme": "রঙের থিম",
|
||||||
|
"language": "ভাষা",
|
||||||
|
"deposit": "জমা",
|
||||||
|
"loan": "ঋণ",
|
||||||
|
"export": "রপ্তানি",
|
||||||
|
"invalid_credentials": "অবৈধ পরিচয়পত্র",
|
||||||
|
"logout": "লগআউট",
|
||||||
|
"backend_ip": "ব্যাকএন্ড আইপি",
|
||||||
|
"bank_branch_no": "ব্যাংক শাখা নম্বর",
|
||||||
|
"ifsc_code": "আইএফএসসি কোড",
|
||||||
|
"bank_branch_name": "ব্যাংক শাখার নাম",
|
||||||
|
"search_customer_paragraph": "অনুগ্রহ করে আপনার আইপিকেএস গ্রাহক নম্বর দিন। আপনার গ্রাহক নম্বর আইপিকেএস ডাটাবেসে আপনার বিবরণ খুঁজতে ব্যবহৃত হয়",
|
||||||
|
"invalid_customer_no": "অবৈধ গ্রাহক নম্বর",
|
||||||
|
"searching": "অনুসন্ধান করা হচ্ছে",
|
||||||
|
"invalid_otp": "অবৈধ ওটিপি",
|
||||||
|
"register_customer_message": "অনুগ্রহ করে এমঅ্যাপের জন্য আপনার নতুন ব্যবহারকারী নাম এবং পাসওয়ার্ড প্রবেশ করান",
|
||||||
|
"username_criteria": "৬টি অক্ষর, শুধুমাত্র অক্ষর এবং সংখ্যা",
|
||||||
|
"password_criteria": "একটি বড় হাতের অক্ষর, একটি ছোট হাতের অক্ষর, একটি সংখ্যা (৮টি অক্ষর)",
|
||||||
|
"passowrd_mismatch_msg": "পাসওয়ার্ডগুলি মেলে না",
|
||||||
|
"password_confirm": "পাসওয়ার্ড নিশ্চিত করুন",
|
||||||
|
"registration_successful": "নিবন্ধন সফল হয়েছে",
|
||||||
|
"registration_successful_message": "অনুগ্রহ করে আপনার নতুন পরিচয়পত্র দিয়ে লগইন করুন",
|
||||||
|
"goto_login": "লগইন পৃষ্ঠায় যান",
|
||||||
|
"socket_exception": "অনুগ্রহ করে আপনার ইন্টারনেট সংযোগ পরীক্ষা করুন",
|
||||||
|
"mpin_setup": "৪-সংখ্যার এমপিন সেট করুন",
|
||||||
|
"mpin_confirm": "আপনার এমপিন নিশ্চিত করুন",
|
||||||
|
"storage_permission_denied": "স্টোরেজ অনুমতি অস্বীকৃত হয়েছে",
|
||||||
|
"forgot_password": "পাসওয়ার্ড ভুলে গেছেন",
|
||||||
|
"forgot_password_search_user": "আপনার সিআইএফ নম্বর লিখুন",
|
||||||
|
"forgot_password_success": "রিসেট সফল হয়েছে",
|
||||||
|
"forgot_password_create": "আপনার নতুন পাসওয়ার্ড লিখুন",
|
||||||
|
"new_password": "নতুন পাসওয়ার্ড",
|
||||||
|
"security": "নিরাপত্তা",
|
||||||
|
"verify_mpin": "আপনার এমপিন যাচাই করুন"
|
||||||
|
}
|
174
lib/l10n/app_en.arb
Normal file
174
lib/l10n/app_en.arb
Normal file
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"@@locale": "en",
|
||||||
|
"app_title": "mApp",
|
||||||
|
"ipks": "IPKS",
|
||||||
|
"fingerprint_reason": "Authenticate to start app",
|
||||||
|
"@fingerprint_reason": {},
|
||||||
|
"m_pin_entry_prompt": "Enter your mPIN",
|
||||||
|
"register_prompt": "Register?",
|
||||||
|
"try_another_way": "Try another way",
|
||||||
|
"username": "Username",
|
||||||
|
"password": "Password",
|
||||||
|
"login": "Login",
|
||||||
|
"register": "Register",
|
||||||
|
"mobile_number": "Mobile Number",
|
||||||
|
"aadhaar_number": "Aadhaar Number",
|
||||||
|
"date_of_birth": "Date of Birth",
|
||||||
|
"pacs_id": "PACS id",
|
||||||
|
"view_full_kyc": "View full KYC",
|
||||||
|
"account_summary": "Account Summary",
|
||||||
|
"account_statement": "Account Statement",
|
||||||
|
"customer_details": "Customer Details",
|
||||||
|
"home": "Home",
|
||||||
|
"details": "Details",
|
||||||
|
"statement": "Statement",
|
||||||
|
"no_of_active_accounts": "Number of active accounts",
|
||||||
|
"pan_number": "PAN Number",
|
||||||
|
"mirror_acct_no": "Mirror Account Number",
|
||||||
|
"cif": "CIF",
|
||||||
|
"product_name": "Product Name",
|
||||||
|
"acct_opening_dt": "Account Opening Date",
|
||||||
|
"account_status": "Account Status",
|
||||||
|
"available_bal": "Available Balance",
|
||||||
|
"interest_rate": "Interest Rate",
|
||||||
|
"acct_type": "Account Type",
|
||||||
|
"acct_no": "Account Number",
|
||||||
|
"date_range": "Date Range",
|
||||||
|
"amount_range": "Amount Range",
|
||||||
|
"save": "Save",
|
||||||
|
"min": "Min",
|
||||||
|
"max": "Max",
|
||||||
|
"min_amt": "Min Amount",
|
||||||
|
"max_amt": "Max Amount",
|
||||||
|
"customer_no_search_message": "Please enter your IPKS customer number. Your customer number is used to search your details in the IPKS database.",
|
||||||
|
"search": "Search",
|
||||||
|
"details_verification_message": "Please verify your details.",
|
||||||
|
"customer_no": "Customer Number",
|
||||||
|
"name": "Name",
|
||||||
|
"email": "Email",
|
||||||
|
"pacs_name": "PACS Name",
|
||||||
|
"not_you_prompt": "Not You?",
|
||||||
|
"next": "Next",
|
||||||
|
"otp_verification_message": "An OTP message has been sent to your registered mobile number {masked_phone_number}. Enter it below to verify your phone number.",
|
||||||
|
"@otp_verification_message": {
|
||||||
|
"placeholders": {
|
||||||
|
"masked_phone_number": {
|
||||||
|
"type": "String"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"otp": "OTP",
|
||||||
|
"resend_otp_prompt": "Resend OTP?",
|
||||||
|
"new_credentials_message": "Please create your new username and password for mApp",
|
||||||
|
"repeat_password": "Repeat Password",
|
||||||
|
"registration_success_display": "Registration success",
|
||||||
|
"goto_login_prompt": "Go to Login Page",
|
||||||
|
"marital_status": "Marital Status",
|
||||||
|
"gender": "Gender",
|
||||||
|
"address": "Address",
|
||||||
|
"or": "OR",
|
||||||
|
"district": "District",
|
||||||
|
"state": "State",
|
||||||
|
"city": "City",
|
||||||
|
"pin_code": "Pin code",
|
||||||
|
"linked_sb_no": "Linked SB Account Number",
|
||||||
|
"farmer_type": "Farmer Type",
|
||||||
|
"guardian_name": "Guardian Name",
|
||||||
|
"religion": "Religion",
|
||||||
|
"caste": "Caste",
|
||||||
|
"not_available": "Not Available",
|
||||||
|
"no_accounts_found": "No Accounts Found",
|
||||||
|
"account_holder": "Account Holder",
|
||||||
|
"customer_name": "Customer Name",
|
||||||
|
"sanction_amount": "Sanction Amount",
|
||||||
|
"sanction_date": "Sanction Date",
|
||||||
|
"disbursed_amount": "Disbursed Amount",
|
||||||
|
"interest_outstanding": "Interest Outstanding",
|
||||||
|
"principal_outstanding": "Principal Outstanding",
|
||||||
|
"interest_paid": "Interest Paid",
|
||||||
|
"principal_paid": "Principal Paid",
|
||||||
|
"emi_amount": "EMI Amount",
|
||||||
|
"due_date": "Due Date",
|
||||||
|
"last_repayment_date": "Last Repayment Date",
|
||||||
|
"interest_description": "Interest Description",
|
||||||
|
"total_interest_outstanding": "Total Interest Outstanding",
|
||||||
|
"total_interest_accrued": "Total Interest Accrued",
|
||||||
|
"total_interest_paid": "Total Interest Paid",
|
||||||
|
"loan_type": "Loan Type",
|
||||||
|
"old_account_number": "Old Account Number",
|
||||||
|
"penal_interest_rate": "Penal Interest Rate",
|
||||||
|
"cbs_account_number": "CBS Account Number",
|
||||||
|
"nominee_name": "Nominee Name",
|
||||||
|
"open_date": "Open Date",
|
||||||
|
"interest_available": "Interest Available",
|
||||||
|
"interest_from_date": "Interest From Date",
|
||||||
|
"interest_to_date": "Interest To Date",
|
||||||
|
"term_value": "Term Value",
|
||||||
|
"maturity_value": "Maturity Value",
|
||||||
|
"maturity_date": "Maturity Date",
|
||||||
|
"term_start_date": "Term Start Date",
|
||||||
|
"term_end_date": "Term End Date",
|
||||||
|
"interest_projected": "Interest Projected",
|
||||||
|
"interest_capitalized": "Interest Capitalized",
|
||||||
|
"no_of_installments_paid": "Number of Installments Paid",
|
||||||
|
"next_due_date": "Next Due Date",
|
||||||
|
"rd_penal_count": "RD Penal Count",
|
||||||
|
"hold_value": "Hold Value",
|
||||||
|
"term_length": "Term Length",
|
||||||
|
"interest_repayment_method": "Interest Repayment Method",
|
||||||
|
"mode_of_account": "Mode of Account",
|
||||||
|
"secondary_cif_number": "Secondary CIF Number",
|
||||||
|
"secondary_cif_name": "Secondary CIF Name",
|
||||||
|
"no_statements_found": "No Statements Found",
|
||||||
|
"date_range_exceeds_10_days": "Select duration of 10 days or less",
|
||||||
|
"last_10_transactions": "Displaying last 10 transactions",
|
||||||
|
"select_account_type": "Select Account Type",
|
||||||
|
"select_account_number": "Select Account Number",
|
||||||
|
"select_date_range": "Select Date Range",
|
||||||
|
"please_wait": "Please wait...",
|
||||||
|
"preferences": "Preferences",
|
||||||
|
"everforest": "Everforest",
|
||||||
|
"rosy": "Rosy",
|
||||||
|
"skypeia": "Skypeia",
|
||||||
|
"marigold": "Marigold",
|
||||||
|
"select_language": "Select Language",
|
||||||
|
"english": "English",
|
||||||
|
"hindi": "Hindi",
|
||||||
|
"bengali": "Bengali",
|
||||||
|
"malayalam": "Malayalam",
|
||||||
|
"dark_theme": "Dark Theme",
|
||||||
|
"color_theme": "Color Theme",
|
||||||
|
"language": "Language",
|
||||||
|
"deposit": "Deposit",
|
||||||
|
"loan": "Loan",
|
||||||
|
"export": "Export",
|
||||||
|
"invalid_credentials": "Invalid credentials",
|
||||||
|
"logout": "Logout",
|
||||||
|
"backend_ip": "Backend IP",
|
||||||
|
"bank_branch_no": "Bank Branch Number",
|
||||||
|
"ifsc_code": "IFSC code",
|
||||||
|
"bank_branch_name": "Bank Branch Name",
|
||||||
|
"search_customer_paragraph": "Please enter your IPKS customer number. Your customer number is used to search your details in the IPKS database",
|
||||||
|
"invalid_customer_no": "Invalid customer number",
|
||||||
|
"searching": "Searching",
|
||||||
|
"invalid_otp": "Invalid OTP",
|
||||||
|
"register_customer_message": "Please enter your new username and password for mApp",
|
||||||
|
"username_criteria": "6 characters, only letters and digits",
|
||||||
|
"password_criteria": "one uppercase, one lowercase, one number (8 characters)",
|
||||||
|
"passowrd_mismatch_msg": "The passwords doesn't match",
|
||||||
|
"password_confirm": "Confirm Password",
|
||||||
|
"registration_successful": "Registration Successful",
|
||||||
|
"registration_successful_message": "Please login with your new credentails",
|
||||||
|
"goto_login": "Got to Login Page",
|
||||||
|
"socket_exception": "Please check your internet connection",
|
||||||
|
"mpin_setup": "Setup 4-digit MPIN",
|
||||||
|
"mpin_confirm": "Confirm your MPIN",
|
||||||
|
"storage_permission_denied": "Storage Persmission denied",
|
||||||
|
"forgot_password": "Forgot Password",
|
||||||
|
"forgot_password_search_user": "Enter your CIF number",
|
||||||
|
"forgot_password_success": "Reset Successful",
|
||||||
|
"forgot_password_create": "Enter your new password",
|
||||||
|
"new_password": "New Password",
|
||||||
|
"security": "Security",
|
||||||
|
"verify_mpin": "Verify your MPIN"
|
||||||
|
}
|
174
lib/l10n/app_hi.arb
Normal file
174
lib/l10n/app_hi.arb
Normal file
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"@@locale": "hi",
|
||||||
|
"app_title": "आईपीकेएस ऐप",
|
||||||
|
"ipks": "आईपीकेएस",
|
||||||
|
"fingerprint_reason": "ऐप शुरू करने के लिए प्रमाणित करें",
|
||||||
|
"@fingerprint_reason": {},
|
||||||
|
"m_pin_entry_prompt": "अपना एम पिन दर्ज करें",
|
||||||
|
"register_prompt": "रजिस्टर करें?",
|
||||||
|
"try_another_way": "किसी अन्य तरीके की कोशिश करें",
|
||||||
|
"username": "उपयोगकर्ता नाम",
|
||||||
|
"password": "पासवर्ड",
|
||||||
|
"login": "लॉगिन",
|
||||||
|
"register": "रजिस्टर",
|
||||||
|
"mobile_number": "मोबाइल नंबर",
|
||||||
|
"aadhaar_number": "आधार नंबर",
|
||||||
|
"date_of_birth": "जन्म तिथि",
|
||||||
|
"pacs_id": "पैक्स आईडी",
|
||||||
|
"view_full_kyc": "पूरा केवाईसी देखें",
|
||||||
|
"account_summary": "हिसाब सारांश",
|
||||||
|
"account_statement": "हिसाब की बयान",
|
||||||
|
"customer_details": "ग्राहक विवरण",
|
||||||
|
"home": "होम",
|
||||||
|
"details": "विवरण",
|
||||||
|
"statement": "बयान",
|
||||||
|
"no_of_active_accounts": "सक्रिय खातों की संख्या",
|
||||||
|
"pan_number": "पैन नंबर",
|
||||||
|
"mirror_acct_no": "मिरर खाता नंबर",
|
||||||
|
"cif": "सीआईएफ",
|
||||||
|
"product_name": "उत्पाद का नाम",
|
||||||
|
"acct_opening_dt": "खाता खोलने की तिथि",
|
||||||
|
"account_status": "खाता की स्थिति",
|
||||||
|
"available_bal": "उपलब्ध शेष",
|
||||||
|
"interest_rate": "ब्याज दर",
|
||||||
|
"acct_type": "खाते का प्रकार",
|
||||||
|
"acct_no": "खाता संख्या",
|
||||||
|
"date_range": "तिथि सीमा",
|
||||||
|
"amount_range": "राशि सीमा",
|
||||||
|
"save": "सहेजें",
|
||||||
|
"min": "न्यूनतम",
|
||||||
|
"max": "अधिकतम",
|
||||||
|
"min_amt": "न्यूनतम राशि",
|
||||||
|
"max_amt": "अधिकतम राशि",
|
||||||
|
"customer_no_search_message": "कृपया अपना आईपीकेएस ग्राहक संख्या दर्ज करें। आपका ग्राहक संख्या आईपीकेएस डेटाबेस में आपका विवरण खोजने के लिए उपयोग किया जाता है।",
|
||||||
|
"search": "खोज",
|
||||||
|
"details_verification_message": "कृपया अपना विवरण सत्यापित करें।",
|
||||||
|
"customer_no": "ग्राहक संख्या",
|
||||||
|
"name": "नाम",
|
||||||
|
"email": "ईमेल",
|
||||||
|
"pacs_name": "पैक्स का नाम",
|
||||||
|
"not_you_prompt": "तुम नहीं?",
|
||||||
|
"next": "अगला",
|
||||||
|
"otp_verification_message": "एक ओटीपी संदेश आपके पंजीकृत मोबाइल नंबर {masked_phone_number} पर भेजा गया है। इसे नीचे दिए गए बॉक्स में दर्ज करके अपने फोन नंबर को सत्यापित करें।",
|
||||||
|
"@otp_verification_message": {
|
||||||
|
"placeholders": {
|
||||||
|
"masked_phone_number": {
|
||||||
|
"type": "String"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"otp": "ओटीपी",
|
||||||
|
"resend_otp_prompt": "ओटीपी पुनः भेजें?",
|
||||||
|
"new_credentials_message": "कृपया एमएपी के लिए अपना नया उपयोगकर्ता नाम और पासवर्ड बनाएं",
|
||||||
|
"repeat_password": "पासवर्ड दोहराएं",
|
||||||
|
"registration_success_display": "रजिस्ट्रेशन सफलता",
|
||||||
|
"goto_login_prompt": "लॉगिन पेज पर जाएं",
|
||||||
|
"marital_status": "वैवाहिक स्थिति",
|
||||||
|
"gender": "लिंग",
|
||||||
|
"address": "पता",
|
||||||
|
"or": "या",
|
||||||
|
"district": "जिला",
|
||||||
|
"state": "राज्य",
|
||||||
|
"city": "शहर",
|
||||||
|
"pin_code": "पिन कोड",
|
||||||
|
"linked_sb_no": "लिंक्ड एसबी खाता नंबर",
|
||||||
|
"farmer_type": "किसान प्रकार",
|
||||||
|
"guardian_name": "संरक्षक का नाम",
|
||||||
|
"religion": "धर्म",
|
||||||
|
"caste": "जाति",
|
||||||
|
"not_available": "उपलब्ध नहीं है",
|
||||||
|
"no_accounts_found": "कोई खाते नहीं मिला",
|
||||||
|
"account_holder": "खाता धारक",
|
||||||
|
"customer_name": "ग्राहक का नाम",
|
||||||
|
"sanction_amount": "स्वीकृत राशि",
|
||||||
|
"sanction_date": "स्वीकृति तिथि",
|
||||||
|
"disbursed_amount": "वितरित राशि",
|
||||||
|
"interest_outstanding": "बकाया ब्याज",
|
||||||
|
"principal_outstanding": "मुख्य बकाया",
|
||||||
|
"interest_paid": "ब्याज दिया",
|
||||||
|
"principal_paid": "मुख्य दिया",
|
||||||
|
"emi_amount": "ईएमआई राशि",
|
||||||
|
"due_date": "निर्धारित तिथि",
|
||||||
|
"last_repayment_date": "अंतिम प्रतिपूर्ति तिथि",
|
||||||
|
"interest_description": "ब्याज विवरण",
|
||||||
|
"total_interest_outstanding": "कुल बकाया ब्याज",
|
||||||
|
"total_interest_accrued": "कुल ब्याज बनाया गया",
|
||||||
|
"total_interest_paid": "कुल ब्याज दिया",
|
||||||
|
"loan_type": "ऋण प्रकार",
|
||||||
|
"old_account_number": "पुराना खाता नंबर",
|
||||||
|
"penal_interest_rate": "जुर्माना ब्याज दर",
|
||||||
|
"cbs_account_number": "सीबीएस खाता नंबर",
|
||||||
|
"nominee_name": "नामांकित नाम",
|
||||||
|
"open_date": "खोलने की तारीख",
|
||||||
|
"interest_available": "ब्याज उपलब्ध",
|
||||||
|
"interest_from_date": "ब्याज तिथि से",
|
||||||
|
"interest_to_date": "ब्याज तारीख तक",
|
||||||
|
"term_value": "मुद्रा मूल्य",
|
||||||
|
"maturity_value": "परिपक्ष्य मूल्य",
|
||||||
|
"maturity_date": "परिपक्ष्य तिथि",
|
||||||
|
"term_start_date": "अवधि प्रारंभ तिथि",
|
||||||
|
"term_end_date": "अवधि समाप्ति तिथि",
|
||||||
|
"interest_projected": "ब्याज परियोजित",
|
||||||
|
"interest_capitalized": "ब्याज पुँजीबद्ध",
|
||||||
|
"no_of_installments_paid": "भुगतान की गई किस्तों की संख्या",
|
||||||
|
"next_due_date": "अगली निर्धारित तिथि",
|
||||||
|
"rd_penal_count": "आरडी जुर्माना गणना",
|
||||||
|
"hold_value": "होल्ड मूल्य",
|
||||||
|
"term_length": "अवधि लंबाई",
|
||||||
|
"interest_repayment_method": "ब्याज प्रतिपूर्ति विधि",
|
||||||
|
"mode_of_account": "खाते का मोड",
|
||||||
|
"secondary_cif_number": "द्वितीय सीआईएफ नंबर",
|
||||||
|
"secondary_cif_name": "द्वितीय सीआईएफ नाम",
|
||||||
|
"no_statements_found": "कोई बयान नहीं मिला",
|
||||||
|
"date_range_exceeds_10_days": "10 दिनों से अधिक अवधि का चयन नहीं करें",
|
||||||
|
"last_10_transactions": "अंतिम 10 लेनदेन दिखा रहा है",
|
||||||
|
"select_account_type": "खाता प्रकार चुनें",
|
||||||
|
"select_account_number": "खाता संख्या चुनें",
|
||||||
|
"select_date_range": "तिथि सीमा चुनें",
|
||||||
|
"please_wait": "कृपया प्रतीक्षा करें...",
|
||||||
|
"preferences": "प्राथमिकताएँ",
|
||||||
|
"everforest": "एवरफॉरेस्ट",
|
||||||
|
"rosy": "रोसी",
|
||||||
|
"skypeia": "स्काइपिया",
|
||||||
|
"marigold": "मैरीगोल्ड",
|
||||||
|
"select_language": "भाषा चुनें",
|
||||||
|
"english": "अंग्रेज़ी",
|
||||||
|
"hindi": "हिंदी",
|
||||||
|
"bengali": "बंगाली",
|
||||||
|
"malayalam": "मलयालम",
|
||||||
|
"dark_theme": "डार्क थीम",
|
||||||
|
"color_theme": "रंग थीम",
|
||||||
|
"language": "भाषा",
|
||||||
|
"deposit": "जमा",
|
||||||
|
"loan": "ऋण",
|
||||||
|
"export": "निर्यात",
|
||||||
|
"invalid_credentials": "अमान्य प्रमाण पत्र",
|
||||||
|
"logout": "लॉगआउट",
|
||||||
|
"backend_ip": "बैकएंड आईपी",
|
||||||
|
"bank_branch_no": "बैंक शाखा संख्या",
|
||||||
|
"ifsc_code": "आईएफएससी कोड",
|
||||||
|
"bank_branch_name": "बैंक शाखा का नाम",
|
||||||
|
"search_customer_paragraph": "कृपया अपना आईपीकेएस ग्राहक नंबर दर्ज करें। आपका ग्राहक नंबर आईपीकेएस डेटाबेस में आपके विवरण खोजने के लिए उपयोग किया जाता है",
|
||||||
|
"invalid_customer_no": "अमान्य ग्राहक संख्या",
|
||||||
|
"searching": "खोज रहे हैं",
|
||||||
|
"invalid_otp": "अमान्य ओटीपी",
|
||||||
|
"register_customer_message": "कृपया एमऐप के लिए अपना नया उपयोगकर्ता नाम और पासवर्ड दर्ज करें",
|
||||||
|
"username_criteria": "6 अक्षर, केवल अक्षर और अंक",
|
||||||
|
"password_criteria": "एक अपरकेस, एक लोअरकेस, एक अंक (8 अक्षर)",
|
||||||
|
"passowrd_mismatch_msg": "पासवर्ड मेल नहीं खाते",
|
||||||
|
"password_confirm": "पासवर्ड की पुष्टि करें",
|
||||||
|
"registration_successful": "पंजीकरण सफल",
|
||||||
|
"registration_successful_message": "कृपया अपने नए प्रमाण पत्रों से लॉगिन करें",
|
||||||
|
"goto_login": "लॉगिन पेज पर जाएं",
|
||||||
|
"socket_exception": "कृपया अपना इंटरनेट कनेक्शन जांचें",
|
||||||
|
"mpin_setup": "4-अंकों का एम-पिन सेट करें",
|
||||||
|
"mpin_confirm": "अपने एम-पिन की पुष्टि करें",
|
||||||
|
"storage_permission_denied": "स्टोरेज अनुमति अस्वीकृत",
|
||||||
|
"forgot_password": "पासवर्ड भूल गए",
|
||||||
|
"forgot_password_search_user": "अपना सीआईएफ नंबर दर्ज करें",
|
||||||
|
"forgot_password_success": "रीसेट सफल",
|
||||||
|
"forgot_password_create": "अपना नया पासवर्ड दर्ज करें",
|
||||||
|
"new_password": "नया पासवर्ड",
|
||||||
|
"security": "सुरक्षा",
|
||||||
|
"verify_mpin": "अपना एम-पिन सत्यापित करें"
|
||||||
|
}
|
174
lib/l10n/app_ml.arb
Normal file
174
lib/l10n/app_ml.arb
Normal file
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"@@locale": "ml",
|
||||||
|
"app_title": "ഐപികെഎസ് ആപ്പ്",
|
||||||
|
"ipks": "ഐപികെഎസ്",
|
||||||
|
"fingerprint_reason": "ആപ്പ് ആരംഭിക്കുകയാണ് പ്രമാണിക്കുക",
|
||||||
|
"@fingerprint_reason": {},
|
||||||
|
"m_pin_entry_prompt": "നിങ്ങളുടെ എം പിൻ നൽകുക",
|
||||||
|
"register_prompt": "രജിസ്റ്റർ ചെയ്യുക?",
|
||||||
|
"try_another_way": "മറ്റൊരു വഴി പരീക്ഷിക്കുക",
|
||||||
|
"username": "ഉപയോക്തൃനാമം",
|
||||||
|
"password": "പാസ്വേഡ്",
|
||||||
|
"login": "ലോഗിൻ",
|
||||||
|
"register": "രജിസ്റ്റർ",
|
||||||
|
"mobile_number": "മൊബൈൽ നമ്പർ",
|
||||||
|
"aadhaar_number": "ആധാർ നമ്പർ",
|
||||||
|
"date_of_birth": "ജനന തീയതി",
|
||||||
|
"pacs_id": "പക്സ് ഐഡി",
|
||||||
|
"view_full_kyc": "പൂർണ്ണമായി KYC കാണുക",
|
||||||
|
"account_summary": "അക്കൗണ്ട് സംഗ്രഹം",
|
||||||
|
"account_statement": "അക്കൗണ്ട് സ്റ്റേറ്റ്മെന്റ്",
|
||||||
|
"customer_details": "ഗ്രാഹക വിവരങ്ങൾ",
|
||||||
|
"home": "ഹോം",
|
||||||
|
"details": "വിശദങ്ങൾ",
|
||||||
|
"statement": "സ്റ്റേറ്റ്മെന്റ്",
|
||||||
|
"no_of_active_accounts": "സജീവ അക്കൗണ്ടുകൾക്കായി നിലവിലെ അക്കൗണ്ടുകൾ",
|
||||||
|
"pan_number": "പാൻ നമ്പർ",
|
||||||
|
"mirror_acct_no": "മിറർ അക്കൗണ്ട് നമ്പർ",
|
||||||
|
"cif": "സിഐഎഫ്",
|
||||||
|
"product_name": "ഉൽപ്പന്നത്തിന്റെ പേര്",
|
||||||
|
"acct_opening_dt": "അക്കൗണ്ട് തുറക്കിയ തീയതി",
|
||||||
|
"account_status": "അക്കൗണ്ട് സ്റ്റാറ്റസ്",
|
||||||
|
"available_bal": "ലഭ്യമായ ബാലൻസ്",
|
||||||
|
"interest_rate": "ബായാജ് വരുമാനം",
|
||||||
|
"acct_type": "അക്കൗണ്ട് തരം",
|
||||||
|
"acct_no": "അക്കൗണ്ട് നമ്പർ",
|
||||||
|
"date_range": "തീയതി ശ്രേണി",
|
||||||
|
"amount_range": "രൂപ ശ്രേണി",
|
||||||
|
"save": "സേവ്",
|
||||||
|
"min": "അതിന്റെ",
|
||||||
|
"max": "പരമാവധി",
|
||||||
|
"min_amt": "അതിന്റെ തിരഞ്ഞെടുക്കണം",
|
||||||
|
"max_amt": "പരമാവധി തിരഞ്ഞെടുക്കണം",
|
||||||
|
"customer_no_search_message": "ദയവായി നിങ്ങളുടെ ഐപികെഎസ് ഗ്രാഹക നമ്പർ നൽകുക. ആപ്പ് ഡാറ്റാബേസിൽ നിങ്ങളുടെ വിവരങ്ങൾ തിരയുന്നതിനായി നിങ്ങളുടെ ഗ്രാഹക നമ്പർ ഉപയോഗിക്കുന്നു.",
|
||||||
|
"search": "തിരയുക",
|
||||||
|
"details_verification_message": "ദയവായി നിങ്ങളുടെ വിശദങ്ങൾ പരിശോധിക്കുക.",
|
||||||
|
"customer_no": "ഗ്രാഹക നമ്പർ",
|
||||||
|
"name": "പേര്",
|
||||||
|
"email": "ഇമെയിൽ",
|
||||||
|
"pacs_name": "പക്സ് പേര്",
|
||||||
|
"not_you_prompt": "നിന്ന് അല്ല?",
|
||||||
|
"next": "അടുത്തത്",
|
||||||
|
"otp_verification_message": "ഒരു OTP സന്ദേശം നിങ്ങളുടെ രജിസ്റ്റർ ചെയ്യപ്പെട്ട മൊബൈൽ നമ്പറിലേക്ക് {masked_phone_number} അയച്ചിരിക്കുന്നു. നിങ്ങൾക്ക് ഫോൺ നമ്പറിനെ പരിശോധിക്കാൻ അതിനു താഴെ നൽകുന്ന ബോക്സിൽ അതിൽ നൽകുക.",
|
||||||
|
"@otp_verification_message": {
|
||||||
|
"placeholders": {
|
||||||
|
"masked_phone_number": {
|
||||||
|
"type": "String"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"otp": "ഓടിപി",
|
||||||
|
"resend_otp_prompt": "OTP പുനഃക്രമീകരിക്കുക?",
|
||||||
|
"new_credentials_message": "ഐപികെഎസ് ആപ്പിനായി നിങ്ങളുടെ പുതിയ ഉപയോക്തൃനാമം മറികടക്കുക",
|
||||||
|
"repeat_password": "പാസ്വേഡ് പുനരാക്ഷരിക്കുക",
|
||||||
|
"registration_success_display": "രജിസ്ട്രേഷൻ വിജയം",
|
||||||
|
"goto_login_prompt": "ലോഗിൻ പേജിലേക്ക് പോകുക",
|
||||||
|
"marital_status": "വിവാഹിത സ്ഥിതി",
|
||||||
|
"gender": "ലിംഗം",
|
||||||
|
"address": "വിലാസം",
|
||||||
|
"or": "അഥവാ",
|
||||||
|
"district": "ജില്ല",
|
||||||
|
"state": "സംസ്ഥാനം",
|
||||||
|
"city": "നഗരം",
|
||||||
|
"pin_code": "പിൻ കോഡ്",
|
||||||
|
"linked_sb_no": "ലിങ്ക്ഡ് എസ്ബി അക്കൗണ്ട് നമ്പർ",
|
||||||
|
"farmer_type": "കൃഷിക്കാർ തരം",
|
||||||
|
"guardian_name": "ഗാർഡിയൻ പേര്",
|
||||||
|
"religion": "മതം",
|
||||||
|
"caste": "ജാതി",
|
||||||
|
"not_available": "ലഭ്യമല്ല",
|
||||||
|
"no_accounts_found": "അക്കൗണ്ടുകൾ കണ്ടെത്തിയില്ല",
|
||||||
|
"account_holder": "അക്കൗണ്ട് ഹോൾഡർ",
|
||||||
|
"customer_name": "ഗ്രാഹകനാമം",
|
||||||
|
"sanction_amount": "അനുവദിച്ച തുക",
|
||||||
|
"sanction_date": "അനുവദിച്ച തീയതി",
|
||||||
|
"disbursed_amount": "പിന്നീട് പിഴച്ച തുക",
|
||||||
|
"interest_outstanding": "ബായാജ് അടുപ്പുകൾ",
|
||||||
|
"principal_outstanding": "പ്രധാന അടുപ്പ്",
|
||||||
|
"interest_paid": "ബായാജ് ചെലവ്",
|
||||||
|
"principal_paid": "പ്രധാന ചെലവ്",
|
||||||
|
"emi_amount": "EMI തുക",
|
||||||
|
"due_date": "നിർബന്ധമായ തീയതി",
|
||||||
|
"last_repayment_date": "അവസാന തുക തീയതി",
|
||||||
|
"interest_description": "ബായാജ് വിവരണം",
|
||||||
|
"total_interest_outstanding": "മൊത്ത ബായാജ് അടുപ്പുകൾ",
|
||||||
|
"total_interest_accrued": "മൊത്ത ബായാജ് അക്ക്രൂട്ട്",
|
||||||
|
"total_interest_paid": "മൊത്ത ബായാജ് ചെലവ്",
|
||||||
|
"loan_type": "വായ്പ തരം",
|
||||||
|
"old_account_number": "പഴയ അക്കൗണ്ട് നമ്പർ",
|
||||||
|
"penal_interest_rate": "ശിക്ഷാ ബായാജ് വരുമാനം",
|
||||||
|
"cbs_account_number": "സിബിഎസ് അക്കൗണ്ട് നമ്പർ",
|
||||||
|
"nominee_name": "നോമിനീ പേര്",
|
||||||
|
"open_date": "തുറന്ന തീയതി",
|
||||||
|
"interest_available": "ബായാജ് ലഭ്യമാണ്",
|
||||||
|
"interest_from_date": "ബായാജ് തീയതി മുതൽ",
|
||||||
|
"interest_to_date": "ബായാജ് തീയതി വരെ",
|
||||||
|
"term_value": "അവധി മൂല്യം",
|
||||||
|
"maturity_value": "പരിപാലന മൂല്യം",
|
||||||
|
"maturity_date": "പരിപാലന തീയതി",
|
||||||
|
"term_start_date": "അവധി തുടക്കം തീയതി",
|
||||||
|
"term_end_date": "അവധി അവസാനം തീയതി",
|
||||||
|
"interest_projected": "ബായാജ് പ്രൊജക്ടുചെയ്യൽ",
|
||||||
|
"interest_capitalized": "ബായാജ് ക്യാപിറ്റലൈസ്ഡ്",
|
||||||
|
"no_of_installments_paid": "പിന്നീട് നടത്തിയ കിസ്തുകൾക്കായി നിരക്കുകൾ",
|
||||||
|
"next_due_date": "അടുത്ത നിർബന്ധ തീയതി",
|
||||||
|
"rd_penal_count": "ആർഡി പെനല് എണ്ണം",
|
||||||
|
"hold_value": "ഹോൾഡ് മൂല്യം",
|
||||||
|
"term_length": "അവധി നീളം",
|
||||||
|
"interest_repayment_method": "ബായാജ് തിരിച്ചറിയൽ രീതി",
|
||||||
|
"mode_of_account": "അക്കൗണ്ട് മോഡ്",
|
||||||
|
"secondary_cif_number": "സെക്കന്ററി സിഐഎഫ് നമ്പർ",
|
||||||
|
"secondary_cif_name": "സെക്കന്ററി സിഐഎഫ് പേര്",
|
||||||
|
"no_statements_found": "സ്റ്റേറ്റ്മെന്റുകൾ കണ്ടെത്തിയില്ല",
|
||||||
|
"date_range_exceeds_10_days": "10 ദിവസങ്ങൾക്ക് അധികം തീയതി ശ്രേണി തിരഞ്ഞെടുക്കരുത്",
|
||||||
|
"last_10_transactions": "അവസാന 10 ലിങ്കുകൾ പ്രദർശിപ്പിക്കുന്നു",
|
||||||
|
"select_account_type": "അക്കൗണ്ട് തരം തിരഞ്ഞെടുക്കുക",
|
||||||
|
"select_account_number": "അക്കൗണ്ട് നമ്പർ തിരഞ്ഞെടുക്കുക",
|
||||||
|
"select_date_range": "തീയതി ശ്രേണി തിരഞ്ഞെടുക്കുക",
|
||||||
|
"please_wait": "ദയവായി കാത്തിരിക്കുക...",
|
||||||
|
"preferences": "മൊത്തത്തിന്റെ അഭിരുചികൾ",
|
||||||
|
"everforest": "എവർഫോറസ്റ്റ്",
|
||||||
|
"rosy": "റോസി",
|
||||||
|
"skypeia": "സ്കൈപ്പിയ",
|
||||||
|
"marigold": "മാരിഗോൾഡ്",
|
||||||
|
"select_language": "ഭാഷ തിരഞ്ഞെടുക്കുക",
|
||||||
|
"english": "ഇംഗ്ലീഷ്",
|
||||||
|
"hindi": "ഹിന്ദി",
|
||||||
|
"bengali": "ബംഗാളി",
|
||||||
|
"malayalam": "മലയാളം",
|
||||||
|
"dark_theme": "കറുത്ത തീം",
|
||||||
|
"color_theme": "നിറ തീം",
|
||||||
|
"language": "ഭാഷ",
|
||||||
|
"deposit": "ഡപ്പോസിറ്റ്",
|
||||||
|
"loan": "വായ്പ",
|
||||||
|
"export": "കയറ്റുമതി ചെയ്യുക",
|
||||||
|
"invalid_credentials": "അസാധുവായ ക്രെഡൻഷ്യലുകൾ",
|
||||||
|
"logout": "ലോഗ്ഔട്ട്",
|
||||||
|
"backend_ip": "ബാക്ക്എൻഡ് ഐപി",
|
||||||
|
"bank_branch_no": "ബാങ്ക് ശാഖ നമ്പർ",
|
||||||
|
"ifsc_code": "ഐഎഫ്എസ്സി കോഡ്",
|
||||||
|
"bank_branch_name": "ബാങ്ക് ശാഖയുടെ പേര്",
|
||||||
|
"search_customer_paragraph": "ദയവായി നിങ്ങളുടെ ഐപികെഎസ് ഉപഭോക്താവ് നമ്പർ നൽകുക. ഐപികെഎസ് ഡാറ്റാബേസിൽ നിങ്ങളുടെ വിശദാംശങ്ങൾ തിരയാൻ ഉപഭോക്താവ് നമ്പർ ഉപയോഗിക്കുന്നു",
|
||||||
|
"invalid_customer_no": "അസാധുവായ ഉപഭോക്താവ് നമ്പർ",
|
||||||
|
"searching": "തിരയുന്നു",
|
||||||
|
"invalid_otp": "അസാധുവായ ഒറ്റത്തവണ പാസ്വേഡ്",
|
||||||
|
"register_customer_message": "ദയവായി mApp-നായി നിങ്ങളുടെ പുതിയ ഉപയോക്തൃനാമവും പാസ്വേഡും നൽകുക",
|
||||||
|
"username_criteria": "6 അക്ഷരങ്ങൾ, അക്ഷരങ്ങളും അക്കങ്ങളും മാത്രം",
|
||||||
|
"password_criteria": "ഒരു അപ്പർകേസ്, ഒരു ലോവർകേസ്, ഒരു നമ്പർ (8 അക്ഷരങ്ങൾ)",
|
||||||
|
"passowrd_mismatch_msg": "പാസ്വേഡുകൾ പൊരുത്തപ്പെടുന്നില്ല",
|
||||||
|
"password_confirm": "പാസ്വേഡ് സ്ഥിരീകരിക്കുക",
|
||||||
|
"registration_successful": "രജിസ്ട്രേഷൻ വിജയകരമായി",
|
||||||
|
"registration_successful_message": "ദയവായി നിങ്ങളുടെ പുതിയ ക്രെഡൻഷ്യലുകൾ ഉപയോഗിച്ച് ലോഗിൻ ചെയ്യുക",
|
||||||
|
"goto_login": "ലോഗിൻ പേജിലേക്ക് പോകുക",
|
||||||
|
"socket_exception": "ദയവായി നിങ്ങളുടെ ഇന്റർനെറ്റ് കണക്ഷൻ പരിശോധിക്കുക",
|
||||||
|
"mpin_setup": "4-അക്ക എംപിൻ സജ്ജമാക്കുക",
|
||||||
|
"mpin_confirm": "നിങ്ങളുടെ എംപിൻ സ്ഥിരീകരിക്കുക",
|
||||||
|
"storage_permission_denied": "സ്റ്റോറേജ് അനുമതി നിഷേധിച്ചു",
|
||||||
|
"forgot_password": "പാസ്വേഡ് മറന്നോ",
|
||||||
|
"forgot_password_search_user": "നിങ്ങളുടെ സിഐഎഫ് നമ്പർ നൽകുക",
|
||||||
|
"forgot_password_success": "പുനഃസജ്ജീകരണം വിജയകരമായി",
|
||||||
|
"forgot_password_create": "നിങ്ങളുടെ പുതിയ പാസ്വേഡ് നൽകുക",
|
||||||
|
"new_password": "പുതിയ പാസ്വേഡ്",
|
||||||
|
"security": "സുരക്ഷ",
|
||||||
|
"verify_mpin": "നിങ്ങളുടെ എംപിൻ പരിശോധിക്കുക"
|
||||||
|
}
|
@@ -1,5 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
|
import 'package:kmobile/src/preferences/preferences_provider.dart';
|
||||||
|
import 'package:provider/provider.dart';
|
||||||
import 'di/injection.dart';
|
import 'di/injection.dart';
|
||||||
import 'app.dart';
|
import 'app.dart';
|
||||||
|
|
||||||
@@ -15,5 +17,7 @@ void main() async {
|
|||||||
// Initialize dependencies
|
// Initialize dependencies
|
||||||
await setupDependencies();
|
await setupDependencies();
|
||||||
|
|
||||||
runApp(const KMobile());
|
runApp(MultiProvider(providers: [
|
||||||
|
ChangeNotifierProvider(create: (_) => PreferencesProvider()),
|
||||||
|
], child: const KMobile()));
|
||||||
}
|
}
|
||||||
|
70
lib/src/preferences/color_dialog.dart
Normal file
70
lib/src/preferences/color_dialog.dart
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:material_symbols_icons/symbols.dart';
|
||||||
|
import 'package:kmobile/utils/theme/color/color_scheme.dart';
|
||||||
|
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||||
|
|
||||||
|
class ColorDialog extends StatelessWidget {
|
||||||
|
const ColorDialog({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return SimpleDialog(
|
||||||
|
title: const Text('Select Theme'),
|
||||||
|
children: <Widget>[
|
||||||
|
SimpleDialogOption(
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context, KMobileColorScheme.everforest);
|
||||||
|
},
|
||||||
|
child: ListTile(
|
||||||
|
leading: const Icon(
|
||||||
|
Symbols.circle,
|
||||||
|
color: Colors.greenAccent,
|
||||||
|
fill: 1.0,
|
||||||
|
),
|
||||||
|
title: Text(AppLocalizations.of(context)!.everforest),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SimpleDialogOption(
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context, KMobileColorScheme.rosy);
|
||||||
|
},
|
||||||
|
child: ListTile(
|
||||||
|
leading: const Icon(
|
||||||
|
Symbols.circle,
|
||||||
|
color: Colors.pinkAccent,
|
||||||
|
fill: 1.0,
|
||||||
|
),
|
||||||
|
title: Text(AppLocalizations.of(context)!.rosy),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SimpleDialogOption(
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context, KMobileColorScheme.skypeia);
|
||||||
|
},
|
||||||
|
child: ListTile(
|
||||||
|
leading: const Icon(
|
||||||
|
Symbols.circle,
|
||||||
|
color: Colors.lightBlueAccent,
|
||||||
|
fill: 1.0,
|
||||||
|
),
|
||||||
|
title: Text(AppLocalizations.of(context)!.skypeia),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SimpleDialogOption(
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.pop(context, KMobileColorScheme.marigold);
|
||||||
|
},
|
||||||
|
child: ListTile(
|
||||||
|
leading: const Icon(
|
||||||
|
Symbols.circle,
|
||||||
|
color: Colors.amberAccent,
|
||||||
|
fill: 1.0,
|
||||||
|
),
|
||||||
|
title: Text(AppLocalizations.of(context)!.marigold),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
// const Divider(height: 0),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
31
lib/src/preferences/language_dialog.dart
Normal file
31
lib/src/preferences/language_dialog.dart
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||||
|
|
||||||
|
class LanguageDialog extends StatelessWidget {
|
||||||
|
const LanguageDialog({super.key});
|
||||||
|
|
||||||
|
String getLocaleName(BuildContext context, String code) {
|
||||||
|
Map<String, String> localeCodeMap = {
|
||||||
|
'en': AppLocalizations.of(context)!.english,
|
||||||
|
'bn': AppLocalizations.of(context)!.bengali,
|
||||||
|
'ml': AppLocalizations.of(context)!.malayalam,
|
||||||
|
'hi': AppLocalizations.of(context)!.hindi,
|
||||||
|
};
|
||||||
|
return localeCodeMap[code] ?? 'Unknown';
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return SimpleDialog(
|
||||||
|
title: Text(AppLocalizations.of(context)!.select_language),
|
||||||
|
children: AppLocalizations.supportedLocales.map(
|
||||||
|
(locale) {
|
||||||
|
return SimpleDialogOption(
|
||||||
|
onPressed: () => Navigator.pop(context, locale),
|
||||||
|
child: ListTile(title: Text(getLocaleName(context, locale.languageCode))),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
).toList(),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
73
lib/src/preferences/preference.dart
Normal file
73
lib/src/preferences/preference.dart
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:provider/provider.dart';
|
||||||
|
import 'package:kmobile/src/preferences/color_dialog.dart';
|
||||||
|
import 'package:kmobile/src/preferences/language_dialog.dart';
|
||||||
|
import 'package:kmobile/src/preferences/preferences_provider.dart';
|
||||||
|
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||||
|
|
||||||
|
class Preference extends StatelessWidget {
|
||||||
|
const Preference({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
PreferencesProvider preferencesProvider =
|
||||||
|
Provider.of<PreferencesProvider>(context);
|
||||||
|
return Scaffold(
|
||||||
|
backgroundColor: Theme.of(context).colorScheme.background,
|
||||||
|
appBar: AppBar(
|
||||||
|
title: Text(AppLocalizations.of(context)!.preferences),
|
||||||
|
),
|
||||||
|
body: ListView(
|
||||||
|
children: [
|
||||||
|
ListTile(
|
||||||
|
title: Text(AppLocalizations.of(context)!.dark_theme),
|
||||||
|
trailing: Switch(
|
||||||
|
value: preferencesProvider.themeMode == ThemeMode.dark,
|
||||||
|
onChanged: (value) {
|
||||||
|
preferencesProvider.themeMode =
|
||||||
|
value ? ThemeMode.dark : ThemeMode.light;
|
||||||
|
}),
|
||||||
|
),
|
||||||
|
const Divider(height: 0),
|
||||||
|
ListTile(
|
||||||
|
title: Text(AppLocalizations.of(context)!.color_theme),
|
||||||
|
onTap: () => _changeCurrentTheme(context),
|
||||||
|
),
|
||||||
|
const Divider(height: 0),
|
||||||
|
ListTile(
|
||||||
|
title: Text(AppLocalizations.of(context)!.language),
|
||||||
|
onTap: () => _changeCurrentLocale(context),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> _changeCurrentTheme(BuildContext context) async {
|
||||||
|
Map<ThemeMode, ColorScheme> selectedColorScheme = await showDialog(
|
||||||
|
context: context,
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return const ColorDialog();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
if (context.mounted) {
|
||||||
|
PreferencesProvider provider =
|
||||||
|
Provider.of<PreferencesProvider>(context, listen: false);
|
||||||
|
provider.colorScheme = selectedColorScheme;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> _changeCurrentLocale(BuildContext context) async {
|
||||||
|
Locale selectedLocale = await showDialog(
|
||||||
|
context: context,
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return const LanguageDialog();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
if (context.mounted) {
|
||||||
|
PreferencesProvider provider =
|
||||||
|
Provider.of<PreferencesProvider>(context, listen: false);
|
||||||
|
provider.locale = selectedLocale;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
25
lib/src/preferences/preferences_provider.dart
Normal file
25
lib/src/preferences/preferences_provider.dart
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:kmobile/utils/theme/color/color_scheme.dart';
|
||||||
|
|
||||||
|
class PreferencesProvider with ChangeNotifier {
|
||||||
|
ThemeMode _themeMode = ThemeMode.light;
|
||||||
|
ThemeMode get themeMode => _themeMode;
|
||||||
|
set themeMode(ThemeMode currentMode) {
|
||||||
|
_themeMode = currentMode;
|
||||||
|
notifyListeners();
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<ThemeMode, ColorScheme> _colorScheme = KMobileColorScheme.everforest;
|
||||||
|
Map<ThemeMode, ColorScheme> get colorScheme => _colorScheme;
|
||||||
|
set colorScheme(Map<ThemeMode, ColorScheme> currentColorScheme) {
|
||||||
|
_colorScheme = currentColorScheme;
|
||||||
|
notifyListeners();
|
||||||
|
}
|
||||||
|
|
||||||
|
Locale _locale = const Locale.fromSubtags(languageCode: 'en');
|
||||||
|
Locale get locale => _locale;
|
||||||
|
set locale(Locale currentLocale) {
|
||||||
|
_locale = currentLocale;
|
||||||
|
notifyListeners();
|
||||||
|
}
|
||||||
|
}
|
67
lib/utils/theme/color/color_scheme.dart
Normal file
67
lib/utils/theme/color/color_scheme.dart
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class KMobileColorScheme {
|
||||||
|
KMobileColorScheme._();
|
||||||
|
|
||||||
|
static Map<ThemeMode, ColorScheme> everforest = {
|
||||||
|
ThemeMode.light: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color(0xFF008442),
|
||||||
|
brightness: Brightness.light,
|
||||||
|
primary: const Color(0xff2C6A45),
|
||||||
|
onPrimary: const Color(0xffffffff),
|
||||||
|
primaryContainer: const Color(0xffB0F1C3),
|
||||||
|
onPrimaryContainer: const Color(0xFF00210F),
|
||||||
|
secondary: const Color(0xFF4F6354),
|
||||||
|
onSecondary: const Color(0xFFFFFFFF),
|
||||||
|
error: const Color(0xFFBA1A1A),
|
||||||
|
onError: const Color(0xFFFFFFFF),
|
||||||
|
background: const Color(0xFFF6FBF3),
|
||||||
|
onBackground: const Color(0xFF181D19),
|
||||||
|
surface: const Color(0xFFF6FBF3),
|
||||||
|
onSurface: const Color(0xFF181D19),
|
||||||
|
),
|
||||||
|
ThemeMode.dark: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color(0xFF008442),
|
||||||
|
brightness: Brightness.dark,
|
||||||
|
primary: const Color(0xff95D5A8),
|
||||||
|
onPrimary: const Color(0xff00391E),
|
||||||
|
primaryContainer: const Color(0xff0E512F),
|
||||||
|
onPrimaryContainer: const Color(0xFFB0F1C3),
|
||||||
|
secondary: const Color(0xFFB6CCB9),
|
||||||
|
onSecondary: const Color(0xFF213527),
|
||||||
|
error: const Color(0xFFFFB4AB),
|
||||||
|
onError: const Color(0xFF690005),
|
||||||
|
background: const Color(0xFF0F1511),
|
||||||
|
onBackground: const Color(0xFFDFE4DD),
|
||||||
|
surface: const Color(0xFF0F1511),
|
||||||
|
onSurface: const Color(0xFFDFE4DD),
|
||||||
|
),
|
||||||
|
};
|
||||||
|
|
||||||
|
static Map<ThemeMode, ColorScheme> rosy = {
|
||||||
|
ThemeMode.light: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color.fromARGB(255, 132, 0, 66),
|
||||||
|
),
|
||||||
|
ThemeMode.dark: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color.fromARGB(255, 132, 0, 66),
|
||||||
|
brightness: Brightness.dark),
|
||||||
|
};
|
||||||
|
|
||||||
|
static Map<ThemeMode, ColorScheme> skypeia = {
|
||||||
|
ThemeMode.light: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color.fromARGB(255, 0, 62, 132),
|
||||||
|
),
|
||||||
|
ThemeMode.dark: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color.fromARGB(255, 0, 62, 132),
|
||||||
|
brightness: Brightness.dark),
|
||||||
|
};
|
||||||
|
|
||||||
|
static Map<ThemeMode, ColorScheme> marigold = {
|
||||||
|
ThemeMode.light: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color.fromARGB(255, 123, 132, 0),
|
||||||
|
),
|
||||||
|
ThemeMode.dark: ColorScheme.fromSeed(
|
||||||
|
seedColor: const Color.fromARGB(255, 123, 132, 0),
|
||||||
|
brightness: Brightness.dark),
|
||||||
|
};
|
||||||
|
}
|
43
pubspec.lock
43
pubspec.lock
@@ -65,6 +65,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.19.1"
|
version: "1.19.1"
|
||||||
|
crypto:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: crypto
|
||||||
|
sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "3.0.6"
|
||||||
cupertino_icons:
|
cupertino_icons:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@@ -142,6 +150,11 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.0.2"
|
version: "3.0.2"
|
||||||
|
flutter_localizations:
|
||||||
|
dependency: "direct main"
|
||||||
|
description: flutter
|
||||||
|
source: sdk
|
||||||
|
version: "0.0.0"
|
||||||
flutter_plugin_android_lifecycle:
|
flutter_plugin_android_lifecycle:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -206,6 +219,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.0"
|
version: "2.1.0"
|
||||||
|
flutter_swipe_button:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: flutter_swipe_button
|
||||||
|
sha256: "67df9f1121ad10429b900a723366403441634ebb2c064fd4babb7de274366a36"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "2.1.3"
|
||||||
flutter_test:
|
flutter_test:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description: flutter
|
description: flutter
|
||||||
@@ -232,6 +253,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.3"
|
version: "2.1.3"
|
||||||
|
google_fonts:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: google_fonts
|
||||||
|
sha256: b1ac0fe2832c9cc95e5e88b57d627c5e68c223b9657f4b96e1487aa9098c7b82
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.2.1"
|
||||||
http:
|
http:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -252,10 +281,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"
|
||||||
js:
|
js:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -356,10 +385,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: material_symbols_icons
|
name: material_symbols_icons
|
||||||
sha256: d45b6c36c3effa8cb51b1afb8698107d5ff1f88fa4631428f34a8a01abc295d7
|
sha256: "7c50901b39d1ad645ee25d920aed008061e1fd541a897b4ebf2c01d966dbf16b"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.2815.0"
|
version: "4.2815.1"
|
||||||
meta:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -465,7 +494,7 @@ packages:
|
|||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.8"
|
version: "2.1.8"
|
||||||
provider:
|
provider:
|
||||||
dependency: transitive
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: provider
|
name: provider
|
||||||
sha256: "4abbd070a04e9ddc287673bf5a030c7ca8b685ff70218720abab8b092f53dd84"
|
sha256: "4abbd070a04e9ddc287673bf5a030c7ca8b685ff70218720abab8b092f53dd84"
|
||||||
@@ -689,10 +718,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: vector_graphics_compiler
|
name: vector_graphics_compiler
|
||||||
sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad"
|
sha256: "557a315b7d2a6dbb0aaaff84d857967ce6bdc96a63dc6ee2a57ce5a6ee5d3331"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.1.16"
|
version: "1.1.17"
|
||||||
vector_math:
|
vector_math:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
13
pubspec.yaml
13
pubspec.yaml
@@ -41,6 +41,8 @@ dependencies:
|
|||||||
bloc: ^9.0.0
|
bloc: ^9.0.0
|
||||||
flutter_bloc: ^9.1.0
|
flutter_bloc: ^9.1.0
|
||||||
get_it: ^8.0.3
|
get_it: ^8.0.3
|
||||||
|
flutter_localizations:
|
||||||
|
sdk: flutter
|
||||||
intl: any
|
intl: any
|
||||||
flutter_svg: ^2.1.0
|
flutter_svg: ^2.1.0
|
||||||
local_auth: ^2.3.0
|
local_auth: ^2.3.0
|
||||||
@@ -50,6 +52,10 @@ dependencies:
|
|||||||
social_share: ^2.3.1
|
social_share: ^2.3.1
|
||||||
screenshot: ^3.0.0
|
screenshot: ^3.0.0
|
||||||
path_provider: ^2.1.5
|
path_provider: ^2.1.5
|
||||||
|
flutter_swipe_button: ^2.1.3
|
||||||
|
provider: ^6.1.5
|
||||||
|
google_fonts: ^6.2.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
@@ -73,6 +79,7 @@ flutter:
|
|||||||
# included with your application, so that you can use the icons in
|
# included with your application, so that you can use the icons in
|
||||||
# the material Icons class.
|
# the material Icons class.
|
||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
generate: true
|
||||||
|
|
||||||
# To add assets to your application, add an assets section, like this:
|
# To add assets to your application, add an assets section, like this:
|
||||||
assets:
|
assets:
|
||||||
@@ -96,6 +103,12 @@ flutter:
|
|||||||
- asset: assets/fonts/Rubik-Regular.ttf
|
- asset: assets/fonts/Rubik-Regular.ttf
|
||||||
- asset: assets/fonts/Rubik-Bold.ttf
|
- asset: assets/fonts/Rubik-Bold.ttf
|
||||||
weight: 700
|
weight: 700
|
||||||
|
|
||||||
|
- family: Sriracha
|
||||||
|
fonts:
|
||||||
|
- asset: assets/fonts/Sriracha-Regular.ttf
|
||||||
|
|
||||||
|
|
||||||
# style: italic
|
# style: italic
|
||||||
# - family: Trajan Pro
|
# - family: Trajan Pro
|
||||||
# fonts:
|
# fonts:
|
||||||
|
Reference in New Issue
Block a user