diff --git a/lib/base/base_style.dart b/lib/base/base_style.dart index 08b3fa03..9faab066 100644 --- a/lib/base/base_style.dart +++ b/lib/base/base_style.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; const ktextPrimary = Color(0xff333333); diff --git a/lib/constants/app_theme.dart b/lib/constants/app_theme.dart new file mode 100644 index 00000000..d8f8e734 --- /dev/null +++ b/lib/constants/app_theme.dart @@ -0,0 +1,37 @@ +import 'package:flutter/material.dart'; + +import 'package:flutter_screenutil/flutter_screenutil.dart'; + +class AppTheme { + static ThemeData get theme { + return ThemeData(primarySwatch: Colors.blue).copyWith( + primaryColor: Color(0xFFFFD000), + accentColor: Color(0xFFFFD000), + floatingActionButtonTheme: FloatingActionButtonThemeData().copyWith( + backgroundColor: Color(0xFFFFD000), + ), + appBarTheme: AppBarTheme( + elevation: 0, + centerTitle: true, + brightness: Brightness.light, + textTheme: TextTheme( + headline6: TextStyle( + color: Color(0xFF333333), + fontSize: 36.sp, + ), + ), + ), + tabBarTheme: TabBarTheme( + labelColor: Color(0xFF333333), + labelStyle: TextStyle( + fontSize: 28.sp, + fontWeight: FontWeight.w600, + ), + unselectedLabelStyle: TextStyle( + fontSize: 28.sp, + ), + indicatorSize: TabBarIndicatorSize.label, + ), + ); + } +} diff --git a/lib/constants/application_objects.dart b/lib/constants/application_objects.dart index 5d1e5782..99c244ec 100644 --- a/lib/constants/application_objects.dart +++ b/lib/constants/application_objects.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/pages/address_page/address_page.dart'; import 'package:akuCommunity/pages/convenient_phone/convenient_phone_page.dart'; diff --git a/lib/extensions/num_ext.dart b/lib/extensions/num_ext.dart index de935cc5..f24888e9 100644 --- a/lib/extensions/num_ext.dart +++ b/lib/extensions/num_ext.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; extension NumExt on num { diff --git a/lib/extensions/page_router.dart b/lib/extensions/page_router.dart index 97b6e6a5..5aa44709 100644 --- a/lib/extensions/page_router.dart +++ b/lib/extensions/page_router.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; extension PageExt on Widget { diff --git a/lib/extensions/widget_list_ext.dart b/lib/extensions/widget_list_ext.dart index 38aef0a7..97718f4c 100644 --- a/lib/extensions/widget_list_ext.dart +++ b/lib/extensions/widget_list_ext.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'num_ext.dart'; extension WidgetListExt on List { diff --git a/lib/main.dart b/lib/main.dart index 91612508..5325bf3e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:flutter_picker/flutter_picker.dart'; @@ -12,7 +10,7 @@ import 'package:jpush_flutter/jpush_flutter.dart'; import 'package:provider/provider.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart'; -// Project imports: +import 'package:akuCommunity/constants/app_theme.dart'; import 'package:akuCommunity/pages/splash/splash_page.dart'; import 'package:akuCommunity/provider/app_provider.dart'; import 'package:akuCommunity/provider/cart.dart'; @@ -85,7 +83,7 @@ class _MyAppState extends State { child: GetMaterialApp( title: '智慧社区', debugShowCheckedModeBanner: false, - theme: ThemeData(primarySwatch: Colors.yellow), + theme: AppTheme.theme, home: SplashPage(), //国际化支持 localizationsDelegates: [ diff --git a/lib/model/community/activity_detail_model.dart b/lib/model/community/activity_detail_model.dart index 3a1ee8e1..77f525ab 100644 --- a/lib/model/community/activity_detail_model.dart +++ b/lib/model/community/activity_detail_model.dart @@ -1,7 +1,5 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class ActivityDetailModel { diff --git a/lib/model/community/activity_item_model.dart b/lib/model/community/activity_item_model.dart index 9de3238f..66493185 100644 --- a/lib/model/community/activity_item_model.dart +++ b/lib/model/community/activity_item_model.dart @@ -1,7 +1,5 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class ActivityItemModel { diff --git a/lib/model/community/board_detail_model.dart b/lib/model/community/board_detail_model.dart index 4e02cdf1..d3038216 100644 --- a/lib/model/community/board_detail_model.dart +++ b/lib/model/community/board_detail_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class BoardDetailModel { diff --git a/lib/model/community/board_model.dart b/lib/model/community/board_model.dart index 11117bab..498bbeaa 100644 --- a/lib/model/community/board_model.dart +++ b/lib/model/community/board_model.dart @@ -1,7 +1,5 @@ -// Package imports: import 'package:flustars/flustars.dart'; -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class BoardItemModel { diff --git a/lib/model/community/community_topic_model.dart b/lib/model/community/community_topic_model.dart index f6a3ad8f..798521e0 100644 --- a/lib/model/community/community_topic_model.dart +++ b/lib/model/community/community_topic_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class CommunityTopicModel { diff --git a/lib/model/community/event_item_model.dart b/lib/model/community/event_item_model.dart index f77b2cb7..36a3df28 100644 --- a/lib/model/community/event_item_model.dart +++ b/lib/model/community/event_item_model.dart @@ -1,7 +1,5 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class EventItemModel { diff --git a/lib/model/community/my_event_item_model.dart b/lib/model/community/my_event_item_model.dart index ca5817ff..9972fa76 100644 --- a/lib/model/community/my_event_item_model.dart +++ b/lib/model/community/my_event_item_model.dart @@ -1,7 +1,5 @@ -// Package imports: import 'package:flustars/flustars.dart'; -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class MyEventItemModel { diff --git a/lib/model/manager/advice_detail_model.dart b/lib/model/manager/advice_detail_model.dart index a88ac6e0..439c18b7 100644 --- a/lib/model/manager/advice_detail_model.dart +++ b/lib/model/manager/advice_detail_model.dart @@ -1,7 +1,5 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class AdviceDetailModel { diff --git a/lib/model/manager/article_borrow_model.dart b/lib/model/manager/article_borrow_model.dart index b5b50792..3aaf202f 100644 --- a/lib/model/manager/article_borrow_model.dart +++ b/lib/model/manager/article_borrow_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class ArticleBorrowModel { diff --git a/lib/model/manager/event_voting_model.dart b/lib/model/manager/event_voting_model.dart index 1202ab9a..f15dc126 100644 --- a/lib/model/manager/event_voting_model.dart +++ b/lib/model/manager/event_voting_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class EventVotingModel { diff --git a/lib/model/manager/fixed_detail_model.dart b/lib/model/manager/fixed_detail_model.dart index bd8ee287..4b41c9dd 100644 --- a/lib/model/manager/fixed_detail_model.dart +++ b/lib/model/manager/fixed_detail_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class FixedDetailModel { diff --git a/lib/model/manager/questinnaire_model.dart b/lib/model/manager/questinnaire_model.dart index fb6d4c09..b741c2b3 100644 --- a/lib/model/manager/questinnaire_model.dart +++ b/lib/model/manager/questinnaire_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class QuestionnaireModel { diff --git a/lib/model/manager/suggestion_or_complain_model.dart b/lib/model/manager/suggestion_or_complain_model.dart index 798172d6..e15dfe7c 100644 --- a/lib/model/manager/suggestion_or_complain_model.dart +++ b/lib/model/manager/suggestion_or_complain_model.dart @@ -1,7 +1,5 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class SuggestionOrComplainModel { diff --git a/lib/model/manager/visitor_list_item_model.dart b/lib/model/manager/visitor_list_item_model.dart index 618e59a7..fbd81818 100644 --- a/lib/model/manager/visitor_list_item_model.dart +++ b/lib/model/manager/visitor_list_item_model.dart @@ -1,4 +1,3 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; class VisitorListItemModel { diff --git a/lib/model/manager/voting_detail_model.dart b/lib/model/manager/voting_detail_model.dart index 05e32975..47e5e2e2 100644 --- a/lib/model/manager/voting_detail_model.dart +++ b/lib/model/manager/voting_detail_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class VotingDetailModel { diff --git a/lib/model/user/committee_item_model.dart b/lib/model/user/committee_item_model.dart index 533d992e..08e7f6e1 100644 --- a/lib/model/user/committee_item_model.dart +++ b/lib/model/user/committee_item_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class CommitteeItemModel { diff --git a/lib/model/user/fixed_submit_model.dart b/lib/model/user/fixed_submit_model.dart index 7794ff17..1b94e7e2 100644 --- a/lib/model/user/fixed_submit_model.dart +++ b/lib/model/user/fixed_submit_model.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/model/common/img_model.dart'; class FixedSubmitModel { diff --git a/lib/model/user/user_info_model.dart b/lib/model/user/user_info_model.dart index 3f48f871..32ec3619 100644 --- a/lib/model/user/user_info_model.dart +++ b/lib/model/user/user_info_model.dart @@ -1,4 +1,3 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; class UserInfoModel { diff --git a/lib/pages/address_page/address_edit_page.dart b/lib/pages/address_page/address_edit_page.dart index 5178a8b7..db35eea3 100644 --- a/lib/pages/address_page/address_edit_page.dart +++ b/lib/pages/address_page/address_edit_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/address_page/address_page.dart b/lib/pages/address_page/address_page.dart index e66b672c..436cd9e1 100644 --- a/lib/pages/address_page/address_page.dart +++ b/lib/pages/address_page/address_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'widget/address_item.dart'; diff --git a/lib/pages/address_page/widget/address_edit_item.dart b/lib/pages/address_page/widget/address_edit_item.dart index c1c9caad..99ee9f79 100644 --- a/lib/pages/address_page/widget/address_edit_item.dart +++ b/lib/pages/address_page/widget/address_edit_item.dart @@ -1,9 +1,7 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class AddressEditItem extends StatefulWidget { diff --git a/lib/pages/address_page/widget/address_item.dart b/lib/pages/address_page/widget/address_item.dart index 7f8cf756..90dfc1d9 100644 --- a/lib/pages/address_page/widget/address_item.dart +++ b/lib/pages/address_page/widget/address_item.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:extended_text/extended_text.dart'; import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/pages/address_page/address_edit_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/certification_page/certification_page.dart b/lib/pages/certification_page/certification_page.dart index 0bc440af..363b06f0 100644 --- a/lib/pages/certification_page/certification_page.dart +++ b/lib/pages/certification_page/certification_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/confirm_order_page/confirm_order_page.dart b/lib/pages/confirm_order_page/confirm_order_page.dart index 99607560..615b1b6f 100644 --- a/lib/pages/confirm_order_page/confirm_order_page.dart +++ b/lib/pages/confirm_order_page/confirm_order_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/confirm_order_page/pay_order_page.dart b/lib/pages/confirm_order_page/pay_order_page.dart index 96e29e28..4d498a37 100644 --- a/lib/pages/confirm_order_page/pay_order_page.dart +++ b/lib/pages/confirm_order_page/pay_order_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/confirm_order_page/widget/confirm_address.dart b/lib/pages/confirm_order_page/widget/confirm_address.dart index 97bcf282..f3adca84 100644 --- a/lib/pages/confirm_order_page/widget/confirm_address.dart +++ b/lib/pages/confirm_order_page/widget/confirm_address.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/confirm_order_page/widget/confirm_bottom_bar.dart b/lib/pages/confirm_order_page/widget/confirm_bottom_bar.dart index 0f52f9e6..de9f7ce1 100644 --- a/lib/pages/confirm_order_page/widget/confirm_bottom_bar.dart +++ b/lib/pages/confirm_order_page/widget/confirm_bottom_bar.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/confirm_order_page/pay_order_page.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/confirm_order_page/widget/confirm_content.dart b/lib/pages/confirm_order_page/widget/confirm_content.dart index da22a1c3..38a09b42 100644 --- a/lib/pages/confirm_order_page/widget/confirm_content.dart +++ b/lib/pages/confirm_order_page/widget/confirm_content.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/pages/invoice/invoice_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/convenient_phone/convenient_phone_page.dart b/lib/pages/convenient_phone/convenient_phone_page.dart index 33d963c4..8fd8d1db 100644 --- a/lib/pages/convenient_phone/convenient_phone_page.dart +++ b/lib/pages/convenient_phone/convenient_phone_page.dart @@ -1,15 +1,12 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:url_launcher/url_launcher.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/user/convenient_phone_model.dart'; diff --git a/lib/pages/event_activity/event_voting_page.dart b/lib/pages/event_activity/event_voting_page.dart index 14ba04ea..a4a7ab9c 100644 --- a/lib/pages/event_activity/event_voting_page.dart +++ b/lib/pages/event_activity/event_voting_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/event_voting_model.dart'; diff --git a/lib/pages/event_activity/voting_detail_page.dart b/lib/pages/event_activity/voting_detail_page.dart index 272ba8cc..98d2b45b 100644 --- a/lib/pages/event_activity/voting_detail_page.dart +++ b/lib/pages/event_activity/voting_detail_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: 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'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/voting_detail_model.dart'; diff --git a/lib/pages/fitup_manage/fitup_manage_page.dart b/lib/pages/fitup_manage/fitup_manage_page.dart index 27adc02e..291fe1a7 100644 --- a/lib/pages/fitup_manage/fitup_manage_page.dart +++ b/lib/pages/fitup_manage/fitup_manage_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/fitup_manage/widget/common_select.dart b/lib/pages/fitup_manage/widget/common_select.dart index e839096d..3ec0cc02 100644 --- a/lib/pages/fitup_manage/widget/common_select.dart +++ b/lib/pages/fitup_manage/widget/common_select.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_datetime_picker/flutter_datetime_picker.dart'; import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_picker/flutter_picker.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/fitup_manage/widget/decorator_info.dart b/lib/pages/fitup_manage/widget/decorator_info.dart index 093eecd8..7640bf6e 100644 --- a/lib/pages/fitup_manage/widget/decorator_info.dart +++ b/lib/pages/fitup_manage/widget/decorator_info.dart @@ -1,15 +1,14 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/common_input.dart'; -// import 'package:akuCommunity/widget/single_image_up.dart'; import 'common_select.dart'; +// import 'package:akuCommunity/widget/single_image_up.dart'; + class DecoratorInfo extends StatefulWidget { DecoratorInfo({Key key}) : super(key: key); diff --git a/lib/pages/fitup_manage/widget/director_manage.dart b/lib/pages/fitup_manage/widget/director_manage.dart index 9a9ef43d..6852566d 100644 --- a/lib/pages/fitup_manage/widget/director_manage.dart +++ b/lib/pages/fitup_manage/widget/director_manage.dart @@ -1,16 +1,15 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/common_input.dart'; -// import 'package:akuCommunity/widget/single_image_up.dart'; import 'decorator_info.dart'; import 'house_info.dart'; +// import 'package:akuCommunity/widget/single_image_up.dart'; + class DirectorManage extends StatefulWidget { DirectorManage({Key key}) : super(key: key); diff --git a/lib/pages/fitup_manage/widget/house_info.dart b/lib/pages/fitup_manage/widget/house_info.dart index ef17cd07..f4e10cdf 100644 --- a/lib/pages/fitup_manage/widget/house_info.dart +++ b/lib/pages/fitup_manage/widget/house_info.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/fitup_manage/widget/owner_manage.dart b/lib/pages/fitup_manage/widget/owner_manage.dart index ad13d6a7..b76c817a 100644 --- a/lib/pages/fitup_manage/widget/owner_manage.dart +++ b/lib/pages/fitup_manage/widget/owner_manage.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bottom_button.dart'; diff --git a/lib/pages/fitup_manage/widget/pay_model_sheet.dart b/lib/pages/fitup_manage/widget/pay_model_sheet.dart index be6a85ca..7d965768 100644 --- a/lib/pages/fitup_manage/widget/pay_model_sheet.dart +++ b/lib/pages/fitup_manage/widget/pay_model_sheet.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/goods_details/goods_details_page.dart b/lib/pages/goods_details/goods_details_page.dart index 66ac3900..69c889aa 100644 --- a/lib/pages/goods_details/goods_details_page.dart +++ b/lib/pages/goods_details/goods_details_page.dart @@ -1,11 +1,8 @@ -// Dart imports: import 'dart:convert'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/pages/goods_details/view_comments_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/goods_details/view_comments_page.dart b/lib/pages/goods_details/view_comments_page.dart index 42689d47..867979fb 100644 --- a/lib/pages/goods_details/view_comments_page.dart +++ b/lib/pages/goods_details/view_comments_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:pull_to_refresh/pull_to_refresh.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'widget/goods_app_bar.dart'; diff --git a/lib/pages/goods_details/widget/goods_app_bar.dart b/lib/pages/goods_details/widget/goods_app_bar.dart index d5b63e7c..25b17ac5 100644 --- a/lib/pages/goods_details/widget/goods_app_bar.dart +++ b/lib/pages/goods_details/widget/goods_app_bar.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:fluwx/fluwx.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/market/market_cart_page/market_cart_page.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/goods_details/widget/goods_comments_card.dart b/lib/pages/goods_details/widget/goods_comments_card.dart index 283b11fe..0117b4fb 100644 --- a/lib/pages/goods_details/widget/goods_comments_card.dart +++ b/lib/pages/goods_details/widget/goods_comments_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/pages/goods_details/widget/goods_details_bottom_bar.dart b/lib/pages/goods_details/widget/goods_details_bottom_bar.dart index 2b4f5ee9..e894e30d 100644 --- a/lib/pages/goods_details/widget/goods_details_bottom_bar.dart +++ b/lib/pages/goods_details/widget/goods_details_bottom_bar.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/extensions/page_router.dart'; import 'package:akuCommunity/pages/market/market_cart_page/market_cart_page.dart'; import 'package:akuCommunity/provider/cart.dart'; diff --git a/lib/pages/goods_details/widget/product_content.dart b/lib/pages/goods_details/widget/product_content.dart index a97f39d7..b2ae3bdf 100644 --- a/lib/pages/goods_details/widget/product_content.dart +++ b/lib/pages/goods_details/widget/product_content.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:fluwx/fluwx.dart'; diff --git a/lib/pages/goods_details/widget/product_detail.dart b/lib/pages/goods_details/widget/product_detail.dart index 25373e18..33b94b9a 100644 --- a/lib/pages/goods_details/widget/product_detail.dart +++ b/lib/pages/goods_details/widget/product_detail.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/pages/goods_details/widget/product_evaluate.dart b/lib/pages/goods_details/widget/product_evaluate.dart index b23b4852..962de81d 100644 --- a/lib/pages/goods_details/widget/product_evaluate.dart +++ b/lib/pages/goods_details/widget/product_evaluate.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; diff --git a/lib/pages/goods_details/widget/product_service.dart b/lib/pages/goods_details/widget/product_service.dart index 16b7f285..faed0ea7 100644 --- a/lib/pages/goods_details/widget/product_service.dart +++ b/lib/pages/goods_details/widget/product_service.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; diff --git a/lib/pages/goods_details/widget/product_specs.dart b/lib/pages/goods_details/widget/product_specs.dart index 1623e226..15e39c21 100644 --- a/lib/pages/goods_details/widget/product_specs.dart +++ b/lib/pages/goods_details/widget/product_specs.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/widget/goods_specs_sheet.dart'; class ProductSpecs extends StatefulWidget { diff --git a/lib/pages/goods_details/widget/product_swiper.dart b/lib/pages/goods_details/widget/product_swiper.dart index 49968ebb..ef5ff9d0 100644 --- a/lib/pages/goods_details/widget/product_swiper.dart +++ b/lib/pages/goods_details/widget/product_swiper.dart @@ -1,15 +1,11 @@ -// Dart imports: import 'dart:math'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_swiper/flutter_swiper.dart'; -// Project imports: import 'package:akuCommunity/utils/fade_route.dart'; import 'package:akuCommunity/widget/gallery_photo_view_wrapper.dart'; diff --git a/lib/pages/goods_deto_page/deto_code_page/deto_code_page.dart b/lib/pages/goods_deto_page/deto_code_page/deto_code_page.dart index 8307b0c6..b8ee39e2 100644 --- a/lib/pages/goods_deto_page/deto_code_page/deto_code_page.dart +++ b/lib/pages/goods_deto_page/deto_code_page/deto_code_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:provider/provider.dart'; import 'package:qr_flutter/qr_flutter.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/manager/article_QR_code_model.dart'; import 'package:akuCommunity/provider/user_provider.dart'; diff --git a/lib/pages/goods_deto_page/deto_create_page/deto_create_page.dart b/lib/pages/goods_deto_page/deto_create_page/deto_create_page.dart index 83bc5d65..1ebdd3c5 100644 --- a/lib/pages/goods_deto_page/deto_create_page/deto_create_page.dart +++ b/lib/pages/goods_deto_page/deto_create_page/deto_create_page.dart @@ -1,19 +1,15 @@ // Flutter imports: -// Dart imports: import 'dart:io'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:flustars/flustars.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; diff --git a/lib/pages/goods_deto_page/deto_create_page/widget/common_picker.dart b/lib/pages/goods_deto_page/deto_create_page/widget/common_picker.dart index 89848589..6179dc71 100644 --- a/lib/pages/goods_deto_page/deto_create_page/widget/common_picker.dart +++ b/lib/pages/goods_deto_page/deto_create_page/widget/common_picker.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_picker/flutter_picker.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/picker/bee_date_picker.dart'; diff --git a/lib/pages/goods_deto_page/deto_create_page/widget/common_radio.dart b/lib/pages/goods_deto_page/deto_create_page/widget/common_radio.dart index 9da4ee77..2cb34393 100644 --- a/lib/pages/goods_deto_page/deto_create_page/widget/common_radio.dart +++ b/lib/pages/goods_deto_page/deto_create_page/widget/common_radio.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/animated/animated_scale.dart'; diff --git a/lib/pages/goods_deto_page/goods_deto_page.dart b/lib/pages/goods_deto_page/goods_deto_page.dart index fefd3ee0..7b81edbf 100644 --- a/lib/pages/goods_deto_page/goods_deto_page.dart +++ b/lib/pages/goods_deto_page/goods_deto_page.dart @@ -1,14 +1,11 @@ -// Flutter imports: 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:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/goods_out_model.dart'; import 'package:akuCommunity/pages/goods_deto_page/deto_create_page/deto_create_page.dart'; diff --git a/lib/pages/goods_deto_page/select_move_company_page.dart b/lib/pages/goods_deto_page/select_move_company_page.dart index 4a346e7f..7a178957 100644 --- a/lib/pages/goods_deto_page/select_move_company_page.dart +++ b/lib/pages/goods_deto_page/select_move_company_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: 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'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/manager/moving_company_model.dart'; import 'package:akuCommunity/pages/goods_deto_page/deto_create_page/widget/common_radio.dart'; diff --git a/lib/pages/goods_deto_page/widget/goods_info_card.dart b/lib/pages/goods_deto_page/widget/goods_info_card.dart index ee41846b..aad4b208 100644 --- a/lib/pages/goods_deto_page/widget/goods_info_card.dart +++ b/lib/pages/goods_deto_page/widget/goods_info_card.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/manager/goods_out_model.dart'; import 'package:akuCommunity/utils/bee_map.dart'; diff --git a/lib/pages/goods_deto_page/widget/goods_info_card_button.dart b/lib/pages/goods_deto_page/widget/goods_info_card_button.dart index 7dc91b7a..563c0795 100644 --- a/lib/pages/goods_deto_page/widget/goods_info_card_button.dart +++ b/lib/pages/goods_deto_page/widget/goods_info_card_button.dart @@ -1,14 +1,11 @@ -// Flutter imports: 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:url_launcher/url_launcher.dart'; -// Project imports: import 'package:akuCommunity/extensions/page_router.dart'; import 'package:akuCommunity/model/manager/article_QR_code_model.dart'; import 'package:akuCommunity/pages/goods_deto_page/deto_code_page/deto_code_page.dart'; diff --git a/lib/pages/goods_deto_page/widget/image_horizontal_list.dart b/lib/pages/goods_deto_page/widget/image_horizontal_list.dart index 7a4f47d6..16c9cee1 100644 --- a/lib/pages/goods_deto_page/widget/image_horizontal_list.dart +++ b/lib/pages/goods_deto_page/widget/image_horizontal_list.dart @@ -1,11 +1,8 @@ -// Dart imports: import 'dart:math'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/fade_route.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/gallery_photo_view_wrapper.dart'; diff --git a/lib/pages/goods_manage_page/goods_manage_page.dart b/lib/pages/goods_manage_page/goods_manage_page.dart index 07c6f8c0..5bb884f6 100644 --- a/lib/pages/goods_manage_page/goods_manage_page.dart +++ b/lib/pages/goods_manage_page/goods_manage_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/article_borrow_model.dart'; diff --git a/lib/pages/goods_manage_page/mine_goods_page/mine_goods_page.dart b/lib/pages/goods_manage_page/mine_goods_page/mine_goods_page.dart index 7cb1f197..9c8ed229 100644 --- a/lib/pages/goods_manage_page/mine_goods_page/mine_goods_page.dart +++ b/lib/pages/goods_manage_page/mine_goods_page/mine_goods_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/mine_goods_model.dart'; import 'package:akuCommunity/pages/manager_func.dart'; diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index 419b192e..73fd8f03 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -1,18 +1,14 @@ // Dart imports: -// Flutter imports: -import 'package:akuCommunity/utils/login_util.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:badges/badges.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/extensions/page_router.dart'; import 'package:akuCommunity/model/aku_shop_model.dart'; @@ -27,6 +23,7 @@ import 'package:akuCommunity/ui/community/community_func.dart'; import 'package:akuCommunity/ui/home/home_notification.dart'; import 'package:akuCommunity/ui/home/home_title.dart'; import 'package:akuCommunity/utils/headers.dart'; +import 'package:akuCommunity/utils/login_util.dart'; import 'package:akuCommunity/widget/buttons/column_action_button.dart'; import 'package:akuCommunity/widget/views/application_box.dart'; import 'package:akuCommunity/widget/views/application_view.dart'; diff --git a/lib/pages/home/widget/animate_app_bar.dart b/lib/pages/home/widget/animate_app_bar.dart index c6f4dbae..55103e53 100644 --- a/lib/pages/home/widget/animate_app_bar.dart +++ b/lib/pages/home/widget/animate_app_bar.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/provider/app_provider.dart'; class AnimateAppBar extends StatefulWidget with PreferredSizeWidget { @@ -43,10 +40,8 @@ class _AnimateAppBarState extends State { Widget build(BuildContext context) { final appProvider = Provider.of(context); return AppBar( - title: '人才公寓智慧小区'.text.make(), + title: Text('人才公寓智慧小区'), backgroundColor: _bgColor, - elevation: 0, - centerTitle: true, leading: Container( margin: EdgeInsets.only(left: 32.w), child: Column( diff --git a/lib/pages/home/widget/home_search.dart b/lib/pages/home/widget/home_search.dart index a6eb0125..8743acd9 100644 --- a/lib/pages/home/widget/home_search.dart +++ b/lib/pages/home/widget/home_search.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/ui/search/bee_search.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/home/widget/home_swiper.dart b/lib/pages/home/widget/home_swiper.dart index e0ecf0b5..86f088eb 100644 --- a/lib/pages/home/widget/home_swiper.dart +++ b/lib/pages/home/widget/home_swiper.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_swiper/flutter_swiper.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/pages/industry_committee/committee_mailbox/committee_mailbox_page.dart b/lib/pages/industry_committee/committee_mailbox/committee_mailbox_page.dart index b8720585..35b40867 100644 --- a/lib/pages/industry_committee/committee_mailbox/committee_mailbox_page.dart +++ b/lib/pages/industry_committee/committee_mailbox/committee_mailbox_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/industry_committee/industry_committee_page.dart b/lib/pages/industry_committee/industry_committee_page.dart index 7a2e10fb..a99ff700 100644 --- a/lib/pages/industry_committee/industry_committee_page.dart +++ b/lib/pages/industry_committee/industry_committee_page.dart @@ -1,14 +1,11 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; import 'package:url_launcher/url_launcher.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/model/user/committee_item_model.dart'; diff --git a/lib/pages/invoice/invoice_page.dart b/lib/pages/invoice/invoice_page.dart index c40f81f2..994dec8a 100644 --- a/lib/pages/invoice/invoice_page.dart +++ b/lib/pages/invoice/invoice_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/invoice/widget/invoice_input.dart b/lib/pages/invoice/widget/invoice_input.dart index 4caf7581..598710db 100644 --- a/lib/pages/invoice/widget/invoice_input.dart +++ b/lib/pages/invoice/widget/invoice_input.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class InvoiceInput extends StatefulWidget { diff --git a/lib/pages/life_pay/life_pay_bill_page/life_pay_bill_page.dart b/lib/pages/life_pay/life_pay_bill_page/life_pay_bill_page.dart index 38e730af..2f4e6bad 100644 --- a/lib/pages/life_pay/life_pay_bill_page/life_pay_bill_page.dart +++ b/lib/pages/life_pay/life_pay_bill_page/life_pay_bill_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'widget/bill_card.dart'; diff --git a/lib/pages/life_pay/life_pay_bill_page/widget/bill_card.dart b/lib/pages/life_pay/life_pay_bill_page/widget/bill_card.dart index a34391cc..b2d57ccd 100644 --- a/lib/pages/life_pay/life_pay_bill_page/widget/bill_card.dart +++ b/lib/pages/life_pay/life_pay_bill_page/widget/bill_card.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/life_pay/life_pay_info_page/life_pay_info_page.dart b/lib/pages/life_pay/life_pay_info_page/life_pay_info_page.dart index b137086b..bee405ad 100644 --- a/lib/pages/life_pay/life_pay_info_page/life_pay_info_page.dart +++ b/lib/pages/life_pay/life_pay_info_page/life_pay_info_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/pages/life_pay/life_pay_bill_page/life_pay_bill_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/life_pay/life_pay_info_page/widget/details_card.dart b/lib/pages/life_pay/life_pay_info_page/widget/details_card.dart index e2f6a751..2a0a1b91 100644 --- a/lib/pages/life_pay/life_pay_info_page/widget/details_card.dart +++ b/lib/pages/life_pay/life_pay_info_page/widget/details_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/life_pay/life_pay_page.dart b/lib/pages/life_pay/life_pay_page.dart index 20f26a17..70f81654 100644 --- a/lib/pages/life_pay/life_pay_page.dart +++ b/lib/pages/life_pay/life_pay_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:provider/provider.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/model/manager/life_pay_model.dart'; diff --git a/lib/pages/life_pay/life_pay_record_page/life_pay_record_page.dart b/lib/pages/life_pay/life_pay_record_page/life_pay_record_page.dart index aec47a9a..fd3a631b 100644 --- a/lib/pages/life_pay/life_pay_record_page/life_pay_record_page.dart +++ b/lib/pages/life_pay/life_pay_record_page/life_pay_record_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:pull_to_refresh/pull_to_refresh.dart'; -// Project imports: import 'package:akuCommunity/pages/life_pay/life_pay_bill_page/life_pay_bill_page.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/life_pay/life_pay_record_page/widget/record_card.dart b/lib/pages/life_pay/life_pay_record_page/widget/record_card.dart index 438769e0..9c3faaf9 100644 --- a/lib/pages/life_pay/life_pay_record_page/widget/record_card.dart +++ b/lib/pages/life_pay/life_pay_record_page/widget/record_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/life_pay/widget/life_pay_detail_page.dart b/lib/pages/life_pay/widget/life_pay_detail_page.dart index 6fadc2da..f0d7f1f3 100644 --- a/lib/pages/life_pay/widget/life_pay_detail_page.dart +++ b/lib/pages/life_pay/widget/life_pay_detail_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/manager/life_pay_model.dart'; import 'package:akuCommunity/provider/user_provider.dart'; diff --git a/lib/pages/life_pay/widget/my_house_page.dart b/lib/pages/life_pay/widget/my_house_page.dart index 2c320f34..5e466d78 100644 --- a/lib/pages/life_pay/widget/my_house_page.dart +++ b/lib/pages/life_pay/widget/my_house_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/manager/estate_payment_model.dart'; import 'package:akuCommunity/pages/goods_deto_page/deto_create_page/widget/common_radio.dart'; diff --git a/lib/pages/life_pay/widget/order_card.dart b/lib/pages/life_pay/widget/order_card.dart index 5d6b3a55..d5f96ae0 100644 --- a/lib/pages/life_pay/widget/order_card.dart +++ b/lib/pages/life_pay/widget/order_card.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/life_pay/widget/submit_bar.dart b/lib/pages/life_pay/widget/submit_bar.dart index e6beff9d..9eebe3e1 100644 --- a/lib/pages/life_pay/widget/submit_bar.dart +++ b/lib/pages/life_pay/widget/submit_bar.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/manager_func.dart b/lib/pages/manager_func.dart index 988d7b7b..e1f532b9 100644 --- a/lib/pages/manager_func.dart +++ b/lib/pages/manager_func.dart @@ -1,10 +1,8 @@ // Package imports: -// Package imports: import 'package:dio/dio.dart'; import 'package:flustars/flustars.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/article_QR_code_model.dart'; import 'package:akuCommunity/model/manager/fixed_detail_model.dart'; diff --git a/lib/pages/market/market_cart_page/market_cart_page.dart b/lib/pages/market/market_cart_page/market_cart_page.dart index 2e3595fa..00a8983e 100644 --- a/lib/pages/market/market_cart_page/market_cart_page.dart +++ b/lib/pages/market/market_cart_page/market_cart_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_slidable/flutter_slidable.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/provider/cart.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/market/market_cart_page/widget/market_cart_app_bar.dart b/lib/pages/market/market_cart_page/widget/market_cart_app_bar.dart index 4482c65b..42bcc809 100644 --- a/lib/pages/market/market_cart_page/widget/market_cart_app_bar.dart +++ b/lib/pages/market/market_cart_page/widget/market_cart_app_bar.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class MarketCartAppBar extends StatelessWidget { diff --git a/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart b/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart index 63563338..011c3248 100644 --- a/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart +++ b/lib/pages/market/market_cart_page/widget/market_cart_bottom_bar.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/provider/cart.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/market/market_cart_page/widget/market_cart_card.dart b/lib/pages/market/market_cart_page/widget/market_cart_card.dart index 96e033db..9f2d18c1 100644 --- a/lib/pages/market/market_cart_page/widget/market_cart_card.dart +++ b/lib/pages/market/market_cart_page/widget/market_cart_card.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_slidable/flutter_slidable.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/provider/cart.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/market/market_detail_page/market_detail_page.dart b/lib/pages/market/market_detail_page/market_detail_page.dart index 561c2449..79f390e5 100644 --- a/lib/pages/market/market_detail_page/market_detail_page.dart +++ b/lib/pages/market/market_detail_page/market_detail_page.dart @@ -1,9 +1,7 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; -// Project imports: import 'package:akuCommunity/routers/page_routers.dart'; import '../widget/market_list.dart'; import 'widget/market_details_app_bar.dart'; diff --git a/lib/pages/market/market_detail_page/widget/market_details_app_bar.dart b/lib/pages/market/market_detail_page/widget/market_details_app_bar.dart index 5f76728b..b588eb72 100644 --- a/lib/pages/market/market_detail_page/widget/market_details_app_bar.dart +++ b/lib/pages/market/market_detail_page/widget/market_details_app_bar.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class MarketDetailsAppBar extends StatefulWidget { diff --git a/lib/pages/market/market_page.dart b/lib/pages/market/market_page.dart index e1bdd641..ebb472ae 100644 --- a/lib/pages/market/market_page.dart +++ b/lib/pages/market/market_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/app_bar_action.dart'; import 'package:akuCommunity/widget/search_bar_delegate.dart'; diff --git a/lib/pages/market/widget/market_list.dart b/lib/pages/market/widget/market_list.dart index 06e64298..f9140dac 100644 --- a/lib/pages/market/widget/market_list.dart +++ b/lib/pages/market/widget/market_list.dart @@ -1,15 +1,11 @@ -// Dart imports: import 'dart:async'; import 'dart:convert'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:pull_to_refresh/pull_to_refresh.dart'; -// Project imports: import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/service/base_model.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/market/widget/market_sticky_bar.dart b/lib/pages/market/widget/market_sticky_bar.dart index 2f390a39..a6244828 100644 --- a/lib/pages/market/widget/market_sticky_bar.dart +++ b/lib/pages/market/widget/market_sticky_bar.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; class MarketStickyBar extends StatefulWidget { diff --git a/lib/pages/market/widget/sliver_goods_group_card.dart b/lib/pages/market/widget/sliver_goods_group_card.dart index eca1dda9..af33c2be 100644 --- a/lib/pages/market/widget/sliver_goods_group_card.dart +++ b/lib/pages/market/widget/sliver_goods_group_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/pages/market_class/market_class_page.dart b/lib/pages/market_class/market_class_page.dart index 14d73084..f06846d4 100644 --- a/lib/pages/market_class/market_class_page.dart +++ b/lib/pages/market_class/market_class_page.dart @@ -1,12 +1,9 @@ -// Dart imports: import 'dart:async'; import 'dart:convert'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/aku_shop_class_model.dart'; import 'package:akuCommunity/service/base_model.dart'; diff --git a/lib/pages/market_class/widget/market_class_bar.dart b/lib/pages/market_class/widget/market_class_bar.dart index 5d417a05..b5e693d9 100644 --- a/lib/pages/market_class/widget/market_class_bar.dart +++ b/lib/pages/market_class/widget/market_class_bar.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/search_bar_delegate.dart'; diff --git a/lib/pages/message_center_page/comment_message/comment_message_page.dart b/lib/pages/message_center_page/comment_message/comment_message_page.dart index 267999ee..9321927f 100644 --- a/lib/pages/message_center_page/comment_message/comment_message_page.dart +++ b/lib/pages/message_center_page/comment_message/comment_message_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flustars/flustars.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/message/comment_message_model.dart'; diff --git a/lib/pages/message_center_page/message_center_page.dart b/lib/pages/message_center_page/message_center_page.dart index 9a0fac5b..084f665e 100644 --- a/lib/pages/message_center_page/message_center_page.dart +++ b/lib/pages/message_center_page/message_center_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:badges/badges.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:jpush_flutter/jpush_flutter.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/pages/message_center_page/comment_message/comment_message_page.dart'; import 'package:akuCommunity/pages/message_center_page/system_message/system_message_page.dart'; diff --git a/lib/pages/message_center_page/message_func.dart b/lib/pages/message_center_page/message_func.dart index fc2ce3f6..9f3ae565 100644 --- a/lib/pages/message_center_page/message_func.dart +++ b/lib/pages/message_center_page/message_func.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/message/system_message_detail_model.dart'; import 'package:akuCommunity/utils/network/base_model.dart'; diff --git a/lib/pages/message_center_page/refund_details.dart b/lib/pages/message_center_page/refund_details.dart index 6156a4dd..a40dce93 100644 --- a/lib/pages/message_center_page/refund_details.dart +++ b/lib/pages/message_center_page/refund_details.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/message_center_page/shop_message_page/shop_message_page.dart b/lib/pages/message_center_page/shop_message_page/shop_message_page.dart index b8cfc33e..92f8e7a5 100644 --- a/lib/pages/message_center_page/shop_message_page/shop_message_page.dart +++ b/lib/pages/message_center_page/shop_message_page/shop_message_page.dart @@ -1,15 +1,12 @@ // import 'package:akuCommunity/pages/common/common_page.dart'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/message_center_page/system_message/system_message_detail_page.dart b/lib/pages/message_center_page/system_message/system_message_detail_page.dart index 5ea50e18..bfcda1dc 100644 --- a/lib/pages/message_center_page/system_message/system_message_detail_page.dart +++ b/lib/pages/message_center_page/system_message/system_message_detail_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/model/message/system_message_detail_model.dart'; import 'package:akuCommunity/model/message/system_message_model.dart'; import 'package:akuCommunity/pages/message_center_page/message_func.dart'; diff --git a/lib/pages/message_center_page/system_message/system_message_page.dart b/lib/pages/message_center_page/system_message/system_message_page.dart index cb85d443..67ec62c3 100644 --- a/lib/pages/message_center_page/system_message/system_message_page.dart +++ b/lib/pages/message_center_page/system_message/system_message_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/message/system_message_model.dart'; diff --git a/lib/pages/mine_car_page/car_add_page/car_add_page.dart b/lib/pages/mine_car_page/car_add_page/car_add_page.dart index 33d630b3..51d738a5 100644 --- a/lib/pages/mine_car_page/car_add_page/car_add_page.dart +++ b/lib/pages/mine_car_page/car_add_page/car_add_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/common_input.dart'; diff --git a/lib/pages/mine_car_page/mine_car_page.dart b/lib/pages/mine_car_page/mine_car_page.dart index 4cd79589..1363d660 100644 --- a/lib/pages/mine_car_page/mine_car_page.dart +++ b/lib/pages/mine_car_page/mine_car_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/pages/mine_car_page/car_add_page/car_add_page.dart'; import 'package:akuCommunity/pages/mine_car_page/select_community_page/select_community_page.dart'; diff --git a/lib/pages/mine_car_page/select_community_page/select_community_page.dart b/lib/pages/mine_car_page/select_community_page/select_community_page.dart index 2d6c0e9f..b098ffbe 100644 --- a/lib/pages/mine_car_page/select_community_page/select_community_page.dart +++ b/lib/pages/mine_car_page/select_community_page/select_community_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/pages/mine_car_page/select_parking_page/select_parking_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/mine_car_page/select_parking_page/select_parking_page.dart b/lib/pages/mine_car_page/select_parking_page/select_parking_page.dart index 922dc16d..1d8eedb0 100644 --- a/lib/pages/mine_car_page/select_parking_page/select_parking_page.dart +++ b/lib/pages/mine_car_page/select_parking_page/select_parking_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/mine_house_page/house_authenticate_page/house_authenticate_page.dart b/lib/pages/mine_house_page/house_authenticate_page/house_authenticate_page.dart index 9a686661..e2ac8270 100644 --- a/lib/pages/mine_house_page/house_authenticate_page/house_authenticate_page.dart +++ b/lib/pages/mine_house_page/house_authenticate_page/house_authenticate_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/common_input.dart'; diff --git a/lib/pages/mine_house_page/mine_house_page.dart b/lib/pages/mine_house_page/mine_house_page.dart index 02e42091..d9a13e7d 100644 --- a/lib/pages/mine_house_page/mine_house_page.dart +++ b/lib/pages/mine_house_page/mine_house_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/pages/mine_house_page/house_authenticate_page/house_authenticate_page.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/one_alarm/alarm_detail_page.dart b/lib/pages/one_alarm/alarm_detail_page.dart index d079b239..59e99ab4 100644 --- a/lib/pages/one_alarm/alarm_detail_page.dart +++ b/lib/pages/one_alarm/alarm_detail_page.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/one_alarm/widget/alarm_page.dart b/lib/pages/one_alarm/widget/alarm_page.dart index 8208a636..3d4d0778 100644 --- a/lib/pages/one_alarm/widget/alarm_page.dart +++ b/lib/pages/one_alarm/widget/alarm_page.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:amap_location_fluttify/amap_location_fluttify.dart'; import 'package:amap_map_fluttify/amap_map_fluttify.dart'; import 'package:flutter_icons/flutter_icons.dart'; @@ -11,7 +9,6 @@ import 'package:permission_handler/permission_handler.dart'; import 'package:url_launcher/url_launcher.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/pages/one_alarm/alarm_detail_page.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/open_door_page/open_door_page.dart b/lib/pages/open_door_page/open_door_page.dart index 04cedc14..ebf198b4 100644 --- a/lib/pages/open_door_page/open_door_page.dart +++ b/lib/pages/open_door_page/open_door_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/pages/certification_page/certification_page.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/opening_code_page/opening_code_page.dart b/lib/pages/opening_code_page/opening_code_page.dart index 09773e33..77f98989 100644 --- a/lib/pages/opening_code_page/opening_code_page.dart +++ b/lib/pages/opening_code_page/opening_code_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:qr_flutter/qr_flutter.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/personal/change_nick_name_page.dart b/lib/pages/personal/change_nick_name_page.dart index 6140f61f..fae269d9 100644 --- a/lib/pages/personal/change_nick_name_page.dart +++ b/lib/pages/personal/change_nick_name_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/personal/evaluate_good_page.dart b/lib/pages/personal/evaluate_good_page.dart index 58c7a2d4..18e93fb2 100644 --- a/lib/pages/personal/evaluate_good_page.dart +++ b/lib/pages/personal/evaluate_good_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/routers/page_routers.dart'; diff --git a/lib/pages/personal/look_logistics_page.dart b/lib/pages/personal/look_logistics_page.dart index 196fd5e0..7ea6edd4 100644 --- a/lib/pages/personal/look_logistics_page.dart +++ b/lib/pages/personal/look_logistics_page.dart @@ -1,17 +1,13 @@ -// Dart imports: import 'dart:ui'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:cached_network_image/cached_network_image.dart'; import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; import 'package:sliding_up_panel/sliding_up_panel.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/pages/personal/order_details_page.dart b/lib/pages/personal/order_details_page.dart index 63d1dff2..7222f0d8 100644 --- a/lib/pages/personal/order_details_page.dart +++ b/lib/pages/personal/order_details_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:extended_text/extended_text.dart'; import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/personal/refund_select_page.dart'; diff --git a/lib/pages/personal/order_page.dart b/lib/pages/personal/order_page.dart index b8c89c63..3190bf0f 100644 --- a/lib/pages/personal/order_page.dart +++ b/lib/pages/personal/order_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/personal/personal_page.dart b/lib/pages/personal/personal_page.dart index 78c2dbc4..457f0bd1 100644 --- a/lib/pages/personal/personal_page.dart +++ b/lib/pages/personal/personal_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/const/resource.dart'; diff --git a/lib/pages/personal/refund_apply_page.dart b/lib/pages/personal/refund_apply_page.dart index babbf177..901b8524 100644 --- a/lib/pages/personal/refund_apply_page.dart +++ b/lib/pages/personal/refund_apply_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/personal/refund_select_page.dart b/lib/pages/personal/refund_select_page.dart index a946d6ed..3048e247 100644 --- a/lib/pages/personal/refund_select_page.dart +++ b/lib/pages/personal/refund_select_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/pages/personal/refund_apply_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/personal/update_tel_page.dart b/lib/pages/personal/update_tel_page.dart index 0875c3f8..3f8c9a24 100644 --- a/lib/pages/personal/update_tel_page.dart +++ b/lib/pages/personal/update_tel_page.dart @@ -1,11 +1,8 @@ -// Dart imports: import 'dart:async'; -// Flutter imports: import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:flustars/flustars.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -13,7 +10,6 @@ import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/sign/sign_func.dart'; import 'package:akuCommunity/provider/user_provider.dart'; diff --git a/lib/pages/personal/user_profile_page.dart b/lib/pages/personal/user_profile_page.dart index 275843bb..698400fa 100644 --- a/lib/pages/personal/user_profile_page.dart +++ b/lib/pages/personal/user_profile_page.dart @@ -1,18 +1,14 @@ -// Dart imports: import 'dart:io'; -// Flutter imports: 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:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; diff --git a/lib/pages/personal/widget/order_card.dart b/lib/pages/personal/widget/order_card.dart index 2ad84ac6..4ec13da2 100644 --- a/lib/pages/personal/widget/order_card.dart +++ b/lib/pages/personal/widget/order_card.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/personal/evaluate_good_page.dart'; import 'package:akuCommunity/pages/personal/look_logistics_page.dart'; diff --git a/lib/pages/personal/widget/order_list.dart b/lib/pages/personal/widget/order_list.dart index bad7ed0b..c5a5f43c 100644 --- a/lib/pages/personal/widget/order_list.dart +++ b/lib/pages/personal/widget/order_list.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:pull_to_refresh/pull_to_refresh.dart'; -// Project imports: import 'order_card.dart'; class OrderList extends StatefulWidget { diff --git a/lib/pages/personal/widget/refund_shop_card.dart b/lib/pages/personal/widget/refund_shop_card.dart index 89d5092d..281a2877 100644 --- a/lib/pages/personal/widget/refund_shop_card.dart +++ b/lib/pages/personal/widget/refund_shop_card.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/personal/widget/refund_tile_card.dart b/lib/pages/personal/widget/refund_tile_card.dart index fb1e2d54..2769f19e 100644 --- a/lib/pages/personal/widget/refund_tile_card.dart +++ b/lib/pages/personal/widget/refund_tile_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/property/property_index.dart b/lib/pages/property/property_index.dart index d9b0eb67..e229671e 100644 --- a/lib/pages/property/property_index.dart +++ b/lib/pages/property/property_index.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/application_objects.dart'; import 'package:akuCommunity/model/community/board_model.dart'; diff --git a/lib/pages/property/widget/property_card.dart b/lib/pages/property/widget/property_card.dart index a5fc3846..eec86f8b 100644 --- a/lib/pages/property/widget/property_card.dart +++ b/lib/pages/property/widget/property_card.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:url_launcher/url_launcher.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/setting_page/about_page/about_page.dart b/lib/pages/setting_page/about_page/about_page.dart index 1a95c0ea..0d2caafb 100644 --- a/lib/pages/setting_page/about_page/about_page.dart +++ b/lib/pages/setting_page/about_page/about_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/setting_page/account_manager_page.dart b/lib/pages/setting_page/account_manager_page.dart index 7fd2b0f4..6b33d5da 100644 --- a/lib/pages/setting_page/account_manager_page.dart +++ b/lib/pages/setting_page/account_manager_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/pages/sign/sign_in_page.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/setting_page/agreement_page/agreement_page.dart b/lib/pages/setting_page/agreement_page/agreement_page.dart index e0410e64..fe68afa1 100644 --- a/lib/pages/setting_page/agreement_page/agreement_page.dart +++ b/lib/pages/setting_page/agreement_page/agreement_page.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/setting_page/agreement_page/privacy_page.dart b/lib/pages/setting_page/agreement_page/privacy_page.dart index 6fbdd280..4307f5ab 100644 --- a/lib/pages/setting_page/agreement_page/privacy_page.dart +++ b/lib/pages/setting_page/agreement_page/privacy_page.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/setting_page/feedback_page/feedback_page.dart b/lib/pages/setting_page/feedback_page/feedback_page.dart index 5095ad7b..fa2194e0 100644 --- a/lib/pages/setting_page/feedback_page/feedback_page.dart +++ b/lib/pages/setting_page/feedback_page/feedback_page.dart @@ -1,22 +1,18 @@ -// Dart imports: import 'dart:io'; import 'dart:math'; -// Flutter imports: -import 'package:akuCommunity/constants/api.dart'; -import 'package:akuCommunity/utils/network/net_util.dart'; -import 'package:akuCommunity/widget/picker/grid_image_picker.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:flustars/flustars.dart'; import 'package:get/get.dart'; -// Project imports: +import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/utils/headers.dart'; +import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; +import 'package:akuCommunity/widget/picker/grid_image_picker.dart'; class FeedBackPage extends StatefulWidget { FeedBackPage({Key key}) : super(key: key); diff --git a/lib/pages/setting_page/invite_page/invite_page.dart b/lib/pages/setting_page/invite_page/invite_page.dart index e508b4bb..1f306a40 100644 --- a/lib/pages/setting_page/invite_page/invite_page.dart +++ b/lib/pages/setting_page/invite_page/invite_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:qr_flutter/qr_flutter.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/setting_page/settings_page.dart b/lib/pages/setting_page/settings_page.dart index 2902bfea..715ba1dd 100644 --- a/lib/pages/setting_page/settings_page.dart +++ b/lib/pages/setting_page/settings_page.dart @@ -1,24 +1,21 @@ -// Flutter imports: -import 'package:akuCommunity/pages/setting_page/agreement_page/agreement_page.dart'; -import 'package:akuCommunity/pages/setting_page/agreement_page/privacy_page.dart'; -import 'package:akuCommunity/pages/tab_navigator.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/extensions/num_ext.dart'; import 'package:akuCommunity/extensions/page_router.dart'; import 'package:akuCommunity/extensions/widget_list_ext.dart'; import 'package:akuCommunity/pages/setting_page/about_page/about_page.dart'; import 'package:akuCommunity/pages/setting_page/account_manager_page.dart'; +import 'package:akuCommunity/pages/setting_page/agreement_page/agreement_page.dart'; +import 'package:akuCommunity/pages/setting_page/agreement_page/privacy_page.dart'; import 'package:akuCommunity/pages/setting_page/feedback_page/feedback_page.dart'; +import 'package:akuCommunity/pages/tab_navigator.dart'; import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/sign/sign_func.dart b/lib/pages/sign/sign_func.dart index 6e628034..e2c7eb0a 100644 --- a/lib/pages/sign/sign_func.dart +++ b/lib/pages/sign/sign_func.dart @@ -1,10 +1,8 @@ -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:dio/dio.dart'; import 'package:get/get.dart' hide Response; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/user/pick_building_model.dart'; import 'package:akuCommunity/model/user/user_detail_model.dart'; diff --git a/lib/pages/sign/sign_in_page.dart b/lib/pages/sign/sign_in_page.dart index 61c8590d..0f7616dd 100644 --- a/lib/pages/sign/sign_in_page.dart +++ b/lib/pages/sign/sign_in_page.dart @@ -1,12 +1,9 @@ -// Dart imports: import 'dart:async'; import 'dart:ui'; -// Flutter imports: 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:dio/dio.dart'; @@ -17,7 +14,6 @@ import 'package:power_logger/power_logger.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/const/resource.dart'; diff --git a/lib/pages/sign/sign_up/sign_up_common_widget.dart b/lib/pages/sign/sign_up/sign_up_common_widget.dart index 9ba5ca05..7c7eff9c 100644 --- a/lib/pages/sign/sign_up/sign_up_common_widget.dart +++ b/lib/pages/sign/sign_up/sign_up_common_widget.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/sign/sign_up/sign_up_pick_building_page.dart b/lib/pages/sign/sign_up/sign_up_pick_building_page.dart index 932fbcfd..505abe41 100644 --- a/lib/pages/sign/sign_up/sign_up_pick_building_page.dart +++ b/lib/pages/sign/sign_up/sign_up_pick_building_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/model/user/pick_building_model.dart'; import 'package:akuCommunity/pages/sign/sign_func.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_pick_unit_page.dart'; diff --git a/lib/pages/sign/sign_up/sign_up_pick_plot_page.dart b/lib/pages/sign/sign_up/sign_up_pick_plot_page.dart index 0fc573b9..34b72ee3 100644 --- a/lib/pages/sign/sign_up/sign_up_pick_plot_page.dart +++ b/lib/pages/sign/sign_up/sign_up_pick_plot_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/extensions/page_router.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_pick_building_page.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/sign/sign_up/sign_up_pick_role_page.dart b/lib/pages/sign/sign_up/sign_up_pick_role_page.dart index 86db0b3a..c612e351 100644 --- a/lib/pages/sign/sign_up/sign_up_pick_role_page.dart +++ b/lib/pages/sign/sign_up/sign_up_pick_role_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_common_widget.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_set_nickname_page.dart'; diff --git a/lib/pages/sign/sign_up/sign_up_pick_unit_page.dart b/lib/pages/sign/sign_up/sign_up_pick_unit_page.dart index 87434478..a0ed8ed9 100644 --- a/lib/pages/sign/sign_up/sign_up_pick_unit_page.dart +++ b/lib/pages/sign/sign_up/sign_up_pick_unit_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/model/user/pick_building_model.dart'; import 'package:akuCommunity/pages/sign/sign_func.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_pick_role_page.dart'; diff --git a/lib/pages/sign/sign_up/sign_up_set_nickname_page.dart b/lib/pages/sign/sign_up/sign_up_set_nickname_page.dart index 8dd0e830..9aea7278 100644 --- a/lib/pages/sign/sign_up/sign_up_set_nickname_page.dart +++ b/lib/pages/sign/sign_up/sign_up_set_nickname_page.dart @@ -1,14 +1,11 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flustars/flustars.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:random_character/chinese_character/random_chinese_charater.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_common_widget.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_verify_page.dart'; diff --git a/lib/pages/sign/sign_up/sign_up_verify_page.dart b/lib/pages/sign/sign_up/sign_up_verify_page.dart index f0283fe5..c1f1c437 100644 --- a/lib/pages/sign/sign_up/sign_up_verify_page.dart +++ b/lib/pages/sign/sign_up/sign_up_verify_page.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:common_utils/common_utils.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/sign/sign_func.dart'; import 'package:akuCommunity/pages/sign/sign_up/sign_up_common_widget.dart'; diff --git a/lib/pages/splash/splash_page.dart b/lib/pages/splash/splash_page.dart index 475ec501..61c5e7b8 100644 --- a/lib/pages/splash/splash_page.dart +++ b/lib/pages/splash/splash_page.dart @@ -1,8 +1,5 @@ -// Flutter imports: -import 'package:akuCommunity/utils/developer_util.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:amap_location_fluttify/amap_location_fluttify.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; @@ -13,11 +10,11 @@ import 'package:power_logger/power_logger.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/pages/tab_navigator.dart'; import 'package:akuCommunity/provider/app_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart'; +import 'package:akuCommunity/utils/developer_util.dart'; import 'package:akuCommunity/utils/hive_store.dart'; import 'package:akuCommunity/utils/weather/weather_util.dart'; diff --git a/lib/pages/tab_navigator.dart b/lib/pages/tab_navigator.dart index ace1dab8..0e54069f 100644 --- a/lib/pages/tab_navigator.dart +++ b/lib/pages/tab_navigator.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/ui/community/community_views/community_page.dart'; import 'home/home_page.dart'; diff --git a/lib/pages/things_page/fixed_submit_page.dart b/lib/pages/things_page/fixed_submit_page.dart index 6abc1204..dec8ad96 100644 --- a/lib/pages/things_page/fixed_submit_page.dart +++ b/lib/pages/things_page/fixed_submit_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: 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:flutter_screenutil/flutter_screenutil.dart'; @@ -10,7 +8,6 @@ import 'package:get/get.dart'; import 'package:provider/provider.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/extensions/num_ext.dart'; diff --git a/lib/pages/things_page/things_detail_page/things_detail_page.dart b/lib/pages/things_page/things_detail_page/things_detail_page.dart index 1512c1fd..8f7db2b0 100644 --- a/lib/pages/things_page/things_detail_page/things_detail_page.dart +++ b/lib/pages/things_page/things_detail_page/things_detail_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/pages/things_page/things_evaluate_page/things_evaluate_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/things_page/things_detail_page/widget/goods_info_card.dart b/lib/pages/things_page/things_detail_page/widget/goods_info_card.dart index 4937d61c..fc6bf612 100644 --- a/lib/pages/things_page/things_detail_page/widget/goods_info_card.dart +++ b/lib/pages/things_page/things_detail_page/widget/goods_info_card.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'goods_info_card_button.dart'; import 'image_horizontal_list.dart'; diff --git a/lib/pages/things_page/things_detail_page/widget/goods_info_card_button.dart b/lib/pages/things_page/things_detail_page/widget/goods_info_card_button.dart index d82d8313..85948826 100644 --- a/lib/pages/things_page/things_detail_page/widget/goods_info_card_button.dart +++ b/lib/pages/things_page/things_detail_page/widget/goods_info_card_button.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; import 'package:url_launcher/url_launcher.dart'; -// Project imports: import 'package:akuCommunity/pages/goods_deto_page/deto_code_page/deto_code_page.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/things_page/things_detail_page/widget/image_horizontal_list.dart b/lib/pages/things_page/things_detail_page/widget/image_horizontal_list.dart index 7a4f47d6..16c9cee1 100644 --- a/lib/pages/things_page/things_detail_page/widget/image_horizontal_list.dart +++ b/lib/pages/things_page/things_detail_page/widget/image_horizontal_list.dart @@ -1,11 +1,8 @@ -// Dart imports: import 'dart:math'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/fade_route.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/gallery_photo_view_wrapper.dart'; diff --git a/lib/pages/things_page/things_evaluate_page/things_evaluate_page.dart b/lib/pages/things_page/things_evaluate_page/things_evaluate_page.dart index bcd804d3..4ba2d9b7 100644 --- a/lib/pages/things_page/things_evaluate_page/things_evaluate_page.dart +++ b/lib/pages/things_page/things_evaluate_page/things_evaluate_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/things_page/widget/add_fixed_submit_page.dart b/lib/pages/things_page/widget/add_fixed_submit_page.dart index 6b18375e..4717face 100644 --- a/lib/pages/things_page/widget/add_fixed_submit_page.dart +++ b/lib/pages/things_page/widget/add_fixed_submit_page.dart @@ -1,18 +1,14 @@ -// Dart imports: import 'dart:io'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; diff --git a/lib/pages/things_page/widget/bee_list_view.dart b/lib/pages/things_page/widget/bee_list_view.dart index cee3656a..1f48423f 100644 --- a/lib/pages/things_page/widget/bee_list_view.dart +++ b/lib/pages/things_page/widget/bee_list_view.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/utils/network/base_list_model.dart'; import 'package:akuCommunity/utils/network/net_util.dart'; diff --git a/lib/pages/things_page/widget/finish_fixed_submit_page.dart b/lib/pages/things_page/widget/finish_fixed_submit_page.dart index 0e46cd9a..bf046b87 100644 --- a/lib/pages/things_page/widget/finish_fixed_submit_page.dart +++ b/lib/pages/things_page/widget/finish_fixed_submit_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/pages/things_page/widget/fixed_check_box.dart b/lib/pages/things_page/widget/fixed_check_box.dart index 13560c7c..f1e2b8ef 100644 --- a/lib/pages/things_page/widget/fixed_check_box.dart +++ b/lib/pages/things_page/widget/fixed_check_box.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; class FixedCheckBox extends StatefulWidget { diff --git a/lib/pages/things_page/widget/fixed_detail_page.dart b/lib/pages/things_page/widget/fixed_detail_page.dart index 04663de5..1cd2b95f 100644 --- a/lib/pages/things_page/widget/fixed_detail_page.dart +++ b/lib/pages/things_page/widget/fixed_detail_page.dart @@ -1,15 +1,12 @@ -// Flutter imports: 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:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/model/manager/fixed_detail_model.dart'; diff --git a/lib/pages/things_page/widget/fixed_evaluate_page.dart b/lib/pages/things_page/widget/fixed_evaluate_page.dart index 4d4b131f..56d2075c 100644 --- a/lib/pages/things_page/widget/fixed_evaluate_page.dart +++ b/lib/pages/things_page/widget/fixed_evaluate_page.dart @@ -1,14 +1,11 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/manager/fixed_detail_model.dart'; import 'package:akuCommunity/pages/manager_func.dart'; diff --git a/lib/pages/things_page/widget/things_app_bar.dart b/lib/pages/things_page/widget/things_app_bar.dart index 9e8de7a8..f75a2042 100644 --- a/lib/pages/things_page/widget/things_app_bar.dart +++ b/lib/pages/things_page/widget/things_app_bar.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_icons/flutter_icons.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; //TODO CLEAN BOTTOM CODES. diff --git a/lib/pages/things_page/widget/things_card.dart b/lib/pages/things_page/widget/things_card.dart index 5f1bcf87..0fa1e2f0 100644 --- a/lib/pages/things_page/widget/things_card.dart +++ b/lib/pages/things_page/widget/things_card.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/pages/things_page/things_detail_page/things_detail_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/pages/things_page/widget/things_list.dart b/lib/pages/things_page/widget/things_list.dart index 9c1b6edc..6257e88d 100644 --- a/lib/pages/things_page/widget/things_list.dart +++ b/lib/pages/things_page/widget/things_list.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:pull_to_refresh/pull_to_refresh.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'things_card.dart'; diff --git a/lib/pages/visitor_access_page/visitor_access_page.dart b/lib/pages/visitor_access_page/visitor_access_page.dart index 006289f2..8be37b58 100644 --- a/lib/pages/visitor_access_page/visitor_access_page.dart +++ b/lib/pages/visitor_access_page/visitor_access_page.dart @@ -1,15 +1,12 @@ -// Flutter imports: 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'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart'; diff --git a/lib/painters/plus_painter.dart b/lib/painters/plus_painter.dart index 3989535d..0ae382a6 100644 --- a/lib/painters/plus_painter.dart +++ b/lib/painters/plus_painter.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; class PlusPainter extends CustomPainter { diff --git a/lib/painters/user_bottom_bar_painter.dart b/lib/painters/user_bottom_bar_painter.dart index f4f4f3b5..97366dfc 100644 --- a/lib/painters/user_bottom_bar_painter.dart +++ b/lib/painters/user_bottom_bar_painter.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; class UserBottomBarPainter extends CustomPainter { diff --git a/lib/provider/app_provider.dart b/lib/provider/app_provider.dart index 97daf14b..0c1abdfc 100644 --- a/lib/provider/app_provider.dart +++ b/lib/provider/app_provider.dart @@ -1,14 +1,11 @@ -// Flutter imports: import 'dart:io'; import 'package:flutter/material.dart'; -// Package imports: import 'package:amap_location_fluttify/amap_location_fluttify.dart'; import 'package:dio/dio.dart'; import 'package:power_logger/power_logger.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/constants/application_objects.dart'; import 'package:akuCommunity/model/common/real_time_weather_model.dart'; diff --git a/lib/provider/cart.dart b/lib/provider/cart.dart index 8a0d5073..78e7d732 100644 --- a/lib/provider/cart.dart +++ b/lib/provider/cart.dart @@ -1,14 +1,10 @@ -// Dart imports: import 'dart:convert'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:shared_preferences/shared_preferences.dart'; -// Project imports: import 'package:akuCommunity/model/aku_shop_model.dart'; class CartProvidde with ChangeNotifier { diff --git a/lib/provider/sign_up_provider.dart b/lib/provider/sign_up_provider.dart index df191476..bb7c5ac1 100644 --- a/lib/provider/sign_up_provider.dart +++ b/lib/provider/sign_up_provider.dart @@ -1,4 +1,3 @@ -// Flutter imports: import 'package:flutter/material.dart'; class SignUpProvider extends ChangeNotifier { diff --git a/lib/provider/user_provider.dart b/lib/provider/user_provider.dart index f2a160c5..acb3cb9d 100644 --- a/lib/provider/user_provider.dart +++ b/lib/provider/user_provider.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flustars/flustars.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/user/user_detail_model.dart'; import 'package:akuCommunity/model/user/user_info_model.dart'; diff --git a/lib/service/net.dart b/lib/service/net.dart index 4205067e..286e1fdd 100644 --- a/lib/service/net.dart +++ b/lib/service/net.dart @@ -1,12 +1,9 @@ -// Dart imports: import 'dart:convert'; import 'dart:io'; -// Package imports: import 'package:dio/adapter.dart'; import 'package:dio/dio.dart'; -// Project imports: import 'base_model.dart'; // import 'net_header.dart'; diff --git a/lib/service/net_util.dart b/lib/service/net_util.dart index 0584e4e1..eda8033c 100644 --- a/lib/service/net_util.dart +++ b/lib/service/net_util.dart @@ -1,4 +1,3 @@ -// Project imports: import "net.dart"; import 'net_url.dart'; diff --git a/lib/ui/community/activity/activity_card.dart b/lib/ui/community/activity/activity_card.dart index b21884dc..0833e347 100644 --- a/lib/ui/community/activity/activity_card.dart +++ b/lib/ui/community/activity/activity_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:common_utils/common_utils.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/activity_item_model.dart'; diff --git a/lib/ui/community/activity/activity_detail_page.dart b/lib/ui/community/activity/activity_detail_page.dart index ae07740e..b43fe8a1 100644 --- a/lib/ui/community/activity/activity_detail_page.dart +++ b/lib/ui/community/activity/activity_detail_page.dart @@ -1,15 +1,12 @@ -// Flutter imports: 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'; import 'package:shimmer/shimmer.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/activity_detail_model.dart'; diff --git a/lib/ui/community/activity/activity_list_page.dart b/lib/ui/community/activity/activity_list_page.dart index 594a5afd..d6cef02c 100644 --- a/lib/ui/community/activity/activity_list_page.dart +++ b/lib/ui/community/activity/activity_list_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/activity_item_model.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/ui/community/activity/activity_people_list_page.dart b/lib/ui/community/activity/activity_people_list_page.dart index 8293a439..2e19e7d2 100644 --- a/lib/ui/community/activity/activity_people_list_page.dart +++ b/lib/ui/community/activity/activity_people_list_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/activity_people_model.dart'; diff --git a/lib/ui/community/community_func.dart b/lib/ui/community/community_func.dart index 69dff281..35161390 100644 --- a/lib/ui/community/community_func.dart +++ b/lib/ui/community/community_func.dart @@ -1,4 +1,3 @@ -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/activity_item_model.dart'; import 'package:akuCommunity/model/community/board_model.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 dd609195..1bbfeaf6 100644 --- a/lib/ui/community/community_views/add_new_event_page.dart +++ b/lib/ui/community/community_views/add_new_event_page.dart @@ -1,17 +1,13 @@ -// Dart imports: import 'dart:io'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:get/get.dart'; import 'package:provider/provider.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/model/community/hot_topic_model.dart'; @@ -98,6 +94,8 @@ class _AddNewEventPageState extends State { final appProvider = Provider.of(context); return Wrap( direction: Axis.horizontal, + spacing: 4.w, + runSpacing: 4.w, children: [ '选择话题:'.text.black.size(34.sp).make(), ...appProvider.hotTopicModels diff --git a/lib/ui/community/community_views/community_page.dart b/lib/ui/community/community_views/community_page.dart index 64149625..4b22dee7 100644 --- a/lib/ui/community/community_views/community_page.dart +++ b/lib/ui/community/community_views/community_page.dart @@ -1,24 +1,21 @@ -// Flutter imports: -import 'package:akuCommunity/pages/sign/sign_in_page.dart'; -import 'package:akuCommunity/provider/user_provider.dart'; -import 'package:akuCommunity/utils/login_util.dart'; -import 'package:bot_toast/bot_toast.dart'; import 'package:flutter/material.dart'; -// Package imports: +import 'package:bot_toast/bot_toast.dart'; import 'package:get/get.dart'; +import 'package:provider/provider.dart'; -// Project imports: +import 'package:akuCommunity/pages/sign/sign_in_page.dart'; +import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/ui/community/community_views/add_new_event_page.dart'; import 'package:akuCommunity/ui/community/community_views/my_community_view.dart'; import 'package:akuCommunity/ui/community/community_views/new_community_view.dart'; import 'package:akuCommunity/ui/community/community_views/topic/topic_community_view.dart'; import 'package:akuCommunity/ui/message/message_center.dart'; import 'package:akuCommunity/utils/headers.dart'; +import 'package:akuCommunity/utils/login_util.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/buttons/column_action_button.dart'; import 'package:akuCommunity/widget/tab_bar/bee_tab_bar.dart'; -import 'package:provider/provider.dart'; class CommunityPage extends StatefulWidget { CommunityPage({Key key}) : super(key: key); diff --git a/lib/ui/community/community_views/event_detail_page.dart b/lib/ui/community/community_views/event_detail_page.dart index 2ede27a8..0ef0bbdd 100644 --- a/lib/ui/community/community_views/event_detail_page.dart +++ b/lib/ui/community/community_views/event_detail_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/event_item_model.dart'; import 'package:akuCommunity/ui/community/community_views/widgets/chat_card.dart'; diff --git a/lib/ui/community/community_views/my_community_view.dart b/lib/ui/community/community_views/my_community_view.dart index 5c128a9f..01fd2b49 100644 --- a/lib/ui/community/community_views/my_community_view.dart +++ b/lib/ui/community/community_views/my_community_view.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/my_event_item_model.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/ui/community/community_views/new_community_view.dart b/lib/ui/community/community_views/new_community_view.dart index 4b173736..c3f4db99 100644 --- a/lib/ui/community/community_views/new_community_view.dart +++ b/lib/ui/community/community_views/new_community_view.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/event_item_model.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/ui/community/community_views/topic/topic_community_view.dart b/lib/ui/community/community_views/topic/topic_community_view.dart index 2370a15e..9a2f29e2 100644 --- a/lib/ui/community/community_views/topic/topic_community_view.dart +++ b/lib/ui/community/community_views/topic/topic_community_view.dart @@ -1,14 +1,10 @@ -// Dart imports: import 'dart:ui'; -// 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/api.dart'; import 'package:akuCommunity/model/community/community_topic_model.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/ui/community/community_views/topic/topic_detail_page.dart b/lib/ui/community/community_views/topic/topic_detail_page.dart index e4e02e42..e538cdc5 100644 --- a/lib/ui/community/community_views/topic/topic_detail_page.dart +++ b/lib/ui/community/community_views/topic/topic_detail_page.dart @@ -1,23 +1,20 @@ -// Flutter imports: -import 'package:akuCommunity/pages/sign/sign_in_page.dart'; -import 'package:akuCommunity/provider/user_provider.dart'; -import 'package:akuCommunity/ui/community/community_views/add_new_event_page.dart'; -import 'package:akuCommunity/utils/login_util.dart'; -import 'package:bot_toast/bot_toast.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:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/community_topic_model.dart'; import 'package:akuCommunity/model/community/event_item_model.dart'; +import 'package:akuCommunity/pages/sign/sign_in_page.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; +import 'package:akuCommunity/provider/user_provider.dart'; +import 'package:akuCommunity/ui/community/community_views/add_new_event_page.dart'; import 'package:akuCommunity/ui/community/community_views/topic/topic_sliver_header.dart'; import 'package:akuCommunity/ui/community/community_views/widgets/chat_card.dart'; -import 'package:get/get.dart'; -import 'package:provider/provider.dart'; +import 'package:akuCommunity/utils/login_util.dart'; class TopicDetailPage extends StatefulWidget { final CommunityTopicModel model; diff --git a/lib/ui/community/community_views/topic/topic_sliver_header.dart b/lib/ui/community/community_views/topic/topic_sliver_header.dart index 445d68ac..94c0ca76 100644 --- a/lib/ui/community/community_views/topic/topic_sliver_header.dart +++ b/lib/ui/community/community_views/topic/topic_sliver_header.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/bee_back_button.dart'; diff --git a/lib/ui/community/community_views/widgets/chat_card.dart b/lib/ui/community/community_views/widgets/chat_card.dart index 88a9f4e5..a6a5dde8 100644 --- a/lib/ui/community/community_views/widgets/chat_card.dart +++ b/lib/ui/community/community_views/widgets/chat_card.dart @@ -1,26 +1,22 @@ -// Dart imports: import 'dart:math'; -// Flutter imports: -import 'package:akuCommunity/pages/sign/sign_in_page.dart'; -import 'package:akuCommunity/utils/login_util.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/event_item_model.dart'; +import 'package:akuCommunity/pages/sign/sign_in_page.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/login_util.dart'; import 'package:akuCommunity/utils/network/net_util.dart'; import 'package:akuCommunity/widget/picker/bee_image_preview.dart'; import 'package:akuCommunity/widget/views/bee_grid_image_view.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 54ce5596..be04ac9e 100644 --- a/lib/ui/community/community_views/widgets/my_event_card.dart +++ b/lib/ui/community/community_views/widgets/my_event_card.dart @@ -1,11 +1,8 @@ -// 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/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/my_event_item_model.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 e47144c6..0250f834 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,8 @@ -// 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'; diff --git a/lib/ui/community/notice/notice_card.dart b/lib/ui/community/notice/notice_card.dart index f7e00e2c..79ed3364 100644 --- a/lib/ui/community/notice/notice_card.dart +++ b/lib/ui/community/notice/notice_card.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flustars/flustars.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/board_model.dart'; diff --git a/lib/ui/community/notice/notice_detail_page.dart b/lib/ui/community/notice/notice_detail_page.dart index 1b64cf77..e506a485 100644 --- a/lib/ui/community/notice/notice_detail_page.dart +++ b/lib/ui/community/notice/notice_detail_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/board_detail_model.dart'; diff --git a/lib/ui/community/notice/notice_page.dart b/lib/ui/community/notice/notice_page.dart index 04f5048c..3fb3a8a1 100644 --- a/lib/ui/community/notice/notice_page.dart +++ b/lib/ui/community/notice/notice_page.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/community/board_model.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/ui/home/application/all_application.dart b/lib/ui/home/application/all_application.dart index 928555ba..3a880df5 100644 --- a/lib/ui/home/application/all_application.dart +++ b/lib/ui/home/application/all_application.dart @@ -1,19 +1,16 @@ -// Flutter imports: -import 'package:akuCommunity/utils/login_util.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: 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/utils/login_util.dart'; import 'package:akuCommunity/widget/bee_back_button.dart'; class AllApplicationPage extends StatefulWidget { diff --git a/lib/ui/home/home_notification.dart b/lib/ui/home/home_notification.dart index 218ceef5..97420886 100644 --- a/lib/ui/home/home_notification.dart +++ b/lib/ui/home/home_notification.dart @@ -1,16 +1,12 @@ -// Dart imports: import 'dart:async'; import 'dart:math'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/model/community/board_model.dart'; import 'package:akuCommunity/ui/community/notice/notice_detail_page.dart'; diff --git a/lib/ui/home/home_title.dart b/lib/ui/home/home_title.dart index c1629505..7bdc8ef5 100644 --- a/lib/ui/home/home_title.dart +++ b/lib/ui/home/home_title.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/ui/manager/advice/advice_add_comment_page.dart b/lib/ui/manager/advice/advice_add_comment_page.dart index 92785c54..7f147cf5 100644 --- a/lib/ui/manager/advice/advice_add_comment_page.dart +++ b/lib/ui/manager/advice/advice_add_comment_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:common_utils/common_utils.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/network/base_model.dart'; diff --git a/lib/ui/manager/advice/advice_card.dart b/lib/ui/manager/advice/advice_card.dart index 379be8fb..9f20f59e 100644 --- a/lib/ui/manager/advice/advice_card.dart +++ b/lib/ui/manager/advice/advice_card.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:common_utils/common_utils.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/model/manager/suggestion_or_complain_model.dart'; import 'package:akuCommunity/ui/manager/advice/advice_detail_page.dart'; diff --git a/lib/ui/manager/advice/advice_detail_page.dart b/lib/ui/manager/advice/advice_detail_page.dart index 855fdd5e..de028c14 100644 --- a/lib/ui/manager/advice/advice_detail_page.dart +++ b/lib/ui/manager/advice/advice_detail_page.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:common_utils/common_utils.dart'; import 'package:dio/dio.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; @@ -9,7 +7,6 @@ import 'package:get/get.dart' hide Response; import 'package:shimmer/shimmer.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/model/manager/advice_detail_model.dart'; diff --git a/lib/ui/manager/advice/advice_evaluate_page.dart b/lib/ui/manager/advice/advice_evaluate_page.dart index 0f27c0e8..7e4400d9 100644 --- a/lib/ui/manager/advice/advice_evaluate_page.dart +++ b/lib/ui/manager/advice/advice_evaluate_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_rating_bar/flutter_rating_bar.dart'; 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'; diff --git a/lib/ui/manager/advice/advice_page.dart b/lib/ui/manager/advice/advice_page.dart index e741ac0d..3dd059d3 100644 --- a/lib/ui/manager/advice/advice_page.dart +++ b/lib/ui/manager/advice/advice_page.dart @@ -1,14 +1,11 @@ -// Flutter imports: 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'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/suggestion_or_complain_model.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/ui/manager/advice/new_advice_page.dart b/lib/ui/manager/advice/new_advice_page.dart index 4a5859a0..719266b7 100644 --- a/lib/ui/manager/advice/new_advice_page.dart +++ b/lib/ui/manager/advice/new_advice_page.dart @@ -1,18 +1,14 @@ -// Dart imports: import 'dart:io'; -// Flutter imports: 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_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/ui/manager/advice/advice_page.dart'; diff --git a/lib/ui/manager/questionnaire/questionnaire_detail_page.dart b/lib/ui/manager/questionnaire/questionnaire_detail_page.dart index c8be9b35..17f5850e 100644 --- a/lib/ui/manager/questionnaire/questionnaire_detail_page.dart +++ b/lib/ui/manager/questionnaire/questionnaire_detail_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/questionnaire_detail_model.dart'; diff --git a/lib/ui/manager/questionnaire/questionnaire_page.dart b/lib/ui/manager/questionnaire/questionnaire_page.dart index b6b03343..abd8d367 100644 --- a/lib/ui/manager/questionnaire/questionnaire_page.dart +++ b/lib/ui/manager/questionnaire/questionnaire_page.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:common_utils/common_utils.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/questinnaire_model.dart'; diff --git a/lib/ui/manager/questionnaire/questionnaire_siglecheck.dart b/lib/ui/manager/questionnaire/questionnaire_siglecheck.dart index d54d34af..35ef7ca9 100644 --- a/lib/ui/manager/questionnaire/questionnaire_siglecheck.dart +++ b/lib/ui/manager/questionnaire/questionnaire_siglecheck.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/model/manager/questionnaire_detail_model.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/buttons/bee_single_check.dart'; diff --git a/lib/ui/manager/questionnaire/questionnaire_truefalse.dart b/lib/ui/manager/questionnaire/questionnaire_truefalse.dart index f3fd5007..56e30738 100644 --- a/lib/ui/manager/questionnaire/questionnaire_truefalse.dart +++ b/lib/ui/manager/questionnaire/questionnaire_truefalse.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/buttons/bee_single_check.dart'; diff --git a/lib/ui/manager/questionnaire/questionnarie_raido_check.dart b/lib/ui/manager/questionnaire/questionnarie_raido_check.dart index c0fb48c7..1445e4fe 100644 --- a/lib/ui/manager/questionnaire/questionnarie_raido_check.dart +++ b/lib/ui/manager/questionnaire/questionnarie_raido_check.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/model/manager/questionnaire_detail_model.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/buttons/bee_check_radio.dart'; diff --git a/lib/ui/manager/questionnaire/submit_complish_page.dart b/lib/ui/manager/questionnaire/submit_complish_page.dart index 0cd76f19..e0a82328 100644 --- a/lib/ui/manager/questionnaire/submit_complish_page.dart +++ b/lib/ui/manager/questionnaire/submit_complish_page.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; 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/utils/headers.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; diff --git a/lib/ui/manager/visitor/visitor_list_item.dart b/lib/ui/manager/visitor/visitor_list_item.dart index aba1577a..4fa1d783 100644 --- a/lib/ui/manager/visitor/visitor_list_item.dart +++ b/lib/ui/manager/visitor/visitor_list_item.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:common_utils/common_utils.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/model/manager/visitor_list_item_model.dart'; import 'package:akuCommunity/ui/manager/visitor/visitor_passport_page.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/ui/manager/visitor/visitor_passport_page.dart b/lib/ui/manager/visitor/visitor_passport_page.dart index c0d440a0..f48c8a0e 100644 --- a/lib/ui/manager/visitor/visitor_passport_page.dart +++ b/lib/ui/manager/visitor/visitor_passport_page.dart @@ -1,20 +1,16 @@ -// Dart imports: import 'dart:typed_data'; import 'dart:ui' as ui; -// Flutter imports: import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:common_utils/common_utils.dart'; import 'package:fluwx/fluwx.dart'; import 'package:qr_flutter/qr_flutter.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/model/manager/visitor_list_item_model.dart'; diff --git a/lib/ui/manager/visitor/visitor_record_page.dart b/lib/ui/manager/visitor/visitor_record_page.dart index 5b1a0f2d..8bd55664 100644 --- a/lib/ui/manager/visitor/visitor_record_page.dart +++ b/lib/ui/manager/visitor/visitor_record_page.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/ui/manager/visitor/visitor_record_view.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/tab_bar/bee_tab_bar.dart'; diff --git a/lib/ui/manager/visitor/visitor_record_view.dart b/lib/ui/manager/visitor/visitor_record_view.dart index e7244e32..5c69490b 100644 --- a/lib/ui/manager/visitor/visitor_record_view.dart +++ b/lib/ui/manager/visitor/visitor_record_view.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_easyrefresh/easy_refresh.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/manager/visitor_list_item_model.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; diff --git a/lib/ui/message/message_center.dart b/lib/ui/message/message_center.dart index c6a3346e..b7743da3 100644 --- a/lib/ui/message/message_center.dart +++ b/lib/ui/message/message_center.dart @@ -1,15 +1,12 @@ -// Flutter imports: import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; -// Package imports: import 'package:badges/badges.dart'; import 'package:common_utils/common_utils.dart'; import 'package:dio/dio.dart'; import 'package:flutter_easyrefresh/easy_refresh.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/message/message_center_model.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/ui/search/bee_search.dart b/lib/ui/search/bee_search.dart index cc504d1e..e4e47d5b 100644 --- a/lib/ui/search/bee_search.dart +++ b/lib/ui/search/bee_search.dart @@ -1,14 +1,11 @@ -// Flutter imports: -import 'package:akuCommunity/utils/login_util.dart'; 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/utils/login_util.dart'; import 'package:akuCommunity/widget/bee_back_button.dart'; class BeeSearch extends StatefulWidget { diff --git a/lib/utils/bee_date_util.dart b/lib/utils/bee_date_util.dart index 3837de22..c10de6ad 100644 --- a/lib/utils/bee_date_util.dart +++ b/lib/utils/bee_date_util.dart @@ -1,4 +1,3 @@ -// Package imports: import 'package:common_utils/common_utils.dart'; class BeeDateUtil { diff --git a/lib/utils/fade_route.dart b/lib/utils/fade_route.dart index 7b43b077..e8288814 100644 --- a/lib/utils/fade_route.dart +++ b/lib/utils/fade_route.dart @@ -1,4 +1,3 @@ -// Flutter imports: import 'package:flutter/material.dart'; class FadeRoute extends PageRouteBuilder { diff --git a/lib/utils/headers.dart b/lib/utils/headers.dart index ed006b3d..9ff83659 100644 --- a/lib/utils/headers.dart +++ b/lib/utils/headers.dart @@ -4,4 +4,3 @@ export 'package:akuCommunity/extensions/num_ext.dart'; export 'package:akuCommunity/extensions/widget_list_ext.dart'; export 'package:velocity_x/velocity_x.dart'; export 'package:akuCommunity/const/resource.dart'; - diff --git a/lib/utils/hive_store.dart b/lib/utils/hive_store.dart index 11b013ad..724d2b4c 100644 --- a/lib/utils/hive_store.dart +++ b/lib/utils/hive_store.dart @@ -1,4 +1,3 @@ -// Package imports: import 'package:hive/hive.dart'; class HiveStore { diff --git a/lib/utils/login_util.dart b/lib/utils/login_util.dart index db24667e..d13d9f8c 100644 --- a/lib/utils/login_util.dart +++ b/lib/utils/login_util.dart @@ -1,9 +1,10 @@ -import 'package:akuCommunity/pages/sign/sign_in_page.dart'; -import 'package:akuCommunity/provider/user_provider.dart'; import 'package:bot_toast/bot_toast.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; +import 'package:akuCommunity/pages/sign/sign_in_page.dart'; +import 'package:akuCommunity/provider/user_provider.dart'; + /// | 名称 | 函数 | /// |-----|------| /// | 验证登录(登录状态)| LoginnUtil.isLogin | diff --git a/lib/utils/network/net_util.dart b/lib/utils/network/net_util.dart index 0c619574..7524708a 100644 --- a/lib/utils/network/net_util.dart +++ b/lib/utils/network/net_util.dart @@ -1,7 +1,5 @@ -// Dart imports: import 'dart:io'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:dio/dio.dart'; import 'package:get/get.dart' hide Response, FormData, MultipartFile; @@ -9,7 +7,6 @@ import 'package:logger/logger.dart'; import 'package:power_logger/power_logger.dart'; import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/pages/sign/sign_in_page.dart'; import 'package:akuCommunity/provider/user_provider.dart'; diff --git a/lib/utils/sp_util.dart b/lib/utils/sp_util.dart index 85f029e3..8db8d149 100644 --- a/lib/utils/sp_util.dart +++ b/lib/utils/sp_util.dart @@ -1,7 +1,5 @@ -// Dart imports: import 'dart:async'; -// Package imports: import 'package:shared_preferences/shared_preferences.dart'; import 'package:synchronized/synchronized.dart'; diff --git a/lib/utils/weather/weather_util.dart b/lib/utils/weather/weather_util.dart index 53a85fbc..68a88bc4 100644 --- a/lib/utils/weather/weather_util.dart +++ b/lib/utils/weather/weather_util.dart @@ -1,8 +1,6 @@ -// Package imports: import 'package:amap_map_fluttify/amap_map_fluttify.dart'; import 'package:dio/dio.dart'; -// Project imports: import 'package:akuCommunity/model/common/real_time_weather_model.dart'; class WeatherUtil { diff --git a/lib/widget/activity_card.dart b/lib/widget/activity_card.dart index 517c94f1..a47d9e4c 100644 --- a/lib/widget/activity_card.dart +++ b/lib/widget/activity_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:image_stack/image_stack.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/widget/animated/animated_scale.dart b/lib/widget/animated/animated_scale.dart index 41c2e3f2..323c29e5 100644 --- a/lib/widget/animated/animated_scale.dart +++ b/lib/widget/animated/animated_scale.dart @@ -1,4 +1,3 @@ -// Flutter imports: import 'package:flutter/material.dart'; class AnimatedScale extends ImplicitlyAnimatedWidget { diff --git a/lib/widget/animated/animated_transition.dart b/lib/widget/animated/animated_transition.dart index 46bd3d6c..c9d8a73d 100644 --- a/lib/widget/animated/animated_transition.dart +++ b/lib/widget/animated/animated_transition.dart @@ -1,4 +1,3 @@ -// Flutter imports: import 'package:flutter/material.dart'; class AnimatedTranslate extends ImplicitlyAnimatedWidget { diff --git a/lib/widget/app_bar_action.dart b/lib/widget/app_bar_action.dart index 9f837184..84b1a90a 100644 --- a/lib/widget/app_bar_action.dart +++ b/lib/widget/app_bar_action.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/pages/market/market_cart_page/market_cart_page.dart'; import 'package:akuCommunity/pages/market_class/market_class_page.dart'; import 'package:akuCommunity/pages/message_center_page/message_center_page.dart'; diff --git a/lib/widget/bee_back_button.dart b/lib/widget/bee_back_button.dart index b7adc7f5..5c7a6720 100644 --- a/lib/widget/bee_back_button.dart +++ b/lib/widget/bee_back_button.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; class BeeBackButton extends StatelessWidget { diff --git a/lib/widget/bee_divider.dart b/lib/widget/bee_divider.dart index e44a87ee..c03c7457 100644 --- a/lib/widget/bee_divider.dart +++ b/lib/widget/bee_divider.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; class BeeDivider extends StatelessWidget { diff --git a/lib/widget/bee_scaffold.dart b/lib/widget/bee_scaffold.dart index 686c5f82..b7b450d6 100644 --- a/lib/widget/bee_scaffold.dart +++ b/lib/widget/bee_scaffold.dart @@ -1,11 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: -import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/widget/bee_back_button.dart'; class BeeScaffold extends StatefulWidget { @@ -60,10 +56,7 @@ class _BeeScaffoldState extends State { backgroundColor: widget.bodyColor, appBar: AppBar( backgroundColor: widget.bgColor, - elevation: 0, - title: - widget.title.text.size(32.sp).color(Color(0xFF333333)).bold.make(), - centerTitle: true, + title: widget.title.text.make(), leading: widget.leading ?? BeeBackButton(), actions: widget.actions, bottom: widget.appBarBottom, diff --git a/lib/widget/bottom_button.dart b/lib/widget/bottom_button.dart index 7369548b..09da4349 100644 --- a/lib/widget/bottom_button.dart +++ b/lib/widget/bottom_button.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/buttons/bee_check_box.dart b/lib/widget/buttons/bee_check_box.dart index ec81d552..5d2d3be7 100644 --- a/lib/widget/buttons/bee_check_box.dart +++ b/lib/widget/buttons/bee_check_box.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/buttons/bee_check_button.dart b/lib/widget/buttons/bee_check_button.dart index 38cfac04..b3d5def3 100644 --- a/lib/widget/buttons/bee_check_button.dart +++ b/lib/widget/buttons/bee_check_button.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/buttons/bee_check_radio.dart b/lib/widget/buttons/bee_check_radio.dart index 4a04d322..909efc35 100644 --- a/lib/widget/buttons/bee_check_radio.dart +++ b/lib/widget/buttons/bee_check_radio.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/buttons/bee_single_check.dart b/lib/widget/buttons/bee_single_check.dart index 279870a4..092b4d7d 100644 --- a/lib/widget/buttons/bee_single_check.dart +++ b/lib/widget/buttons/bee_single_check.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/buttons/bottom_button.dart b/lib/widget/buttons/bottom_button.dart index a7940ad2..55d9f60b 100644 --- a/lib/widget/buttons/bottom_button.dart +++ b/lib/widget/buttons/bottom_button.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; class BottomButton extends StatelessWidget { diff --git a/lib/widget/buttons/column_action_button.dart b/lib/widget/buttons/column_action_button.dart index 6685dacf..aa1c1d14 100644 --- a/lib/widget/buttons/column_action_button.dart +++ b/lib/widget/buttons/column_action_button.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class ColumnActionButton extends StatelessWidget { diff --git a/lib/widget/buttons/radio_button.dart b/lib/widget/buttons/radio_button.dart index 081eb9a6..635496fb 100644 --- a/lib/widget/buttons/radio_button.dart +++ b/lib/widget/buttons/radio_button.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/animated/animated_scale.dart'; diff --git a/lib/widget/cached_image_wrapper.dart b/lib/widget/cached_image_wrapper.dart index c178df9c..f5e66eb5 100644 --- a/lib/widget/cached_image_wrapper.dart +++ b/lib/widget/cached_image_wrapper.dart @@ -1,11 +1,8 @@ -// Dart imports: import 'dart:math'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:cached_network_image/cached_network_image.dart'; enum ImageType { diff --git a/lib/widget/cart_count.dart b/lib/widget/cart_count.dart index 52afbe63..a382801e 100644 --- a/lib/widget/cart_count.dart +++ b/lib/widget/cart_count.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:provider/provider.dart'; -// Project imports: import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/provider/cart.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/circle_trend.dart b/lib/widget/circle_trend.dart index df70ebed..ac5c5bc6 100644 --- a/lib/widget/circle_trend.dart +++ b/lib/widget/circle_trend.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/widget/common_input.dart b/lib/widget/common_input.dart index 8d9c62a7..4d9b83ac 100644 --- a/lib/widget/common_input.dart +++ b/lib/widget/common_input.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/common_upload_image.dart b/lib/widget/common_upload_image.dart index dc801db5..0ff14fa8 100644 --- a/lib/widget/common_upload_image.dart +++ b/lib/widget/common_upload_image.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/community_card.dart b/lib/widget/community_card.dart index 4f55dcb1..68ec97f7 100644 --- a/lib/widget/community_card.dart +++ b/lib/widget/community_card.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:image_stack/image_stack.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart'; diff --git a/lib/widget/custom_action_sheet.dart b/lib/widget/custom_action_sheet.dart index 57a87ee4..6f6e5205 100644 --- a/lib/widget/custom_action_sheet.dart +++ b/lib/widget/custom_action_sheet.dart @@ -1,4 +1,3 @@ -// Flutter imports: import 'package:flutter/material.dart'; // 弹出底部sheet diff --git a/lib/widget/dotted_line.dart b/lib/widget/dotted_line.dart index c04ce3fd..fa963456 100644 --- a/lib/widget/dotted_line.dart +++ b/lib/widget/dotted_line.dart @@ -1,4 +1,3 @@ -// Flutter imports: import 'package:flutter/material.dart'; /// 虚线 diff --git a/lib/widget/expandable_text.dart b/lib/widget/expandable_text.dart index 930e00b3..236c65fe 100644 --- a/lib/widget/expandable_text.dart +++ b/lib/widget/expandable_text.dart @@ -1,4 +1,3 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widget/gallery_photo_view_wrapper.dart b/lib/widget/gallery_photo_view_wrapper.dart index 0eca9053..cd8299c1 100644 --- a/lib/widget/gallery_photo_view_wrapper.dart +++ b/lib/widget/gallery_photo_view_wrapper.dart @@ -1,13 +1,10 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:permission_handler/permission_handler.dart'; import 'package:photo_view/photo_view.dart'; import 'package:photo_view/photo_view_gallery.dart'; -// Project imports: import 'cached_image_wrapper.dart'; // import 'package:image_gallery_saver/image_gallery_saver.dart'; diff --git a/lib/widget/goods_card_skeleton.dart b/lib/widget/goods_card_skeleton.dart index 4067b7ae..f0458474 100644 --- a/lib/widget/goods_card_skeleton.dart +++ b/lib/widget/goods_card_skeleton.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:shimmer/shimmer.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class GoodsCardSkeleton extends StatelessWidget { diff --git a/lib/widget/goods_specs_sheet.dart b/lib/widget/goods_specs_sheet.dart index 24a633ee..59b6e7ed 100644 --- a/lib/widget/goods_specs_sheet.dart +++ b/lib/widget/goods_specs_sheet.dart @@ -1,14 +1,11 @@ -// 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'; -// Project imports: import 'package:akuCommunity/pages/confirm_order_page/confirm_order_page.dart'; import 'package:akuCommunity/provider/cart.dart'; import 'package:akuCommunity/routers/page_routers.dart'; diff --git a/lib/widget/others/bee_header_house.dart b/lib/widget/others/bee_header_house.dart index 936881ed..39156762 100644 --- a/lib/widget/others/bee_header_house.dart +++ b/lib/widget/others/bee_header_house.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/pages/life_pay/widget/my_house_page.dart'; import 'package:akuCommunity/provider/user_provider.dart'; diff --git a/lib/widget/others/stack_avatar.dart b/lib/widget/others/stack_avatar.dart index 606b664a..8da801c0 100644 --- a/lib/widget/others/stack_avatar.dart +++ b/lib/widget/others/stack_avatar.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/picker/bee_custom_picker.dart b/lib/widget/picker/bee_custom_picker.dart index f5c13af9..fb63dd4b 100644 --- a/lib/widget/picker/bee_custom_picker.dart +++ b/lib/widget/picker/bee_custom_picker.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class BeeCustomPicker extends StatefulWidget { diff --git a/lib/widget/picker/bee_date_picker.dart b/lib/widget/picker/bee_date_picker.dart index a031cff4..9ce01b4c 100644 --- a/lib/widget/picker/bee_date_picker.dart +++ b/lib/widget/picker/bee_date_picker.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/widget/picker/bee_custom_picker.dart'; class BeeDatePicker { diff --git a/lib/widget/picker/bee_image_picker.dart b/lib/widget/picker/bee_image_picker.dart index c94a07a7..a456e110 100644 --- a/lib/widget/picker/bee_image_picker.dart +++ b/lib/widget/picker/bee_image_picker.dart @@ -1,15 +1,11 @@ -// Dart imports: import 'dart:io'; -// Flutter imports: import 'package:flutter/cupertino.dart'; -// Package imports: import 'package:get/get.dart'; import 'package:image_picker/image_picker.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class BeeImagePicker { diff --git a/lib/widget/picker/bee_image_preview.dart b/lib/widget/picker/bee_image_preview.dart index b9bd46b5..5e8dd8e2 100644 --- a/lib/widget/picker/bee_image_preview.dart +++ b/lib/widget/picker/bee_image_preview.dart @@ -1,14 +1,10 @@ -// Dart imports: import 'dart:io'; import 'dart:ui'; -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; diff --git a/lib/widget/picker/grid_image_picker.dart b/lib/widget/picker/grid_image_picker.dart index 6d481292..1ca30300 100644 --- a/lib/widget/picker/grid_image_picker.dart +++ b/lib/widget/picker/grid_image_picker.dart @@ -1,16 +1,12 @@ -// Dart imports: import 'dart:io'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/painters/plus_painter.dart'; import 'package:akuCommunity/widget/picker/bee_image_picker.dart'; import 'package:akuCommunity/widget/picker/bee_image_preview.dart'; diff --git a/lib/widget/round_check_box.dart b/lib/widget/round_check_box.dart index 2157a2b7..990b92fd 100644 --- a/lib/widget/round_check_box.dart +++ b/lib/widget/round_check_box.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; //TODO one day we need to remove those.😕 diff --git a/lib/widget/search_bar_delegate.dart b/lib/widget/search_bar_delegate.dart index 79252a26..a5746ed3 100644 --- a/lib/widget/search_bar_delegate.dart +++ b/lib/widget/search_bar_delegate.dart @@ -1,7 +1,5 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Project imports: import 'asset.dart'; import 'bee_scaffold.dart'; diff --git a/lib/widget/single_ad_space.dart b/lib/widget/single_ad_space.dart index a57ee666..cfb583b6 100644 --- a/lib/widget/single_ad_space.dart +++ b/lib/widget/single_ad_space.dart @@ -1,8 +1,6 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; class SingleAdSpace extends StatelessWidget { diff --git a/lib/widget/sliver_app_bar_delegate.dart b/lib/widget/sliver_app_bar_delegate.dart index 1bae049d..8bc0494e 100644 --- a/lib/widget/sliver_app_bar_delegate.dart +++ b/lib/widget/sliver_app_bar_delegate.dart @@ -1,7 +1,5 @@ -// Dart imports: import 'dart:math'; -// Flutter imports: import 'package:flutter/material.dart'; class SliverAppBarDelegate extends SliverPersistentHeaderDelegate { diff --git a/lib/widget/sliver_goods_card.dart b/lib/widget/sliver_goods_card.dart index 17008f0c..21f641fd 100644 --- a/lib/widget/sliver_goods_card.dart +++ b/lib/widget/sliver_goods_card.dart @@ -1,11 +1,8 @@ -// Dart imports: import 'dart:convert'; -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Project imports: import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/pages/goods_details/goods_details_page.dart'; import 'package:akuCommunity/routers/page_routers.dart'; diff --git a/lib/widget/tab_bar/bee_tab_bar.dart b/lib/widget/tab_bar/bee_tab_bar.dart index 837c5d94..c5130b40 100644 --- a/lib/widget/tab_bar/bee_tab_bar.dart +++ b/lib/widget/tab_bar/bee_tab_bar.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/base/base_style.dart'; class BeeTabBar extends StatefulWidget with PreferredSizeWidget { @@ -48,15 +45,7 @@ class _BeeTabBarState extends State { Widget build(BuildContext context) { return TabBar( controller: widget.controller, - unselectedLabelStyle: TextStyle( - fontSize: BaseStyle.fontSize28, - ), - labelStyle: TextStyle( - fontWeight: FontWeight.w600, - fontSize: BaseStyle.fontSize28, - ), indicatorColor: Color(0xffffc40c), - indicatorSize: TabBarIndicatorSize.label, tabs: widget.tabs.map((e) => Tab(text: e)).toList(), onTap: widget.onTap, isScrollable: widget.scrollable, diff --git a/lib/widget/views/application_box.dart b/lib/widget/views/application_box.dart index b76d2a86..089abda8 100644 --- a/lib/widget/views/application_box.dart +++ b/lib/widget/views/application_box.dart @@ -1,11 +1,8 @@ -// Flutter imports: import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; -// Project imports: import 'package:akuCommunity/utils/headers.dart'; class ApplicationBox extends StatelessWidget { diff --git a/lib/widget/views/application_view.dart b/lib/widget/views/application_view.dart index 6f12b386..373c71f1 100644 --- a/lib/widget/views/application_view.dart +++ b/lib/widget/views/application_view.dart @@ -1,19 +1,16 @@ -// Flutter imports: -import 'package:akuCommunity/utils/login_util.dart'; import 'package:flutter/material.dart'; -// Package imports: import 'package:bot_toast/bot_toast.dart'; import 'package:get/get.dart'; import 'package:provider/provider.dart'; import 'package:velocity_x/velocity_x.dart'; -// Project imports: import 'package:akuCommunity/constants/application_objects.dart'; import 'package:akuCommunity/pages/sign/sign_in_page.dart'; import 'package:akuCommunity/provider/app_provider.dart'; import 'package:akuCommunity/provider/user_provider.dart'; import 'package:akuCommunity/utils/headers.dart'; +import 'package:akuCommunity/utils/login_util.dart'; class ApplicationView extends StatefulWidget { final List items; diff --git a/lib/widget/views/bee_grid_image_view.dart b/lib/widget/views/bee_grid_image_view.dart index 49df7e41..ed9594ef 100644 --- a/lib/widget/views/bee_grid_image_view.dart +++ b/lib/widget/views/bee_grid_image_view.dart @@ -1,10 +1,7 @@ -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/lib/widget/views/horizontal_image_view.dart b/lib/widget/views/horizontal_image_view.dart index 5f34eb21..27cddc12 100644 --- a/lib/widget/views/horizontal_image_view.dart +++ b/lib/widget/views/horizontal_image_view.dart @@ -1,12 +1,9 @@ -// Flutter imports: import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; -// Package imports: import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; -// Project imports: import 'package:akuCommunity/const/resource.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/utils/headers.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 45245d0e..e6e270dd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -111,3 +111,7 @@ flutter: - assets/tab/ - assets/json/ - assets/applications/ + +import_sorter: + emojis: true + comments: false diff --git a/test/widget_test.dart b/test/widget_test.dart index 0919ffb1..9dc36e23 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -5,13 +5,10 @@ // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the values of widget properties are correct. -// Flutter imports: import 'package:flutter/material.dart'; -// Package imports: import 'package:flutter_test/flutter_test.dart'; -// Project imports: import 'package:akuCommunity/main.dart'; void main() {