BASE: Switch From EasyLocalization To GetX Localization.

This commit is contained in:
2025-12-04 16:56:39 +05:00
parent 157545f1c0
commit bf1d07a048
218 changed files with 2535 additions and 2313 deletions

View File

@@ -3,10 +3,10 @@
import 'dart:developer';
import 'package:customer/models/payment_model/pay_fast_model.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart' hide Trans;
import 'package:get/get.dart';
import 'package:webview_flutter/webview_flutter.dart';
class PayFastScreen extends StatefulWidget {
@@ -91,10 +91,10 @@ class _PayFastScreenState extends State<PayFastScreen> {
builder: (BuildContext context) {
return AlertDialog(
title: const Text('Cancel Payment'),
content: SingleChildScrollView(child: Text("Cancel Payment?".tr())),
content: SingleChildScrollView(child: Text("Cancel Payment?".tr)),
actions: <Widget>[
TextButton(
child: Text('Exit'.tr(), style: TextStyle(color: Colors.red)),
child: Text('Exit'.tr, style: TextStyle(color: Colors.red)),
onPressed: () {
Get.back();
Get.back(result: false);
@@ -102,7 +102,7 @@ class _PayFastScreenState extends State<PayFastScreen> {
),
TextButton(
child: Text(
'Continue Payment'.tr(),
'Continue Payment'.tr,
style: TextStyle(color: Colors.green),
),
onPressed: () {