diff --git a/lib/pages/visitor_access_page/visitor_access_page.dart b/lib/pages/visitor_access_page/visitor_access_page.dart index 318a792b..61e165b0 100644 --- a/lib/pages/visitor_access_page/visitor_access_page.dart +++ b/lib/pages/visitor_access_page/visitor_access_page.dart @@ -1,9 +1,9 @@ // Flutter imports: -import 'package:bot_toast/bot_toast.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; // Package imports: +import 'package:bot_toast/bot_toast.dart'; import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; diff --git a/lib/provider/app_provider.dart b/lib/provider/app_provider.dart index 9d848015..88b190be 100644 --- a/lib/provider/app_provider.dart +++ b/lib/provider/app_provider.dart @@ -1,13 +1,13 @@ // Flutter imports: -import 'package:akuCommunity/constants/api.dart'; -import 'package:akuCommunity/model/community/hot_topic_model.dart'; -import 'package:akuCommunity/utils/network/base_model.dart'; -import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:flutter/material.dart'; // Project imports: +import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/application_objects.dart'; +import 'package:akuCommunity/model/community/hot_topic_model.dart'; import 'package:akuCommunity/utils/hive_store.dart'; +import 'package:akuCommunity/utils/network/base_model.dart'; +import 'package:akuCommunity/utils/network/net_util.dart'; class AppProvider extends ChangeNotifier { ///初始值为 diff --git a/lib/ui/community/activity/activity_detail_page.dart b/lib/ui/community/activity/activity_detail_page.dart index b7534570..ae07740e 100644 --- a/lib/ui/community/activity/activity_detail_page.dart +++ b/lib/ui/community/activity/activity_detail_page.dart @@ -1,10 +1,9 @@ // Flutter imports: -import 'package:akuCommunity/widget/buttons/bottom_button.dart'; -import 'package:bot_toast/bot_toast.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; // Package imports: +import 'package:bot_toast/bot_toast.dart'; import 'package:common_utils/common_utils.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; @@ -19,6 +18,7 @@ import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; +import 'package:akuCommunity/widget/buttons/bottom_button.dart'; import 'package:akuCommunity/widget/others/stack_avatar.dart'; import 'package:akuCommunity/widget/picker/bee_image_preview.dart'; diff --git a/lib/ui/community/community_views/add_new_event_page.dart b/lib/ui/community/community_views/add_new_event_page.dart index 2b4f899c..dd609195 100644 --- a/lib/ui/community/community_views/add_new_event_page.dart +++ b/lib/ui/community/community_views/add_new_event_page.dart @@ -2,8 +2,6 @@ import 'dart:io'; // Flutter imports: -import 'package:akuCommunity/model/community/hot_topic_model.dart'; -import 'package:akuCommunity/provider/app_provider.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; @@ -16,6 +14,8 @@ import 'package:velocity_x/velocity_x.dart'; // Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; +import 'package:akuCommunity/model/community/hot_topic_model.dart'; +import 'package:akuCommunity/provider/app_provider.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/network/base_model.dart'; import 'package:akuCommunity/utils/network/net_util.dart'; diff --git a/lib/ui/community/community_views/widgets/chat_card.dart b/lib/ui/community/community_views/widgets/chat_card.dart index d732024d..a7527506 100644 --- a/lib/ui/community/community_views/widgets/chat_card.dart +++ b/lib/ui/community/community_views/widgets/chat_card.dart @@ -1,5 +1,4 @@ // Flutter imports: -import 'package:akuCommunity/ui/community/community_views/widgets/send_a_chat.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; @@ -15,6 +14,7 @@ import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/event_item_model.dart'; import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart'; +import 'package:akuCommunity/ui/community/community_views/widgets/send_a_chat.dart'; import 'package:akuCommunity/utils/bee_date_util.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/network/net_util.dart'; diff --git a/lib/ui/community/community_views/widgets/my_event_card.dart b/lib/ui/community/community_views/widgets/my_event_card.dart index 581db574..54ce5596 100644 --- a/lib/ui/community/community_views/widgets/my_event_card.dart +++ b/lib/ui/community/community_views/widgets/my_event_card.dart @@ -1,5 +1,4 @@ // Flutter imports: -import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart'; import 'package:flutter/material.dart'; // Package imports: @@ -10,6 +9,7 @@ import 'package:velocity_x/velocity_x.dart'; import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/my_event_item_model.dart'; +import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart'; import 'package:akuCommunity/utils/bee_date_util.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/picker/bee_image_preview.dart'; diff --git a/lib/ui/community/community_views/widgets/send_a_chat.dart b/lib/ui/community/community_views/widgets/send_a_chat.dart index ef3926ff..e47144c6 100644 --- a/lib/ui/community/community_views/widgets/send_a_chat.dart +++ b/lib/ui/community/community_views/widgets/send_a_chat.dart @@ -1,11 +1,16 @@ -import 'package:akuCommunity/constants/api.dart'; -import 'package:akuCommunity/utils/headers.dart'; -import 'package:akuCommunity/base/base_style.dart'; -import 'package:akuCommunity/utils/network/net_util.dart'; +// Flutter imports: import 'package:flutter/material.dart'; + +// Package imports: import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; +// Project imports: +import 'package:akuCommunity/base/base_style.dart'; +import 'package:akuCommunity/constants/api.dart'; +import 'package:akuCommunity/utils/headers.dart'; +import 'package:akuCommunity/utils/network/net_util.dart'; + class SendAChat extends StatefulWidget { final FocusNode node; SendAChat({Key key, this.node}) : super(key: key); diff --git a/lib/ui/home/application/all_application.dart b/lib/ui/home/application/all_application.dart index 5c1d9d47..40e489cf 100644 --- a/lib/ui/home/application/all_application.dart +++ b/lib/ui/home/application/all_application.dart @@ -1,5 +1,4 @@ // Flutter imports: -import 'package:akuCommunity/ui/search/bee_search.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; @@ -12,6 +11,7 @@ import 'package:velocity_x/velocity_x.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/application_objects.dart'; import 'package:akuCommunity/provider/app_provider.dart'; +import 'package:akuCommunity/ui/search/bee_search.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_back_button.dart'; diff --git a/lib/ui/manager/advice/advice_page.dart b/lib/ui/manager/advice/advice_page.dart index 24f0a6fc..aa06fc2d 100644 --- a/lib/ui/manager/advice/advice_page.dart +++ b/lib/ui/manager/advice/advice_page.dart @@ -1,9 +1,9 @@ // Flutter imports: -import 'package:bot_toast/bot_toast.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; // Package imports: +import 'package:bot_toast/bot_toast.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; diff --git a/lib/ui/search/bee_search.dart b/lib/ui/search/bee_search.dart index 98efe233..9119b931 100644 --- a/lib/ui/search/bee_search.dart +++ b/lib/ui/search/bee_search.dart @@ -1,10 +1,15 @@ -import 'package:akuCommunity/constants/application_objects.dart'; -import 'package:akuCommunity/utils/headers.dart'; -import 'package:akuCommunity/widget/bee_back_button.dart'; +// Flutter imports: import 'package:flutter/material.dart'; + +// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; +// Project imports: +import 'package:akuCommunity/constants/application_objects.dart'; +import 'package:akuCommunity/utils/headers.dart'; +import 'package:akuCommunity/widget/bee_back_button.dart'; + class BeeSearch extends StatefulWidget { BeeSearch({Key key}) : super(key: key);