Fix error happen in information_page

location
Elham Rababah 6 years ago
parent fcfb19963c
commit 02f96e3891

@ -55,467 +55,466 @@ class _DashboardScreenState extends State<DashboardScreen> {
builder: (BuildContext context, OrdersViewModel model, Widget child) => builder: (BuildContext context, OrdersViewModel model, Widget child) =>
AppScaffold( AppScaffold(
body: Container( body: Container(
height: MediaQuery.of(context).size.height * .95, child: Column(
child: ListView( mainAxisSize: MainAxisSize.min,
children: <Widget>[ children: <Widget>[
Row( Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[ children: <Widget>[
Padding( Padding(
padding: EdgeInsets.all(16.0), padding: EdgeInsets.all(16.0),
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
SafeArea( SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
TranslationBase.of(context).haveGreatDay,
style: TextStyle(
fontSize: 14.5,
color: Color(0xff636363),
fontWeight: FontWeight.w300),
),
Padding(
padding: EdgeInsets.only(top: 4.5),
child: Text(
_authenticationViewModel.user.userName,
style: TextStyle(
fontSize: 22.0,
color: Hexcolor("#343333"),
fontWeight: FontWeight.bold),
),
),
],
),
),
],
),
),
Padding(
padding: EdgeInsets.all(16.0),
child: SafeArea(
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
InkWell( Text(
child: CircleAvatar( TranslationBase.of(context).haveGreatDay,
radius: 25.5, style: TextStyle(
backgroundColor: Color(0xff30B7B9), fontSize: 14.5,
child: CircleAvatar( color: Color(0xff636363),
backgroundColor: Color(0xff30B7B9), fontWeight: FontWeight.w300),
maxRadius: 26.0, ),
child: Image.asset( Padding(
'assets/images/driver.png', padding: EdgeInsets.only(top: 4.5),
fit: BoxFit.contain, child: Text(
), _authenticationViewModel.user.userName,
), style: TextStyle(
fontSize: 22.0,
color: Hexcolor("#343333"),
fontWeight: FontWeight.bold),
), ),
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SettingPage(
driverName: _authenticationViewModel
.user.userName,
driverID: _authenticationViewModel
.user.userID)));
},
), ),
], ],
), ),
), ),
],
),
),
Padding(
padding: EdgeInsets.all(16.0),
child: SafeArea(
child: Column(
children: <Widget>[
InkWell(
child: CircleAvatar(
radius: 25.5,
backgroundColor: Color(0xff30B7B9),
child: CircleAvatar(
backgroundColor: Color(0xff30B7B9),
maxRadius: 26.0,
child: Image.asset(
'assets/images/driver.png',
fit: BoxFit.contain,
),
),
),
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SettingPage(
driverName: _authenticationViewModel
.user.userName,
driverID: _authenticationViewModel
.user.userID)));
},
),
],
), ),
], ),
), ),
Row( ],
children: <Widget>[ ),
Expanded( Row(
child: Column( children: <Widget>[
children: <Widget>[ Expanded(
Padding( child: Column(
padding: EdgeInsets.symmetric(horizontal: 10.0), children: <Widget>[
child: Container( Padding(
height: MediaQuery.of(context).orientation == padding: EdgeInsets.symmetric(horizontal: 10.0),
child: Container(
height: MediaQuery.of(context).orientation ==
Orientation.portrait Orientation.portrait
? MediaQuery.of(context).size.height * 0.16 ? MediaQuery.of(context).size.height * 0.16
: MediaQuery.of(context).size.height * 0.30, : MediaQuery.of(context).size.height * 0.30,
width: MediaQuery.of(context).size.width * 0.44, width: MediaQuery.of(context).size.width * 0.44,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(15.0), borderRadius: BorderRadius.circular(15.0),
gradient: LINEAR_GRADIENT, gradient: LINEAR_GRADIENT,
), ),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
child: Padding( child: Padding(
padding: EdgeInsets.all(2.0), padding: EdgeInsets.all(2.0),
child: Column( child: Column(
mainAxisAlignment: mainAxisAlignment:
MainAxisAlignment.spaceEvenly, MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
Text( Text(
TranslationBase.of(context).youHave, TranslationBase.of(context).youHave,
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: MediaQuery.of(context) fontSize: MediaQuery.of(context)
.orientation == .orientation ==
Orientation.landscape Orientation.landscape
? SizeConfig.textMultiplier * ? SizeConfig.textMultiplier *
2.2 2.2
: SizeConfig.textMultiplier * : SizeConfig.textMultiplier *
1.3, 1.3,
), ),
), ),
Text( Text(
'5', '5',
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: fontSize:
SizeConfig.textMultiplier * SizeConfig.textMultiplier *
3.0), 3.0),
), ),
Text( Text(
TranslationBase.of(context) TranslationBase.of(context)
.undeliveredPackages, .undeliveredPackages,
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: MediaQuery.of(context) fontSize: MediaQuery.of(context)
.orientation == .orientation ==
Orientation.landscape Orientation.landscape
? SizeConfig.textMultiplier * ? SizeConfig.textMultiplier *
2.2 2.2
: SizeConfig.textMultiplier * : SizeConfig.textMultiplier *
1.3, 1.3,
), ),
) )
], ],
),
),
), ),
Padding( ),
padding: EdgeInsets.only(right: 9.5), ),
child: Container( Padding(
width: 100, padding: EdgeInsets.only(right: 9.5),
height: 100, child: Container(
decoration: BoxDecoration( width: 100,
color: Colors.white10, height: 100,
shape: BoxShape.circle), decoration: BoxDecoration(
child: Column( color: Colors.white10,
mainAxisAlignment: shape: BoxShape.circle),
child: Column(
mainAxisAlignment:
MainAxisAlignment.center, MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
Image.asset( Image.asset(
'assets/images/closed_box.png', 'assets/images/closed_box.png',
height: MediaQuery.of(context) height: MediaQuery.of(context)
.orientation == .orientation ==
Orientation.portrait Orientation.portrait
? MediaQuery.of(context) ? MediaQuery.of(context)
.size .size
.height * .height *
0.09 0.09
: MediaQuery.of(context) : MediaQuery.of(context)
.size .size
.height * .height *
0.20, 0.20,
width: MediaQuery.of(context) width: MediaQuery.of(context)
.size .size
.width * .width *
0.20, 0.20,
scale: 0.9, scale: 0.9,
fit: BoxFit.contain, fit: BoxFit.contain,
),
],
), ),
), ],
), ),
], ),
), ),
), ],
) ),
], ),
), )
), ],
Expanded( ),
child: Column( ),
children: <Widget>[ Expanded(
Padding( child: Column(
padding: EdgeInsets.symmetric(horizontal: 10.0), children: <Widget>[
child: Container( Padding(
height: MediaQuery.of(context).orientation == padding: EdgeInsets.symmetric(horizontal: 10.0),
child: Container(
height: MediaQuery.of(context).orientation ==
Orientation.portrait Orientation.portrait
? MediaQuery.of(context).size.height * 0.16 ? MediaQuery.of(context).size.height * 0.16
: MediaQuery.of(context).size.height * 0.30, : MediaQuery.of(context).size.height * 0.30,
width: MediaQuery.of(context).size.width * 0.45, width: MediaQuery.of(context).size.width * 0.45,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(15.0), borderRadius: BorderRadius.circular(15.0),
gradient: LINEAR_GRADIENT, gradient: LINEAR_GRADIENT,
), ),
child: InkWell( child: InkWell(
onTap: () => Navigator.push( onTap: () => Navigator.push(
context, context,
MaterialPageRoute( MaterialPageRoute(
builder: (context) => builder: (context) =>
DeliverdOrdersPage())), DeliverdOrdersPage())),
child: Row( child: Row(
mainAxisAlignment: mainAxisAlignment:
MainAxisAlignment.spaceBetween, MainAxisAlignment.spaceBetween,
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
child: Padding( child: Padding(
padding: EdgeInsets.all(2.0), padding: EdgeInsets.all(2.0),
child: Column( child: Column(
mainAxisAlignment: mainAxisAlignment:
MainAxisAlignment.spaceEvenly, MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
Text( Text(
TranslationBase.of(context).youHave, TranslationBase.of(context).youHave,
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: MediaQuery.of(context) fontSize: MediaQuery.of(context)
.orientation == .orientation ==
Orientation.landscape Orientation.landscape
? SizeConfig.textMultiplier * ? SizeConfig.textMultiplier *
2.2 2.2
: SizeConfig.textMultiplier * : SizeConfig.textMultiplier *
1.3, 1.3,
), ),
), ),
Text( Text(
'3', '3',
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: fontSize:
SizeConfig.textMultiplier * SizeConfig.textMultiplier *
3.0), 3.0),
), ),
Text( Text(
TranslationBase.of(context) TranslationBase.of(context)
.deliveredPackages, .deliveredPackages,
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: MediaQuery.of(context) fontSize: MediaQuery.of(context)
.orientation == .orientation ==
Orientation.landscape Orientation.landscape
? SizeConfig.textMultiplier * ? SizeConfig.textMultiplier *
2.2 2.2
: SizeConfig.textMultiplier * : SizeConfig.textMultiplier *
1.3, 1.3,
), ),
) )
], ],
),
),
), ),
Padding( ),
padding: EdgeInsets.only(right: 9.5), ),
child: Container( Padding(
width: 100, padding: EdgeInsets.only(right: 9.5),
height: 100, child: Container(
decoration: BoxDecoration( width: 100,
color: Colors.white10, height: 100,
shape: BoxShape.circle, decoration: BoxDecoration(
), color: Colors.white10,
child: Column( shape: BoxShape.circle,
mainAxisAlignment: ),
child: Column(
mainAxisAlignment:
MainAxisAlignment.center, MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
Image.asset( Image.asset(
'assets/images/opend_box.png', 'assets/images/opend_box.png',
height: MediaQuery.of(context) height: MediaQuery.of(context)
.orientation == .orientation ==
Orientation.portrait Orientation.portrait
? MediaQuery.of(context) ? MediaQuery.of(context)
.size .size
.height * .height *
0.09 0.09
: MediaQuery.of(context) : MediaQuery.of(context)
.size .size
.height * .height *
0.20, 0.20,
width: MediaQuery.of(context) width: MediaQuery.of(context)
.size .size
.width * .width *
0.20, 0.20,
scale: 0.9, scale: 0.9,
fit: BoxFit.contain, fit: BoxFit.contain,
),
],
), ),
), ],
), ),
], ),
), ),
), ],
), ),
) ),
], ),
), )
), ],
], ),
), ),
Padding( ],
padding: EdgeInsets.symmetric(vertical: 16.0, horizontal: 15.0), ),
child: Row( Padding(
children: <Widget>[ padding: EdgeInsets.symmetric(vertical: 16.0, horizontal: 15.0),
Expanded( child: Row(
child: InkWell( children: <Widget>[
onTap: () { Expanded(
_scanQrAndGetPatient(context, model); child: InkWell(
}, onTap: () {
child: Container( _scanQrAndGetPatient(context, model);
height: MediaQuery.of(context).orientation == },
child: Container(
height: MediaQuery.of(context).orientation ==
Orientation.portrait Orientation.portrait
? MediaQuery.of(context).size.height * 0.18 ? MediaQuery.of(context).size.height * 0.18
: MediaQuery.of(context).size.height * 0.30, : MediaQuery.of(context).size.height * 0.30,
width: MediaQuery.of(context).size.width * 0.50, width: MediaQuery.of(context).size.width * 0.50,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(15.0), borderRadius: BorderRadius.circular(15.0),
gradient: LINEAR_GRADIENT, gradient: LINEAR_GRADIENT,
), ),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
Column( Image.asset(
mainAxisAlignment: MainAxisAlignment.center, 'assets/images/qr_code.png',
children: <Widget>[ width: MediaQuery.of(context).size.width *
Image.asset( 0.26,
'assets/images/qr_code.png', height: MediaQuery.of(context)
width: MediaQuery.of(context).size.width * .orientation ==
0.26,
height: MediaQuery.of(context)
.orientation ==
Orientation.portrait Orientation.portrait
? MediaQuery.of(context).size.height * ? MediaQuery.of(context).size.height *
0.14 0.14
: MediaQuery.of(context).size.height * : MediaQuery.of(context).size.height *
0.28, 0.28,
fit: BoxFit.contain, fit: BoxFit.contain,
) )
], ],
), ),
Column( Column(
mainAxisAlignment: mainAxisAlignment:
MainAxisAlignment.spaceEvenly, MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
Padding( Padding(
padding: EdgeInsets.only(top: 8.0), padding: EdgeInsets.only(top: 8.0),
child: Text( child: Text(
TranslationBase.of(context).scan, TranslationBase.of(context).scan,
style: TextStyle( style: TextStyle(
fontSize: MediaQuery.of(context) fontSize: MediaQuery.of(context)
.orientation == .orientation ==
Orientation.landscape Orientation.landscape
? SizeConfig.textMultiplier * 6.0 ? SizeConfig.textMultiplier * 6.0
: SizeConfig.textMultiplier * 4.0, : SizeConfig.textMultiplier * 4.0,
color: Colors.white, color: Colors.white,
fontWeight: FontWeight.w400, fontWeight: FontWeight.w400,
),
),
), ),
Padding( ),
padding: EdgeInsets.only(top: 0.0), ),
child: Text( Padding(
TranslationBase.of(context) padding: EdgeInsets.only(top: 0.0),
.toAddPackageToQue, child: Text(
style: TextStyle( TranslationBase.of(context)
fontSize: MediaQuery.of(context) .toAddPackageToQue,
.orientation == style: TextStyle(
fontSize: MediaQuery.of(context)
.orientation ==
Orientation.landscape Orientation.landscape
? SizeConfig.textMultiplier * 3.0 ? SizeConfig.textMultiplier * 3.0
: SizeConfig.textMultiplier * 2.0, : SizeConfig.textMultiplier * 2.0,
color: Colors.white, color: Colors.white,
letterSpacing: 0.2, letterSpacing: 0.2,
wordSpacing: 0.5, wordSpacing: 0.5,
),
),
), ),
], ),
) ),
], ],
), )
), ],
), ),
) ),
),
)
],
),
),
Padding(
padding: EdgeInsets.symmetric(horizontal: 20.0, vertical: 1.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Column(
children: <Widget>[
Text(TranslationBase.of(context).nearestDropOffs,
style: TextStyle(
fontSize: 18.0,
color: Hexcolor("#343333"),
fontWeight: FontWeight.bold)),
], ],
), ),
), if (model.state == ViewState.Idle)
Padding( Column(
padding: EdgeInsets.symmetric(horizontal: 20.0, vertical: 1.0), mainAxisAlignment: MainAxisAlignment.center,
child: Row( children: <Widget>[
mainAxisAlignment: MainAxisAlignment.spaceBetween, InkWell(
children: <Widget>[ child: Row(
Column( children: <Widget>[
children: <Widget>[ Text(
Text(TranslationBase.of(context).nearestDropOffs, TranslationBase.of(context).seeAll,
style: TextStyle( style: TextStyle(
fontSize: 18.0, fontSize: 14.5, color: Color(0xff42B6AD)),
color: Hexcolor("#343333"),
fontWeight: FontWeight.bold)),
],
),
if (model.state == ViewState.Idle)
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
InkWell(
child: Row(
children: <Widget>[
Text(
TranslationBase.of(context).seeAll,
style: TextStyle(
fontSize: 14.5, color: Color(0xff42B6AD)),
),
Icon(
Icons.arrow_forward_ios,
size: 15.0,
color: Color(0xff42B6AD),
),
],
), ),
onTap: () => Navigator.push( Icon(
context, Icons.arrow_forward_ios,
MaterialPageRoute( size: 15.0,
builder: (context) => OrdersListScreen()), color: Color(0xff42B6AD),
), ),
), ],
], ),
onTap: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) => OrdersListScreen()),
),
), ),
], ],
), ),
), ],
NetworkBaseView( ),
baseViewModel: model, ),
child: Expanded( NetworkBaseView(
child: ListView.builder( baseViewModel: model,
shrinkWrap: true, child: Column(
scrollDirection: Axis.vertical, children: <Widget>[
itemCount: model.orders == null ...List.generate(
model.orders == null
? 0 ? 0
: model.orders.length < 3 ? model.orders.length : 3, : model.orders.length < 3 ? model.orders.length : 3,
itemBuilder: (BuildContext context, int index) { (index) => Padding(
return Padding( padding: EdgeInsets.symmetric(horizontal: 0.2),
padding: EdgeInsets.symmetric(horizontal: 0.2), child: OrderInfoCard(
child: OrderInfoCard( order: model.orders[index],
order: model.orders[index], onTap: () {
onTap: () { Navigator.push(
Navigator.push( context,
context, MaterialPageRoute(
MaterialPageRoute( builder: (context) =>
builder: (context) => InformationPage( InformationPage(
model.orders[index]))); item: model.orders[index],
}), )));
); }),
}, ))
), ],
), ),
),
],
), ),
), ],
), ),
),
),
); );
} }

