BASE: Initialize Localization.

This commit is contained in:
2025-12-03 18:21:19 +05:00
parent cf58d069ab
commit b04050384d
141 changed files with 1577 additions and 1419 deletions

View File

@@ -3,6 +3,7 @@
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';
@@ -84,17 +85,17 @@ 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);
},
),
TextButton(
child: Text('Continue Payment'.tr, style: TextStyle(color: Colors.green)),
child: Text('Continue Payment'.tr(), style: TextStyle(color: Colors.green)),
onPressed: () {
Get.back();
},