Language Change
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:kmobile/features/fund_transfer/screens/transaction_pin_screen.dart';
|
||||
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
|
||||
class FundTransferScreen extends StatefulWidget {
|
||||
const FundTransferScreen({super.key});
|
||||
@@ -82,8 +83,8 @@ class _FundTransferScreen extends State<FundTransferScreen> {
|
||||
Navigator.pop(context);
|
||||
},
|
||||
),
|
||||
title: const Text(
|
||||
'Fund Transfer',
|
||||
title: Text(
|
||||
AppLocalizations.of(context).fundTransfer,
|
||||
style: TextStyle(color: Colors.black, fontWeight: FontWeight.w500),
|
||||
),
|
||||
centerTitle: false,
|
||||
@@ -101,10 +102,10 @@ class _FundTransferScreen extends State<FundTransferScreen> {
|
||||
body: Column(
|
||||
children: [
|
||||
const Spacer(),
|
||||
const Row(
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text('Debit from:'),
|
||||
Text(AppLocalizations.of(context).debitFrom),
|
||||
Text(
|
||||
'0300015678903456',
|
||||
style: TextStyle(fontSize: 18, fontWeight: FontWeight.w500),
|
||||
@@ -112,7 +113,8 @@ class _FundTransferScreen extends State<FundTransferScreen> {
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
const Text('Enter Amount', style: TextStyle(fontSize: 20)),
|
||||
Text(AppLocalizations.of(context).enterAmount,
|
||||
style: TextStyle(fontSize: 20)),
|
||||
const SizedBox(height: 20),
|
||||
Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 16),
|
||||
@@ -136,8 +138,7 @@ class _FundTransferScreen extends State<FundTransferScreen> {
|
||||
mainAxisSpacing: 12,
|
||||
crossAxisSpacing: 12,
|
||||
childAspectRatio: 1.2,
|
||||
children:
|
||||
keys.map((key) => buildKey(key)).toList(),
|
||||
children: keys.map((key) => buildKey(key)).toList(),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user