added safearea to some screens. Also fixed some titlebars from wrap text

This commit is contained in:
asif
2025-09-04 00:16:02 +05:30
parent 48f169d10c
commit ba819f51d7
3 changed files with 132 additions and 129 deletions

View File

@@ -296,9 +296,10 @@ class _FundTransferAmountScreenState extends State<FundTransferAmountScreen> {
final loc = AppLocalizations.of(context); final loc = AppLocalizations.of(context);
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: Text(loc.fundTransfer), title: Text(loc.fundTransfer.replaceFirst(RegExp('\n'), '')),
), ),
body: Padding( body: SafeArea(
child: Padding(
padding: const EdgeInsets.all(16.0), padding: const EdgeInsets.all(16.0),
child: Form( child: Form(
key: _formKey, key: _formKey,
@@ -433,6 +434,7 @@ class _FundTransferAmountScreenState extends State<FundTransferAmountScreen> {
), ),
), ),
), ),
),
); );
} }
} }

View File

@@ -17,7 +17,9 @@ class FundTransferScreen extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: Text(AppLocalizations.of(context).fundTransfer), title: Text(AppLocalizations.of(context)
.fundTransfer
.replaceFirst(RegExp('\n'), '')),
), ),
body: ListView( body: ListView(
children: [ children: [

View File

@@ -109,9 +109,8 @@
"gmNorth": "General Manager (North)", "gmNorth": "General Manager (North)",
"enquiry": "Enquiry", "enquiry": "Enquiry",
"fundTransferBeneficiary": "Fund Transfer - Beneficiary", "fundTransferBeneficiary": "Fund Transfer - Beneficiary",
"fundTransfer": "Fund Transfer",
"enterAmount": "Enter Amount", "enterAmount": "Enter Amount",
"accountInfo": "Account Info", "accountInfo": "Account \n Info",
"customerNumber": "Customer Number", "customerNumber": "Customer Number",
"productName": "Product Name", "productName": "Product Name",
"accountStatus": "Account Status", "accountStatus": "Account Status",