remove unused import

hmxc
张萌 4 years ago
parent a30cd27785
commit 9e4d7b974a

@ -11,7 +11,6 @@ import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
import 'package:akuCommunity/widget/bottom_button.dart'; import 'package:akuCommunity/widget/bottom_button.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class ActivitiesDetailsPage extends StatefulWidget { class ActivitiesDetailsPage extends StatefulWidget {
final Bundle bundle; final Bundle bundle;

@ -5,7 +5,6 @@ import 'package:get/get.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/activity_card.dart'; import 'package:akuCommunity/widget/activity_card.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class ActivitiesPage extends StatefulWidget { class ActivitiesPage extends StatefulWidget {
final Bundle bundle; final Bundle bundle;

@ -5,7 +5,6 @@ import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class MemberListPage extends StatefulWidget { class MemberListPage extends StatefulWidget {
MemberListPage({Key key}) : super(key: key); MemberListPage({Key key}) : super(key: key);

@ -4,7 +4,6 @@ import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_input.dart'; import 'package:akuCommunity/widget/common_input.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/widget/single_image_up.dart'; import 'package:akuCommunity/widget/single_image_up.dart';
class CertificationPage extends StatefulWidget { class CertificationPage extends StatefulWidget {

@ -56,41 +56,41 @@ class _CommunityIndexState extends State<CommunityIndex>
]; ];
} }
AppBar _appBar() { // AppBar _appBar() {
return AppBar( // return AppBar(
backgroundColor: Colors.white, // backgroundColor: Colors.white,
elevation: 0, // elevation: 0,
title: Text("社区"), // title: Text("社区"),
centerTitle: true, // centerTitle: true,
actions: _listActions(), // actions: _listActions(),
bottom: PreferredSize( // bottom: PreferredSize(
preferredSize: Size.fromHeight(kToolbarHeight), // preferredSize: Size.fromHeight(kToolbarHeight),
child: Align( // child: Align(
alignment: Alignment.centerLeft, // alignment: Alignment.centerLeft,
child: TabBar( // child: TabBar(
controller: _tabController, // controller: _tabController,
isScrollable: true, // isScrollable: true,
indicatorColor: Color(0xffFFd000), // indicatorColor: Color(0xffFFd000),
labelColor: Color(0xff000000), // labelColor: Color(0xff000000),
unselectedLabelColor: Color(0xFF3A5160).withOpacity(0.5), // unselectedLabelColor: Color(0xFF3A5160).withOpacity(0.5),
indicatorWeight: 2.0, // indicatorWeight: 2.0,
indicatorSize: TabBarIndicatorSize.label, // indicatorSize: TabBarIndicatorSize.label,
labelStyle: TextStyle( // labelStyle: TextStyle(
fontSize: 28.sp, // fontSize: 28.sp,
color: Color(0xff333333), // color: Color(0xff333333),
fontWeight: FontWeight.w600, // fontWeight: FontWeight.w600,
), // ),
tabs: List.generate( // tabs: List.generate(
tabs.length, // tabs.length,
(index) => Tab( // (index) => Tab(
text: tabs[index]['name'], // text: tabs[index]['name'],
), // ),
), // ),
), // ),
), // ),
), // ),
); // );
} // }
FloatingActionButton _floatingActionButton() { FloatingActionButton _floatingActionButton() {
return FloatingActionButton( return FloatingActionButton(

@ -3,8 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:get/get.dart';
class TopicCard extends StatefulWidget { class TopicCard extends StatefulWidget {
final String title, subtitle, imagePath, hotNum; final String title, subtitle, imagePath, hotNum;

@ -39,49 +39,49 @@ class _TrendCardState extends State<TrendCard> {
_isLike = widget.isLike ?? false; _isLike = widget.isLike ?? false;
} }
void _showDialog(String url) { // void _showDialog(String url) {
showCupertinoDialog( // showCupertinoDialog(
context: context, // context: context,
builder: (context) { // builder: (context) {
return CupertinoAlertDialog( // return CupertinoAlertDialog(
title: Text( // title: Text(
'是否$url\?', // '是否$url\?',
style: TextStyle( // style: TextStyle(
fontSize: 34.sp, // fontSize: 34.sp,
color: Color(0xff030303), // color: Color(0xff030303),
), // ),
), // ),
actions: <Widget>[ // actions: <Widget>[
CupertinoDialogAction( // CupertinoDialogAction(
child: Text( // child: Text(
'取消', // '取消',
style: TextStyle( // style: TextStyle(
fontSize: 34.sp, // fontSize: 34.sp,
color: Color(0xff333333), // color: Color(0xff333333),
), // ),
), // ),
onPressed: () { // onPressed: () {
Get.back(); // Get.back();
}, // },
), // ),
CupertinoDialogAction( // CupertinoDialogAction(
child: Text( // child: Text(
'确定', // '确定',
style: TextStyle( // style: TextStyle(
fontWeight: FontWeight.w600, // fontWeight: FontWeight.w600,
fontSize: 34.sp, // fontSize: 34.sp,
color: Color(0xffff8200), // color: Color(0xffff8200),
), // ),
), // ),
onPressed: () { // onPressed: () {
Get.back(); // Get.back();
}, // },
), // ),
], // ],
); // );
}, // },
); // );
} // }
TextStyle _textStyleName() { TextStyle _textStyleName() {
return TextStyle( return TextStyle(

@ -7,7 +7,6 @@ import 'package:rflutter_alert/rflutter_alert.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class PayOrderPage extends StatelessWidget { class PayOrderPage extends StatelessWidget {
final Bundle bundle; final Bundle bundle;

@ -4,8 +4,6 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:get/get.dart';
class ConfirmAddress extends StatefulWidget { class ConfirmAddress extends StatefulWidget {
ConfirmAddress({Key key}) : super(key: key); ConfirmAddress({Key key}) : super(key: key);

@ -3,8 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:get/get.dart';
class ConfirmBottomBar extends StatelessWidget { class ConfirmBottomBar extends StatelessWidget {
final Map cartMap; final Map cartMap;

@ -4,7 +4,6 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/sliver_app_bar_delegate.dart'; import 'package:akuCommunity/widget/sliver_app_bar_delegate.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/widget/search_bar_delegate.dart'; import 'package:akuCommunity/widget/search_bar_delegate.dart';
import 'widget/phone_list.dart'; import 'widget/phone_list.dart';

@ -4,7 +4,6 @@ import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/widget/sliver_app_bar_delegate.dart'; import 'package:akuCommunity/widget/sliver_app_bar_delegate.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'widget/owner_manage.dart'; import 'widget/owner_manage.dart';
import 'widget/director_manage.dart'; import 'widget/director_manage.dart';

@ -4,7 +4,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:get/get.dart';
import 'widget/goods_app_bar.dart'; import 'widget/goods_app_bar.dart';
import 'widget/product_swiper.dart'; import 'widget/product_swiper.dart';
import 'widget/product_content.dart'; import 'widget/product_content.dart';

@ -1,9 +1,7 @@
import 'package:akuCommunity/pages/market/market_cart_page/market_cart_page.dart'; import 'package:akuCommunity/pages/market/market_cart_page/market_cart_page.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:akuCommunity/provider/cart.dart'; import 'package:akuCommunity/provider/cart.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';

@ -5,7 +5,6 @@ import 'package:flutter_icons/flutter_icons.dart';
import 'package:qr_flutter/qr_flutter.dart'; import 'package:qr_flutter/qr_flutter.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/dotted_line.dart'; import 'package:akuCommunity/widget/dotted_line.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class DetoCodePage extends StatelessWidget { class DetoCodePage extends StatelessWidget {
const DetoCodePage({Key key}) : super(key: key); const DetoCodePage({Key key}) : super(key: key);

@ -5,7 +5,6 @@ import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/widget/common_image_picker.dart'; import 'package:akuCommunity/widget/common_image_picker.dart';
import 'package:akuCommunity/widget/bottom_button.dart'; import 'package:akuCommunity/widget/bottom_button.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'widget/common_radio.dart'; import 'widget/common_radio.dart';
import 'widget/common_picker.dart'; import 'widget/common_picker.dart';

@ -3,11 +3,8 @@ import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/bottom_button.dart'; import 'package:akuCommunity/widget/bottom_button.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'widget/goods_info_card.dart'; import 'widget/goods_info_card.dart';
class GoodsDetoPage extends StatefulWidget { class GoodsDetoPage extends StatefulWidget {

@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class MineGoodsPage extends StatefulWidget { class MineGoodsPage extends StatefulWidget {
MineGoodsPage({Key key}) : super(key: key); MineGoodsPage({Key key}) : super(key: key);

@ -2,7 +2,6 @@ import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class CommitteeMailboxPage extends StatefulWidget { class CommitteeMailboxPage extends StatefulWidget {
CommitteeMailboxPage({Key key}) : super(key: key); CommitteeMailboxPage({Key key}) : super(key: key);

@ -5,7 +5,6 @@ import 'package:flutter/cupertino.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'widget/staff_list.dart'; import 'widget/staff_list.dart';
class IndustryCommitteePage extends StatefulWidget { class IndustryCommitteePage extends StatefulWidget {

@ -2,7 +2,6 @@ import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'widget/bill_card.dart'; import 'widget/bill_card.dart';
class LifePayBillPage extends StatefulWidget { class LifePayBillPage extends StatefulWidget {

@ -4,7 +4,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'widget/details_card.dart'; import 'widget/details_card.dart';
import '../widget/submit_bar.dart'; import '../widget/submit_bar.dart';

@ -2,7 +2,6 @@ import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/widget/common_input.dart'; import 'package:akuCommunity/widget/common_input.dart';
class CarAddPage extends StatefulWidget { class CarAddPage extends StatefulWidget {

@ -5,7 +5,6 @@ import 'package:flutter_html/flutter_html.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
const htmlData = ''' const htmlData = '''
<p> <p>

@ -3,8 +3,6 @@ import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
class OpenDoorPage extends StatefulWidget { class OpenDoorPage extends StatefulWidget {

@ -4,7 +4,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'widget/refund_shop_card.dart'; import 'widget/refund_shop_card.dart';

@ -5,7 +5,6 @@ import 'package:flutter/cupertino.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/community_card.dart'; import 'package:akuCommunity/widget/community_card.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
class QuestionnairePage extends StatefulWidget { class QuestionnairePage extends StatefulWidget {

@ -2,7 +2,6 @@ import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class AboutPage extends StatelessWidget { class AboutPage extends StatelessWidget {
const AboutPage({Key key}) : super(key: key); const AboutPage({Key key}) : super(key: key);

@ -6,7 +6,6 @@ import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/widget/common_image_picker.dart'; import 'package:akuCommunity/widget/common_image_picker.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';

@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:qr_flutter/qr_flutter.dart'; import 'package:qr_flutter/qr_flutter.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class InvitePage extends StatelessWidget { class InvitePage extends StatelessWidget {
const InvitePage({Key key}) : super(key: key); const InvitePage({Key key}) : super(key: key);

@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_image_picker.dart'; import 'package:akuCommunity/widget/common_image_picker.dart';

@ -5,7 +5,6 @@ import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
import 'package:akuCommunity/routers/page_routers.dart';
class GoodsInfoCardButton extends StatelessWidget { class GoodsInfoCardButton extends StatelessWidget {
GoodsInfoCardButton({Key key}) : super(key: key); GoodsInfoCardButton({Key key}) : super(key: key);

@ -4,7 +4,6 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:smooth_star_rating/smooth_star_rating.dart'; import 'package:smooth_star_rating/smooth_star_rating.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
class ThingsEvaluatePage extends StatefulWidget { class ThingsEvaluatePage extends StatefulWidget {

@ -4,7 +4,6 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/dotted_line.dart'; import 'package:akuCommunity/widget/dotted_line.dart';
import 'package:akuCommunity/widget/common_app_bar.dart';
class VisitorPassPage extends StatefulWidget { class VisitorPassPage extends StatefulWidget {
VisitorPassPage({Key key}) : super(key: key); VisitorPassPage({Key key}) : super(key: key);

@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart';
class RecordItem extends StatefulWidget { class RecordItem extends StatefulWidget {
final bool isQRCode; final bool isQRCode;

@ -1,5 +1,4 @@
import 'package:akuCommunity/extensions/num_ext.dart'; import 'package:akuCommunity/extensions/num_ext.dart';
import 'package:common_utils/common_utils.dart';
import 'package:dio/dio.dart'; import 'package:dio/dio.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';

@ -4,7 +4,6 @@ import 'package:akuCommunity/extensions/page_router.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:velocity_x/velocity_x.dart';
class LoggerFAB extends StatefulWidget { class LoggerFAB extends StatefulWidget {
static openLogger(BuildContext context) { static openLogger(BuildContext context) {

@ -4,7 +4,6 @@ import 'package:akuCommunity/pages/message_center_page/message_center_page.dart'
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/routers/page_routers.dart';
class AppBarAction extends StatefulWidget { class AppBarAction extends StatefulWidget {
final IconData icon; final IconData icon;

@ -181,63 +181,63 @@ class _GoodsSpecsSheetState extends State<GoodsSpecsSheet> {
); );
} }
Widget _paddingSelect(String title, List<Map<String, dynamic>> selectList) { // Widget _paddingSelect(String title, List<Map<String, dynamic>> selectList) {
return Padding( // return Padding(
padding: EdgeInsets.symmetric(horizontal: 52.w), // padding: EdgeInsets.symmetric(horizontal: 52.w),
child: Column( // child: Column(
crossAxisAlignment: CrossAxisAlignment.start, // crossAxisAlignment: CrossAxisAlignment.start,
children: [ // children: [
Text( // Text(
title, // title,
style: TextStyle( // style: TextStyle(
color: Color(0xff333333), // color: Color(0xff333333),
fontSize: 28.sp, // fontSize: 28.sp,
), // ),
), // ),
SizedBox(height: 20.w), // SizedBox(height: 20.w),
Wrap( // Wrap(
spacing: 30.w, // spacing: 30.w,
runSpacing: 20.w, // runSpacing: 20.w,
children: selectList // children: selectList
.map((item) => InkWell( // .map((item) => InkWell(
onTap: () { // onTap: () {
selectList.forEach((item) { // selectList.forEach((item) {
item['isSelect'] = false; // item['isSelect'] = false;
}); // });
setState(() { // setState(() {
item['isSelect'] = true; // item['isSelect'] = true;
}); // });
}, // },
child: Container( // child: Container(
decoration: BoxDecoration( // decoration: BoxDecoration(
color: item['isSelect'] // color: item['isSelect']
? Color(0xfffff8e4) // ? Color(0xfffff8e4)
: Color(0xffffffff), // : Color(0xffffffff),
border: Border.all( // border: Border.all(
color: item['isSelect'] // color: item['isSelect']
? Color(0xffffc40c) // ? Color(0xffffc40c)
: Color(0xff979797), // : Color(0xff979797),
width: 0.5), // width: 0.5),
borderRadius: BorderRadius.all(Radius.circular(4))), // borderRadius: BorderRadius.all(Radius.circular(4))),
padding: EdgeInsets.symmetric( // padding: EdgeInsets.symmetric(
horizontal: 32.w, // horizontal: 32.w,
vertical: 15.w, // vertical: 15.w,
), // ),
child: Text( // child: Text(
item['title'], // item['title'],
style: TextStyle( // style: TextStyle(
fontSize: 28.sp, // fontSize: 28.sp,
color: Color(0xff333333), // color: Color(0xff333333),
), // ),
), // ),
), // ),
)) // ))
.toList(), // .toList(),
), // ),
], // ],
), // ),
); // );
} // }
Widget _paddingNum() { Widget _paddingNum() {
return Padding( return Padding(

Loading…
Cancel
Save