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

@@ -1,7 +1,6 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';
import 'package:get/get.dart' hide Trans;
import 'package:get/get.dart';
import '../themes/app_them_data.dart';
import '../themes/round_button_fill.dart';
@@ -29,7 +28,7 @@ class PermissionDialog extends StatelessWidget {
const SizedBox(height: 20),
Text(
'You denied location permission forever. Please allow location permission from your app settings and receive more accurate delivery.'
.tr(),
.tr,
textAlign: TextAlign.center,
style: TextStyle(fontSize: 18),
),
@@ -48,14 +47,14 @@ class PermissionDialog extends StatelessWidget {
),
minimumSize: const Size(1, 50),
),
child: Text('close'.tr()),
child: Text('close'.tr),
onPressed: () => Navigator.pop(context),
),
),
const SizedBox(width: 10),
Expanded(
child: RoundedButtonFill(
title: "Settings".tr(),
title: "Settings".tr,
color: AppThemeData.grey900,
textColor: AppThemeData.grey50,
onPress: () async {