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

@@ -2,9 +2,8 @@ import 'dart:async';
import 'dart:developer';
import 'dart:io';
import 'package:easy_localization/easy_localization.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 MidtransScreen extends StatefulWidget {
@@ -104,12 +103,12 @@ class _MidtransScreenState extends State<MidtransScreen> {
barrierDismissible: true, // user must tap button!
builder: (BuildContext context) {
return AlertDialog(
title: Text('Cancel Payment'.tr()),
content: SingleChildScrollView(child: Text("Cancel Payment?".tr())),
title: Text('Cancel Payment'.tr),
content: SingleChildScrollView(child: Text("Cancel Payment?".tr)),
actions: <Widget>[
TextButton(
child: Text(
'Cancel'.tr(),
'Cancel'.tr,
style: const TextStyle(color: Colors.red),
),
onPressed: () {
@@ -119,7 +118,7 @@ class _MidtransScreenState extends State<MidtransScreen> {
),
TextButton(
child: Text(
'Continue'.tr(),
'Continue'.tr,
style: const TextStyle(color: Colors.green),
),
onPressed: () {