BASE: Switch From EasyLocalization To GetX Localization.
This commit is contained in:
@@ -3,9 +3,9 @@ import 'dart:convert';
|
||||
import 'dart:developer';
|
||||
|
||||
import 'package:customer/payment/xenditModel.dart';
|
||||
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:http/http.dart' as http;
|
||||
import 'package:webview_flutter/webview_flutter.dart';
|
||||
|
||||
@@ -127,12 +127,12 @@ class _XenditScreenState extends State<XenditScreen> {
|
||||
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: () {
|
||||
@@ -142,7 +142,7 @@ class _XenditScreenState extends State<XenditScreen> {
|
||||
),
|
||||
TextButton(
|
||||
child: Text(
|
||||
'Continue'.tr(),
|
||||
'Continue'.tr,
|
||||
style: const TextStyle(color: Colors.green),
|
||||
),
|
||||
onPressed: () {
|
||||
|
||||
Reference in New Issue
Block a user