@ -3,7 +3,6 @@ import 'package:driverapp/core/model/orders/next_order_request_model.dart';
import 'package:driverapp/core/model/orders/pending_orders_res_model.dart'; import 'package:driverapp/core/model/orders/pending_orders_res_model.dart';
import 'package:driverapp/core/viewModels/orders_view_model.dart'; import 'package:driverapp/core/viewModels/orders_view_model.dart';
import 'package:driverapp/pages/base/base_view.dart'; import 'package:driverapp/pages/base/base_view.dart';
import 'package:driverapp/pages/delivery/information_page.dart';
import 'package:driverapp/uitl/utils.dart'; import 'package:driverapp/uitl/utils.dart';
import 'package:driverapp/widgets/buttons/secondary_button.dart'; import 'package:driverapp/widgets/buttons/secondary_button.dart';
import 'package:driverapp/widgets/delivery/customer_brief_card.dart'; import 'package:driverapp/widgets/delivery/customer_brief_card.dart';
@ -13,6 +12,7 @@ import 'package:location/location.dart';
import '../../uitl/translations_delegate_base.dart'; import '../../uitl/translations_delegate_base.dart';
import '../../widgets/others/app_scaffold_widget.dart'; import '../../widgets/others/app_scaffold_widget.dart';
import 'information_page.dart';
class DeliveryConfirmedPage extends StatelessWidget { class DeliveryConfirmedPage extends StatelessWidget {
final PendingOrdersRes item; final PendingOrdersRes item;
@ -199,7 +199,8 @@ class DeliveryConfirmedPage extends StatelessWidget {
Navigator.pushReplacement( Navigator.pushReplacement(
context, context,
MaterialPageRoute( MaterialPageRoute(
builder: (context) => InformationPage(model.nextOrdersList[0]), builder: (context) =>
InformationPage(item: model.nextOrdersList[0]),
), ),
); );
} }

File diff suppressed because one or more lines are too long

@ -1,84 +0,0 @@
import 'package:driverapp/pages/delivery/delivery_confirmed_page.dart';
import 'package:driverapp/pages/delivery/information_page.dart';
import 'package:driverapp/uitl/translations_delegate_base.dart';
import 'package:driverapp/widgets/bottom_navigation/bottom_nav_bar.dart';
import 'package:driverapp/widgets/drawer/app_drawer_widget.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'home_page.dart';
class LandingPage extends StatefulWidget {
@override
_LandingPageState createState() => _LandingPageState();
}
class _LandingPageState extends State<LandingPage> {
int currentTab = 0;
PageController pageController;
_changeCurrentTab(int tab) {
setState(() {
currentTab = tab;
pageController.jumpToPage(tab);
});
}
@override
void initState() {
super.initState();
pageController = PageController(keepPage: true);
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
elevation: 0,
textTheme: TextTheme(
headline6:
TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
),
title: Text(getText(currentTab).toUpperCase()),
leading: Builder(
builder: (BuildContext context) {
return IconButton(
icon: Icon(Icons.menu),
color: Colors.white,
onPressed: () => Scaffold.of(context).openDrawer(),
);
},
),
centerTitle: true,
),
drawer: SafeArea(child: AppDrawer()),
extendBody: true,
body: PageView(
physics: NeverScrollableScrollPhysics(),
controller: pageController,
children: [
HomePage(),
InformationPage(null),
DeliveryConfirmedPage(null),
Container()
],
),
bottomNavigationBar: BottomNavBar(changeIndex: _changeCurrentTab),
);
}
getText(currentTab) {
switch (currentTab) {
case 0:
return TranslationBase.of(context).home;
case 1:
return 'new One';
case 2:
return TranslationBase.of(context).booking;
case 3:
return TranslationBase.of(context).mySchedule;
case 4:
return TranslationBase.of(context).services;
}
}
}

@ -17,7 +17,7 @@ class _OrdersListScreenState extends State<OrdersListScreen> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return BaseView<OrdersViewModel>( return BaseView<OrdersViewModel>(
onModelReady: (model) => model.getPendingOrders(), // onModelReady: (model) => model.getPendingOrders(),
builder: (BuildContext context, OrdersViewModel model, Widget child) => builder: (BuildContext context, OrdersViewModel model, Widget child) =>
AppScaffold( AppScaffold(
isShowAppBar: true, isShowAppBar: true,
@ -42,8 +42,9 @@ class _OrdersListScreenState extends State<OrdersListScreen> {
Navigator.push( Navigator.push(
context, context,
MaterialPageRoute( MaterialPageRoute(
builder: (context) => builder: (context) => InformationPage(
InformationPage(model.orders[index]))); item: model.orders[index],
)));
}, },
), ),
); );

@ -102,7 +102,7 @@ class Utils {
try { try {
currentLocation = await location.getLocation(); currentLocation = await location.getLocation();
} catch (e) { } catch (e) {
await getLocationPermission(); // await getLocationPermission();
print(e); print(e);
} }
return currentLocation; return currentLocation;

Loading…
Cancel
Save