From 9d10eda89c18c8d17ada63f2294e550cd1fcfaa7 Mon Sep 17 00:00:00 2001 From: Zohaib Iqbal Kambrani <> Date: Wed, 30 Dec 2020 18:30:50 +0300 Subject: [PATCH] Driver location update on order deliver in progress... --- android/app/src/main/AndroidManifest.xml | 3 +- lib/config/config.dart | 23 +- lib/config/localized_values.dart | 4 + .../request_initiate_order_delivery.dart | 10 + .../response_initiate_order_delivery.dart | 3 + .../request_update_driver_location.dart | 15 + .../response_update_driver_location.dart | 3 + .../service/delivery_tracking_services.dart | 100 ++++ lib/locator.dart | 2 + lib/pages/dashboard/dashboard_screen.dart | 4 +- lib/pages/delivery/information_page.dart | 458 +++++++++--------- lib/uitl/Logs.dart | 14 + lib/uitl/translations_delegate_base.dart | 3 + lib/uitl/utils.dart | 22 +- .../bottom_sheet/action_sheet_button.dart | 4 +- .../bottom_sheet/custom_bottom_sheet.dart | 2 +- lib/widgets/buttons/button.dart | 2 +- lib/widgets/buttons/secondary_button.dart | 2 +- .../data_display/circle-container.dart | 2 +- lib/widgets/delivery/customer_brief_card.dart | 2 +- lib/widgets/order/order_info_card.dart | 2 +- lib/widgets/others/rounded_container.dart | 2 +- pubspec.yaml | 9 +- 23 files changed, 440 insertions(+), 251 deletions(-) create mode 100644 lib/core/model/initiate_order_delivey/request_initiate_order_delivery.dart create mode 100644 lib/core/model/initiate_order_delivey/response_initiate_order_delivery.dart create mode 100644 lib/core/model/update_driver_location/request_update_driver_location.dart create mode 100644 lib/core/model/update_driver_location/response_update_driver_location.dart create mode 100644 lib/core/service/delivery_tracking_services.dart create mode 100644 lib/uitl/Logs.dart diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 41cc40e..ebf62c1 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -24,8 +24,7 @@ to determine the Window background behind the Flutter UI. --> + android:resource="@style/NormalTheme" />