|
|
@@ -65,16 +65,22 @@ class CheckLocationPermissionView extends Dialog {
|
|
|
}
|
|
|
|
|
|
Widget buildIosBtnView() {
|
|
|
- return Container(
|
|
|
- width: 229.w,
|
|
|
- height: 40.w,
|
|
|
- decoration: BoxDecoration(
|
|
|
- color: ColorName.colorPrimary,
|
|
|
- borderRadius: BorderRadius.circular(54.w),
|
|
|
- ),
|
|
|
- child: Center(
|
|
|
- child: Text(StringName.nextStep,
|
|
|
- style: TextStyle(fontSize: 14.sp, color: ColorName.white))));
|
|
|
+ return GestureDetector(
|
|
|
+ onTap: () {
|
|
|
+ onRequestPermissionClick.call();
|
|
|
+ CheckLocationPermissionDialog.dismiss();
|
|
|
+ },
|
|
|
+ child: Container(
|
|
|
+ width: 229.w,
|
|
|
+ height: 40.w,
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: ColorName.colorPrimary,
|
|
|
+ borderRadius: BorderRadius.circular(54.w),
|
|
|
+ ),
|
|
|
+ child: Center(
|
|
|
+ child: Text(StringName.nextStep,
|
|
|
+ style: TextStyle(fontSize: 14.sp, color: ColorName.white)))),
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
Widget buildAndroidBtnView() {
|