BASE: Update Icons & Name Of The App.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:geolocator/geolocator.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:get/get.dart' hide Trans;
|
||||
import '../themes/app_them_data.dart';
|
||||
import '../themes/round_button_fill.dart';
|
||||
|
||||
@@ -21,10 +21,15 @@ class PermissionDialog extends StatelessWidget {
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Icon(Icons.add_location_alt_rounded, color: Theme.of(context).primaryColor, size: 100),
|
||||
Icon(
|
||||
Icons.add_location_alt_rounded,
|
||||
color: Theme.of(context).primaryColor,
|
||||
size: 100,
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
Text(
|
||||
'You denied location permission forever. Please allow location permission from your app settings and receive more accurate delivery.'.tr(),
|
||||
'You denied location permission forever. Please allow location permission from your app settings and receive more accurate delivery.'
|
||||
.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(fontSize: 18),
|
||||
),
|
||||
@@ -34,7 +39,13 @@ class PermissionDialog extends StatelessWidget {
|
||||
Expanded(
|
||||
child: TextButton(
|
||||
style: TextButton.styleFrom(
|
||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(30), side: BorderSide(width: 2, color: Theme.of(context).primaryColor)),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
side: BorderSide(
|
||||
width: 2,
|
||||
color: Theme.of(context).primaryColor,
|
||||
),
|
||||
),
|
||||
minimumSize: const Size(1, 50),
|
||||
),
|
||||
child: Text('close'.tr()),
|
||||
|
||||
Reference in New Issue
Block a user