From e65309b1b00c68c96d3eb539c57dbff72f23c75f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=90=8C?= <494089941@qq.com> Date: Mon, 30 May 2022 10:13:53 +0800 Subject: [PATCH] dart fix--apply --- lib/pages/event_activity/event_voting_page.dart | 1 - lib/pages/event_activity/voting_detail_page.dart | 2 -- lib/pages/one_alarm/widget/alarm_page.dart | 1 - lib/pages/services/old_age/old_age_support_list_page.dart | 5 ++--- lib/pages/services/old_age/submit_equipment_code_page.dart | 1 - lib/pages/setting_page/feedback_page/feedback_page.dart | 1 - lib/ui/community/facility/facility_type_detail_card.dart | 1 - lib/ui/function_and_service/task/task_page.dart | 2 -- lib/ui/market/order/order_detail_page.dart | 1 - lib/ui/market/search/submit_order_page.dart | 1 - 10 files changed, 2 insertions(+), 14 deletions(-) diff --git a/lib/pages/event_activity/event_voting_page.dart b/lib/pages/event_activity/event_voting_page.dart index fb6516d2..eefc0cd0 100644 --- a/lib/pages/event_activity/event_voting_page.dart +++ b/lib/pages/event_activity/event_voting_page.dart @@ -7,7 +7,6 @@ import 'package:get/get.dart'; import 'package:aku_new_community/base/base_style.dart'; import 'package:aku_new_community/constants/saas_api.dart'; -import 'package:aku_new_community/model/common/img_model.dart'; import 'package:aku_new_community/model/manager/event_voting_model.dart'; import 'package:aku_new_community/pages/event_activity/voting_detail_page.dart'; import 'package:aku_new_community/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/pages/event_activity/voting_detail_page.dart b/lib/pages/event_activity/voting_detail_page.dart index 5b394520..32f59740 100644 --- a/lib/pages/event_activity/voting_detail_page.dart +++ b/lib/pages/event_activity/voting_detail_page.dart @@ -8,8 +8,6 @@ import 'package:get/get.dart'; import 'package:aku_new_community/base/base_style.dart'; import 'package:aku_new_community/constants/app_theme.dart'; -import 'package:aku_new_community/constants/saas_api.dart'; -import 'package:aku_new_community/model/common/img_model.dart'; import 'package:aku_new_community/model/manager/voting_detail_model.dart'; import 'package:aku_new_community/pages/manager_func.dart'; import 'package:aku_new_community/utils/headers.dart'; diff --git a/lib/pages/one_alarm/widget/alarm_page.dart b/lib/pages/one_alarm/widget/alarm_page.dart index 448710ad..1920ad75 100644 --- a/lib/pages/one_alarm/widget/alarm_page.dart +++ b/lib/pages/one_alarm/widget/alarm_page.dart @@ -8,7 +8,6 @@ import 'package:permission_handler/permission_handler.dart'; import 'package:provider/provider.dart'; import 'package:url_launcher/url_launcher.dart'; -import 'package:aku_new_community/constants/api.dart'; import 'package:aku_new_community/pages/one_alarm/alarm_detail_page.dart'; import 'package:aku_new_community/provider/app_provider.dart'; import 'package:aku_new_community/utils/headers.dart'; diff --git a/lib/pages/services/old_age/old_age_support_list_page.dart b/lib/pages/services/old_age/old_age_support_list_page.dart index cbca5f59..59d37406 100644 --- a/lib/pages/services/old_age/old_age_support_list_page.dart +++ b/lib/pages/services/old_age/old_age_support_list_page.dart @@ -1,4 +1,3 @@ -import 'dart:async'; import 'package:aku_new_community/constants/saas_api.dart'; import 'package:aku_new_community/extensions/widget_list_ext.dart'; @@ -129,7 +128,7 @@ class _OldAgeSupportListPageState extends State { } }, child: _bracelets.isEmpty - ? _emptyWidgt() + ? _emptyWidget() : ListView( padding: EdgeInsets.all(24.w), children: [ @@ -223,7 +222,7 @@ class _OldAgeSupportListPageState extends State { ); } - Widget _emptyWidgt() { + Widget _emptyWidget() { return SafeArea( child: Center( child: Column( diff --git a/lib/pages/services/old_age/submit_equipment_code_page.dart b/lib/pages/services/old_age/submit_equipment_code_page.dart index 3f453e15..80a7274f 100644 --- a/lib/pages/services/old_age/submit_equipment_code_page.dart +++ b/lib/pages/services/old_age/submit_equipment_code_page.dart @@ -1,6 +1,5 @@ import 'package:aku_new_community/constants/saas_api.dart'; import 'package:aku_new_community/utils/network/net_util.dart'; -import 'package:aku_new_community/widget/others/user_tool.dart'; import 'package:flutter/material.dart'; import 'package:bot_toast/bot_toast.dart'; diff --git a/lib/pages/setting_page/feedback_page/feedback_page.dart b/lib/pages/setting_page/feedback_page/feedback_page.dart index 4560a742..aa1bd476 100644 --- a/lib/pages/setting_page/feedback_page/feedback_page.dart +++ b/lib/pages/setting_page/feedback_page/feedback_page.dart @@ -6,7 +6,6 @@ import 'package:flutter/material.dart'; import 'package:bot_toast/bot_toast.dart'; import 'package:get/get.dart'; -import 'package:aku_new_community/constants/api.dart'; import 'package:aku_new_community/utils/headers.dart'; import 'package:aku_new_community/utils/network/net_util.dart'; import 'package:aku_new_community/widget/bee_scaffold.dart'; diff --git a/lib/ui/community/facility/facility_type_detail_card.dart b/lib/ui/community/facility/facility_type_detail_card.dart index 442b0712..9934a8a9 100644 --- a/lib/ui/community/facility/facility_type_detail_card.dart +++ b/lib/ui/community/facility/facility_type_detail_card.dart @@ -1,4 +1,3 @@ -import 'dart:ui'; import 'package:aku_new_community/ui/community/facility/facility_preorder_date_picker.dart'; import 'package:common_utils/common_utils.dart'; diff --git a/lib/ui/function_and_service/task/task_page.dart b/lib/ui/function_and_service/task/task_page.dart index cc96a211..7bd6859e 100644 --- a/lib/ui/function_and_service/task/task_page.dart +++ b/lib/ui/function_and_service/task/task_page.dart @@ -1,5 +1,3 @@ -import 'package:aku_new_community/ui/function_and_service/task/dialogs/task_evaluation_dialog.dart'; -import 'package:bot_toast/bot_toast.dart'; import 'package:flutter/material.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; diff --git a/lib/ui/market/order/order_detail_page.dart b/lib/ui/market/order/order_detail_page.dart index 4ab5e1aa..9e11ffc6 100644 --- a/lib/ui/market/order/order_detail_page.dart +++ b/lib/ui/market/order/order_detail_page.dart @@ -7,7 +7,6 @@ import 'package:bot_toast/bot_toast.dart'; import 'package:get/get.dart'; import 'package:aku_new_community/base/base_style.dart'; -import 'package:aku_new_community/constants/api.dart'; import 'package:aku_new_community/constants/saas_api.dart'; import 'package:aku_new_community/gen/assets.gen.dart'; import 'package:aku_new_community/model/order/logistics_model.dart'; diff --git a/lib/ui/market/search/submit_order_page.dart b/lib/ui/market/search/submit_order_page.dart index 3fe37082..f5d0cc01 100644 --- a/lib/ui/market/search/submit_order_page.dart +++ b/lib/ui/market/search/submit_order_page.dart @@ -7,7 +7,6 @@ import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:aku_new_community/base/base_style.dart'; -import 'package:aku_new_community/constants/api.dart'; import 'package:aku_new_community/constants/saas_api.dart'; import 'package:aku_new_community/model/order/create_order_model.dart'; import 'package:aku_new_community/model/user/adress_model.dart';