BASE: Switch From EasyLocalization To GetX Localization.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user