remove shit code again!

hmxc
小赖 4 years ago
parent 4ddd42701c
commit d5d9bee14b

@ -1,83 +1,83 @@
class AssetsImage { class AssetsImage {
static final TAB_HOME_UNSELECT = 'assets/icons/tabbar_home_no.png'; static const TAB_HOME_UNSELECT = 'assets/icons/tabbar_home_no.png';
static final TAB_HOME_SELECT = 'assets/icons/tabbar_home.png'; static const TAB_HOME_SELECT = 'assets/icons/tabbar_home.png';
static final TAB_MARKET_UNSELECT = 'assets/icons/tabbar_market_no.png'; static const TAB_MARKET_UNSELECT = 'assets/icons/tabbar_market_no.png';
static final TAB_MARKET_SELECT = 'assets/icons/tabbar_market.png'; static const TAB_MARKET_SELECT = 'assets/icons/tabbar_market.png';
static final TAB_HOUSE_UNSELECT = 'assets/icons/tabbar_house_no.png'; static const TAB_HOUSE_UNSELECT = 'assets/icons/tabbar_house_no.png';
static final TAB_HOUSE_SELECT = 'assets/icons/tabbar_house.png'; static const TAB_HOUSE_SELECT = 'assets/icons/tabbar_house.png';
static final TAB_MESSAGE_UNSELECT = 'assets/icons/tabbar_message_no.png'; static const TAB_MESSAGE_UNSELECT = 'assets/icons/tabbar_message_no.png';
static final TAB_MESSAGE_SELECT = 'assets/icons/tabbar_message.png'; static const TAB_MESSAGE_SELECT = 'assets/icons/tabbar_message.png';
static final TAB_USER_UNSELECT = 'assets/icons/tabbar_user_no.png'; static const TAB_USER_UNSELECT = 'assets/icons/tabbar_user_no.png';
static final TAB_USER_SELECT = 'assets/icons/tabbar_user.png'; static const TAB_USER_SELECT = 'assets/icons/tabbar_user.png';
static final NOTIFICATION = 'assets/icons/icon_notification.png'; static const NOTIFICATION = 'assets/icons/icon_notification.png';
static final LOCATION = 'assets/icons/location.png'; static const LOCATION = 'assets/icons/location.png';
static final HOUSE = 'assets/icons/house.png'; static const HOUSE = 'assets/icons/house.png';
static final PHONE = 'assets/icons/phone.png'; static const PHONE = 'assets/icons/phone.png';
static final IMAGEADD = 'assets/icons/img_add.png'; static const IMAGEADD = 'assets/icons/img_add.png';
static final PROPERTY = 'assets/icons/property.png'; static const PROPERTY = 'assets/icons/property.png';
static final SYSTEMNOTICE = 'assets/icons/system_notice.png'; static const SYSTEMNOTICE = 'assets/icons/system_notice.png';
static final COMMENTNOTICE = 'assets/icons/comment_notice.png'; static const COMMENTNOTICE = 'assets/icons/comment_notice.png';
static final SHOPNOTICE = 'assets/icons/shop_notice.png'; static const SHOPNOTICE = 'assets/icons/shop_notice.png';
static final MINEBG = 'assets/images/mine_bg.png'; static const MINEBG = 'assets/images/mine_bg.png';
static final MEMBERBG = 'assets/images/member_bg.png'; static const MEMBERBG = 'assets/images/member_bg.png';
static final HOUSEHEADER = 'assets/images/house_header.png'; static const HOUSEHEADER = 'assets/images/house_header.png';
static final HOUSEATTESTATION = 'assets/images/house_attestation.png'; static const HOUSEATTESTATION = 'assets/images/house_attestation.png';
static final CARHEADER = 'assets/images/car_header.png'; static const CARHEADER = 'assets/images/car_header.png';
static final LOGO = 'assets/images/logo.png'; static const LOGO = 'assets/images/logo.png';
static final PHONELOGO = 'assets/images/phone_logo.png'; static const PHONELOGO = 'assets/images/phone_logo.png';
static final CODELOGO = 'assets/images/code_logo.png'; static const CODELOGO = 'assets/images/code_logo.png';
static final LICENSE = 'assets/images/license.png'; static const LICENSE = 'assets/images/license.png';
static final LICENSEBACK = 'assets/images/license_back.png'; static const LICENSEBACK = 'assets/images/license_back.png';
static final DRAWINGS = 'assets/images/drawings.png'; static const DRAWINGS = 'assets/images/drawings.png';
static final APPLICATION = 'assets/images/application.png'; static const APPLICATION = 'assets/images/application.png';
static final COMMITMENT = 'assets/images/commitment.png'; static const COMMITMENT = 'assets/images/commitment.png';
static final WXPAY = 'assets/images/wxpay.png'; static const WXPAY = 'assets/images/wxpay.png';
static final APPADD = 'assets/icons/app_add.png'; static const APPADD = 'assets/icons/app_add.png';
static final APPREDUCE = 'assets/icons/app_reduce.png'; static const APPREDUCE = 'assets/icons/app_reduce.png';
static final COMPLAINT = 'assets/icons/complaint.png'; static const COMPLAINT = 'assets/icons/complaint.png';
static final CONSULT = 'assets/icons/consult.png'; static const CONSULT = 'assets/icons/consult.png';
static final LIKE = 'assets/icons/like.png'; static const LIKE = 'assets/icons/like.png';
static final PROPOSAL = 'assets/icons/proposal.png'; static const PROPOSAL = 'assets/icons/proposal.png';
static final List<Map<String, dynamic>> mineAppList = [ static const List<Map<String, dynamic>> mineAppList = [
{ {
'title': '一键开门', 'title': '一键开门',
'imagePath': 'assets/icons/tool_yjkm.png', 'imagePath': 'assets/icons/tool_yjkm.png',
@ -94,7 +94,7 @@ class AssetsImage {
} }
]; ];
static final List<Map<String, dynamic>> homeGridList = [ static const List<Map<String, dynamic>> homeGridList = [
{ {
'title': '一键开门', 'title': '一键开门',
'imagePath': 'assets/icons/tool_yjkm.png', 'imagePath': 'assets/icons/tool_yjkm.png',
@ -153,7 +153,7 @@ class AssetsImage {
}, },
]; ];
static final List<Map<String, dynamic>> recommendGridList = [ static const List<Map<String, dynamic>> recommendGridList = [
{ {
'title': '一键开门', 'title': '一键开门',
'imagePath': 'assets/icons/tool_yjkm.png', 'imagePath': 'assets/icons/tool_yjkm.png',
@ -191,7 +191,7 @@ class AssetsImage {
}, },
]; ];
static final List<Map<String, dynamic>> propertyGridList = [ static const List<Map<String, dynamic>> propertyGridList = [
{ {
'title': '一键开门', 'title': '一键开门',
'imagePath': 'assets/icons/tool_yjkm.png', 'imagePath': 'assets/icons/tool_yjkm.png',
@ -292,7 +292,7 @@ class AssetsImage {
}, },
]; ];
static final List<Map<String, dynamic>> shopGridList = [ static const List<Map<String, dynamic>> shopGridList = [
{'title': '居家生活', 'imagePath': 'assets/icons/tool_jjsh.png'}, {'title': '居家生活', 'imagePath': 'assets/icons/tool_jjsh.png'},
{'title': '数码家电', 'imagePath': 'assets/icons/tool_smjd.png'}, {'title': '数码家电', 'imagePath': 'assets/icons/tool_smjd.png'},
{'title': '休闲副食', 'imagePath': 'assets/icons/tool_xxfs.png'}, {'title': '休闲副食', 'imagePath': 'assets/icons/tool_xxfs.png'},
@ -303,7 +303,7 @@ class AssetsImage {
{'title': '饮料酒水', 'imagePath': 'assets/icons/tool_yljs.png'}, {'title': '饮料酒水', 'imagePath': 'assets/icons/tool_yljs.png'},
]; ];
static final List<Map<String, dynamic>> orderGridList = [ static const List<Map<String, dynamic>> orderGridList = [
{'title': '待付款', 'imagePath': 'assets/icons/user_icon_dfk.png'}, {'title': '待付款', 'imagePath': 'assets/icons/user_icon_dfk.png'},
{'title': '待发货', 'imagePath': 'assets/icons/user_icon_dfh.png'}, {'title': '待发货', 'imagePath': 'assets/icons/user_icon_dfh.png'},
{'title': '待收货', 'imagePath': 'assets/icons/user_icon_dsh.png'}, {'title': '待收货', 'imagePath': 'assets/icons/user_icon_dsh.png'},
@ -311,7 +311,7 @@ class AssetsImage {
{'title': '售后', 'imagePath': 'assets/icons/user_icon_sh.png'}, {'title': '售后', 'imagePath': 'assets/icons/user_icon_sh.png'},
]; ];
static final List<Map<String, dynamic>> mineGridList = [ static const List<Map<String, dynamic>> mineGridList = [
{ {
'title': '我的房屋', 'title': '我的房屋',
'imagePath': 'assets/icons/user_icon_wdfw.png', 'imagePath': 'assets/icons/user_icon_wdfw.png',

@ -91,7 +91,7 @@ class _ActivitiesDetailsPageState extends State<ActivitiesDetailsPage> {
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),
@ -144,8 +144,7 @@ class _ActivitiesDetailsPageState extends State<ActivitiesDetailsPage> {
}, },
child: Container( child: Container(
margin: EdgeInsets.only(top: 39.w), margin: EdgeInsets.only(top: 39.w),
padding: EdgeInsets.only( padding: EdgeInsets.only(left: 41.w, bottom: 40.w),
left: 41.w, bottom: 40.w),
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border( border: Border(
bottom: BorderSide(color: BaseStyle.colord8d8d8, width: 0.5), bottom: BorderSide(color: BaseStyle.colord8d8d8, width: 0.5),
@ -276,14 +275,12 @@ class _ActivitiesDetailsPageState extends State<ActivitiesDetailsPage> {
color: Colors.white, color: Colors.white,
child: ListView( child: ListView(
padding: EdgeInsets.only( padding: EdgeInsets.only(
bottom: ( widget.bundle.getMap('details')['isVote'] ? 0 : 170).w), bottom:
(widget.bundle.getMap('details')['isVote'] ? 0 : 170).w),
children: [ children: [
Container( Container(
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: 26.w, top: 26.w, left: 32.w, right: 32.w, bottom: 60.w),
left: 32.w,
right: 32.w,
bottom: 60.w),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
@ -324,17 +321,12 @@ class _ActivitiesDetailsPageState extends State<ActivitiesDetailsPage> {
), ),
Container( Container(
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: 26.w, top: 26.w, left: 32.w, right: 32.w, bottom: 60.w),
left: 32.w,
right: 32.w,
bottom: 60.w),
child: widget.bundle.getMap('details')['isVote'] child: widget.bundle.getMap('details')['isVote']
? Container( ? Container(
margin: EdgeInsets.only(top: 44.w), margin: EdgeInsets.only(top: 44.w),
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: 50.w, top: 50.w, left: 32.w, right: 25.w),
left: 32.w,
right: 25.w),
width: 686.w, width: 686.w,
decoration: BoxDecoration( decoration: BoxDecoration(
color: BaseStyle.colorf3f3f3, color: BaseStyle.colorf3f3f3,
@ -352,8 +344,7 @@ class _ActivitiesDetailsPageState extends State<ActivitiesDetailsPage> {
color: BaseStyle.color999999), color: BaseStyle.color999999),
), ),
Container( Container(
padding: padding: EdgeInsets.only(left: 3.w),
EdgeInsets.only(left: 3.w),
child: Column( child: Column(
children: _listView children: _listView
.asMap() .asMap()

@ -1,6 +1,5 @@
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:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart'; import 'package:akuCommunity/widget/common_app_bar.dart';
@ -15,7 +14,6 @@ class AddressEditPage extends StatefulWidget {
} }
class _AddressEditPageState extends State<AddressEditPage> { class _AddressEditPageState extends State<AddressEditPage> {
var _scaffoldKey = new GlobalKey<ScaffoldState>();
GlobalKey _formKey = new GlobalKey<FormState>(); GlobalKey _formKey = new GlobalKey<FormState>();
bool isDefault = false; bool isDefault = false;
@ -102,7 +100,6 @@ class _AddressEditPageState extends State<AddressEditPage> {
children: [ children: [
Form( Form(
key: _formKey, key: _formKey,
autovalidate: true,
child: Column( child: Column(
children: [ children: [
AddressEditItem(addressInfo: { AddressEditItem(addressInfo: {

@ -3,7 +3,6 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:extended_text/extended_text.dart'; import 'package:extended_text/extended_text.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
class AddressItem extends StatelessWidget { class AddressItem extends StatelessWidget {

@ -3,7 +3,6 @@ import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/common_input.dart'; import 'package:akuCommunity/widget/common_input.dart';
import 'package:akuCommunity/widget/common_upload_image.dart';
import 'package:akuCommunity/widget/common_app_bar.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';

@ -1,7 +1,6 @@
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:flutter_beautiful_popup/main.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
@ -310,7 +309,6 @@ class _CommonPageState extends State<CommonPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
double _statusHeight = MediaQuery.of(context).padding.top;
return Scaffold( return Scaffold(
appBar: PreferredSize( appBar: PreferredSize(
child: _commentAppBar(), child: _commentAppBar(),

@ -44,7 +44,6 @@ class _CommunityIndexState extends State<CommunityIndex>
); );
} }
List<Widget> _listActions() { List<Widget> _listActions() {
return actionsList return actionsList
.map((item) => AppBarAction( .map((item) => AppBarAction(
@ -104,6 +103,7 @@ class _CommunityIndexState extends State<CommunityIndex>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return Scaffold( return Scaffold(
backgroundColor: Colors.white, backgroundColor: Colors.white,
appBar: _appBar(), appBar: _appBar(),

@ -86,8 +86,8 @@ class _TabListState extends State<TabList> with AutomaticKeepAliveClientMixin {
'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=107966910,699677438&fm=26&gp=0.jpg', 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=107966910,699677438&fm=26&gp=0.jpg',
'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3011269428,2056805718&fm=26&gp=0.jpg' 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3011269428,2056805718&fm=26&gp=0.jpg'
], ],
'isLike':false, 'isLike': false,
'avatar':Image.asset('assets/example/touxiang1.png'), 'avatar': Image.asset('assets/example/touxiang1.png'),
}, },
{ {
'name': '马泽鹏', 'name': '马泽鹏',
@ -96,8 +96,8 @@ class _TabListState extends State<TabList> with AutomaticKeepAliveClientMixin {
'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3445658157,2379681095&fm=26&gp=0.jpg', 'https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3445658157,2379681095&fm=26&gp=0.jpg',
'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3539674557,3804837870&fm=26&gp=0.jpg', 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3539674557,3804837870&fm=26&gp=0.jpg',
], ],
'isLike':true, 'isLike': true,
'avatar':Image.asset('assets/example/touxiang2.png') 'avatar': Image.asset('assets/example/touxiang2.png')
}, },
{ {
'name': '王管事', 'name': '王管事',
@ -106,8 +106,8 @@ class _TabListState extends State<TabList> with AutomaticKeepAliveClientMixin {
'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=2446247351,2922660058&fm=26&gp=0.jpg', 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=2446247351,2922660058&fm=26&gp=0.jpg',
'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1601274815221&di=3a50314a4d2c7188f6003f67d24177c2&imgtype=0&src=http%3A%2F%2Fimg1.cache.netease.com%2Fcatchpic%2F6%2F62%2F620DAF59053DF902F1D991EDBF14FD26.gif', 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1601274815221&di=3a50314a4d2c7188f6003f67d24177c2&imgtype=0&src=http%3A%2F%2Fimg1.cache.netease.com%2Fcatchpic%2F6%2F62%2F620DAF59053DF902F1D991EDBF14FD26.gif',
], ],
'isLike':false, 'isLike': false,
'avatar':Image.asset('assets/example/touxiang3.jpeg') 'avatar': Image.asset('assets/example/touxiang3.jpeg')
}, },
]; ];
@ -140,6 +140,7 @@ class _TabListState extends State<TabList> with AutomaticKeepAliveClientMixin {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return SmartRefresher( return SmartRefresher(
controller: _refreshController, controller: _refreshController,
header: WaterDropHeader(), header: WaterDropHeader(),
@ -158,8 +159,7 @@ class _TabListState extends State<TabList> with AutomaticKeepAliveClientMixin {
content: _newsList[index]['content'], content: _newsList[index]['content'],
imageUrl: _newsList[index]['imageUrl'], imageUrl: _newsList[index]['imageUrl'],
isLike: _newsList[index]['isLike'], isLike: _newsList[index]['isLike'],
avatar:_newsList[index]['avatar'] avatar: _newsList[index]['avatar'])
)
: widget.index == 1 : widget.index == 1
? TopicCard( ? TopicCard(
title: _topicList[index]['title'], title: _topicList[index]['title'],
@ -176,7 +176,9 @@ class _TabListState extends State<TabList> with AutomaticKeepAliveClientMixin {
), ),
itemCount: widget.index == 0 itemCount: widget.index == 0
? _newsList.length ? _newsList.length
: widget.index == 1 ? _topicList.length : _circleList.length, : widget.index == 1
? _topicList.length
: _circleList.length,
), ),
), ),
); );

@ -34,7 +34,7 @@ class _TrendCardState extends State<TrendCard> {
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),
@ -194,114 +194,7 @@ class _TrendCardState extends State<TrendCard> {
); );
} }
TextStyle _textStylePopup() {
return TextStyle(
fontSize: 28.sp,
color: Color(0xff333333),
);
}
Positioned _positionedPopupMenuButton() {
return Positioned(
right: 0,
bottom: 0,
child: PopupMenuButton(
color: Colors.transparent,
padding: EdgeInsets.all(0),
elevation: 0,
offset: Offset(0, -53),
child: Container(
width: 54.w,
decoration: BoxDecoration(
color: Color(0xffd8d8d8),
borderRadius: BorderRadius.all(Radius.circular(4)),
),
child: Icon(
Feather.more_horizontal,
color: Colors.white,
size: 36.sp,
),
),
onSelected: (String value) {
setState(() {});
},
itemBuilder: (BuildContext context) => <PopupMenuItem<String>>[
PopupMenuItem(
value: "选项一的内容",
child: Container(
decoration: BoxDecoration(
color: Color(0xffd8d8d8),
borderRadius: BorderRadius.all(Radius.circular(6)),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
InkWell(
onTap: () {
print('');
Navigator.pop(context);
},
child: Container(
height: 68.w,
width: 181.w,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
AntDesign.hearto,
size: 30.sp,
color: Color(0xff000000),
),
SizedBox(width: 11.w),
Text(
'',
style: _textStylePopup(),
),
],
),
),
),
SizedBox(
width: 1,
height: 48.w,
child: DecoratedBox(
decoration: BoxDecoration(color: Color(0xff979797)),
),
),
InkWell(
onTap: () {
print('评论');
Navigator.pop(context);
},
child: Container(
height: 68.w,
width: 181.w,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
Feather.message_square,
size: 30.sp,
color: Color(0xff000000),
),
SizedBox(width: 11.w),
Text(
'评论',
style: _textStylePopup(),
),
],
),
),
),
],
),
),
),
],
),
);
}
Widget _columnCard(String name, String content,Image avatar) { Widget _columnCard(String name, String content,Image avatar) {
return Stack( return Stack(

@ -1,6 +1,5 @@
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:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart'; import 'package:akuCommunity/widget/common_app_bar.dart';

@ -11,14 +11,13 @@ class PayOrderPage extends StatelessWidget {
final Bundle bundle; final Bundle bundle;
PayOrderPage({Key key, this.bundle}) : super(key: key); PayOrderPage({Key key, this.bundle}) : super(key: key);
var alertStyle = AlertStyle( final alertStyle = AlertStyle(
isCloseButton: false, isCloseButton: false,
isOverlayTapDismiss: false, isOverlayTapDismiss: false,
titleStyle: titleStyle: TextStyle(fontSize: 38.sp, color: Color(0xff333333)),
TextStyle(fontSize: 38.sp, color: Color(0xff333333)),
); );
List<Map<String, dynamic>> _listPay = [ final List<Map<String, dynamic>> _listPay = [
{ {
'title': '支付宝支付', 'title': '支付宝支付',
'widget': Icon( 'widget': Icon(
@ -40,7 +39,7 @@ class PayOrderPage extends StatelessWidget {
'isCheck': false 'isCheck': false
} }
]; ];
Widget FadeAlertAnimation(BuildContext context, Animation<double> animation, Widget fadeAlertAnimation(BuildContext context, Animation<double> animation,
Animation<double> secondaryAnimation, Widget child) { Animation<double> secondaryAnimation, Widget child) {
return Align( return Align(
child: FadeTransition( child: FadeTransition(
@ -67,8 +66,7 @@ class PayOrderPage extends StatelessWidget {
end: Alignment.bottomCenter, end: Alignment.bottomCenter,
colors: [Color(0xffffe16b), Color(0xffffc40d)], colors: [Color(0xffffe16b), Color(0xffffc40d)],
), ),
borderRadius: borderRadius: BorderRadius.all(Radius.circular(200.w)),
BorderRadius.all(Radius.circular(200.w)),
), ),
child: Icon( child: Icon(
Icons.check, Icons.check,
@ -77,7 +75,7 @@ class PayOrderPage extends StatelessWidget {
), ),
), ),
style: alertStyle, style: alertStyle,
alertAnimation: FadeAlertAnimation, alertAnimation: fadeAlertAnimation,
buttons: [ buttons: [
DialogButton( DialogButton(
child: Text( child: Text(
@ -110,8 +108,7 @@ class PayOrderPage extends StatelessWidget {
SizedBox(width: 24.w), SizedBox(width: 24.w),
Text( Text(
title, title,
style: TextStyle( style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
fontSize: 28.sp, color: Color(0xff333333)),
), ),
], ],
), ),

@ -77,7 +77,7 @@ class _PhoneListState extends State<PhoneList> {
), ),
), ),
onPressed: () { onPressed: () {
_phoneCall('tel:${url}'); _phoneCall('tel:$url');
Navigator.pop(context); Navigator.pop(context);
}, },
), ),

@ -15,10 +15,7 @@ class DirectorManage extends StatefulWidget {
_DirectorManageState createState() => _DirectorManageState(); _DirectorManageState createState() => _DirectorManageState();
} }
class _DirectorManageState extends State<DirectorManage> class _DirectorManageState extends State<DirectorManage> {
with AutomaticKeepAliveClientMixin {
@override
bool get wantKeepAlive => true;
TextEditingController _companyName = new TextEditingController(); TextEditingController _companyName = new TextEditingController();
@ -88,8 +85,7 @@ class _DirectorManageState extends State<DirectorManage>
children: [ children: [
Text( Text(
title, title,
style: TextStyle( style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
fontSize: 28.sp, color: Color(0xff333333)),
), ),
SizedBox(height: 25.w), SizedBox(height: 25.w),
widget widget
@ -113,8 +109,7 @@ class _DirectorManageState extends State<DirectorManage>
children: [ children: [
Text( Text(
'上传凭证', '上传凭证',
style: TextStyle( style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
fontSize: 28.sp, color: Color(0xff333333)),
), ),
SizedBox(height: 25.w), SizedBox(height: 25.w),
Row( Row(

@ -1,6 +1,5 @@
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:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/widget/bottom_button.dart'; import 'package:akuCommunity/widget/bottom_button.dart';
@ -81,8 +80,7 @@ class _OwnerManageState extends State<OwnerManage>
top: 23.w, top: 23.w,
bottom: 24.w, bottom: 24.w,
), ),
margin: EdgeInsets.only( margin: EdgeInsets.only(bottom: (index == 2 ? 117 : 0).w),
bottom:(index == 2 ? 117 : 0).w),
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border( border: Border(
bottom: bottom:
@ -107,6 +105,7 @@ class _OwnerManageState extends State<OwnerManage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return Container( return Container(
color: Colors.white, color: Colors.white,
child: Stack( child: Stack(

@ -1,11 +1,8 @@
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:pull_to_refresh/pull_to_refresh.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.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/routers/page_routers.dart';
import 'widget/goods_app_bar.dart'; import 'widget/goods_app_bar.dart';
import 'widget/goods_comments_card.dart'; import 'widget/goods_comments_card.dart';

@ -9,8 +9,7 @@ import 'package:fluwx/fluwx.dart';
class GoodsAppBar extends StatefulWidget { class GoodsAppBar extends StatefulWidget {
final String shareImg; final String shareImg;
final String title; final String title;
GoodsAppBar({Key key, @required this.shareImg, @required this.title}) GoodsAppBar({Key key, this.shareImg, this.title}) : super(key: key);
: super(key: key);
@override @override
_GoodsAppBarState createState() => _GoodsAppBarState(); _GoodsAppBarState createState() => _GoodsAppBarState();

@ -109,7 +109,7 @@ class _GoodsCommentsCardState extends State<GoodsCommentsCard> {
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Text( Text(
'浏览${viewNum}', '浏览$viewNum',
style: TextStyle( style: TextStyle(
fontSize: BaseStyle.fontSize22, fontSize: BaseStyle.fontSize22,
color: BaseStyle.color999999, color: BaseStyle.color999999,

@ -18,7 +18,7 @@ class ProductContent extends StatelessWidget {
return Row( return Row(
children: [ children: [
Text( Text(
'${price}', '$price',
style: TextStyle( style: TextStyle(
fontSize: ScreenUtil().setSp(42), fontSize: ScreenUtil().setSp(42),
color: Color(0xff333333), color: Color(0xff333333),

@ -1,3 +0,0 @@
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

@ -7,7 +7,7 @@ import 'package:akuCommunity/utils/fade_route.dart';
import 'package:akuCommunity/widget/gallery_photo_view_wrapper.dart'; import 'package:akuCommunity/widget/gallery_photo_view_wrapper.dart';
class ProductSwiper extends StatelessWidget { class ProductSwiper extends StatelessWidget {
List<String> imageUrl; final List<String> imageUrl;
ProductSwiper({Key key, this.imageUrl}) : super(key: key); ProductSwiper({Key key, this.imageUrl}) : super(key: key);
final Random _random = new Random(); final Random _random = new Random();

@ -1,6 +1,5 @@
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:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.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';

@ -1,7 +1,6 @@
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.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: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/bottom_button.dart'; import 'package:akuCommunity/widget/bottom_button.dart';
@ -57,10 +56,6 @@ class _GoodsDetoPageState extends State<GoodsDetoPage> {
} }
]; ];
List<Map<String, dynamic>> _listButton = [
{'title': '查看二维码', 'icon': MaterialCommunityIcons.qrcode},
{'title': '搬家公司', 'icon': SimpleLineIcons.phone}
];
RefreshController _refreshController = RefreshController _refreshController =
RefreshController(initialRefresh: false); RefreshController(initialRefresh: false);

@ -8,7 +8,7 @@ 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);
List<Map<String, dynamic>> _listButton = [ final List<Map<String, dynamic>> _listButton = [
{'title': '查看二维码', 'icon': MaterialCommunityIcons.qrcode}, {'title': '查看二维码', 'icon': MaterialCommunityIcons.qrcode},
{'title': '搬家公司', 'icon': SimpleLineIcons.phone} {'title': '搬家公司', 'icon': SimpleLineIcons.phone}
]; ];
@ -55,7 +55,7 @@ class GoodsInfoCardButton extends StatelessWidget {
), ),
), ),
onPressed: () { onPressed: () {
_phoneCall('tel:${url}'); _phoneCall('tel:$url');
Navigator.pop(context); Navigator.pop(context);
}, },
), ),

@ -1,5 +1,4 @@
import 'dart:async'; import 'dart:async';
import 'dart:io' show Platform;
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
@ -8,7 +7,6 @@ import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/bottom_button.dart'; import 'package:akuCommunity/widget/bottom_button.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'; import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/routers/page_routers.dart';
class GoodsManagePage extends StatefulWidget { class GoodsManagePage extends StatefulWidget {
GoodsManagePage({Key key}) : super(key: key); GoodsManagePage({Key key}) : super(key: key);
@ -93,7 +91,7 @@ class _GoodsManagePageState extends State<GoodsManagePage> {
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
Text( Text(
'物品名称:${title}', '物品名称:$title',
style: TextStyle( style: TextStyle(
fontSize: 28.sp, fontSize: 28.sp,
color: Color(0xff4a4b51), color: Color(0xff4a4b51),
@ -101,7 +99,7 @@ class _GoodsManagePageState extends State<GoodsManagePage> {
), ),
SizedBox(height: 20.w), SizedBox(height: 20.w),
Text( Text(
'数量剩余:${goodsNum}', '数量剩余:$goodsNum',
style: TextStyle( style: TextStyle(
fontSize: 24.sp, fontSize: 24.sp,
color: Color(0xff999999), color: Color(0xff999999),
@ -155,7 +153,7 @@ class _GoodsManagePageState extends State<GoodsManagePage> {
final _cancelController = TextEditingController(text: "关闭"); final _cancelController = TextEditingController(text: "关闭");
var _aspectTolerance = 0.00; var _aspectTolerance = 0.00;
var _numberOfCameras = 0; var numberOfCameras = 0;
var _selectedCamera = -1; var _selectedCamera = -1;
var _useAutoFocus = true; var _useAutoFocus = true;
var _autoEnableFlash = false; var _autoEnableFlash = false;
@ -169,7 +167,7 @@ class _GoodsManagePageState extends State<GoodsManagePage> {
super.initState(); super.initState();
Future.delayed(Duration.zero, () async { Future.delayed(Duration.zero, () async {
_numberOfCameras = await BarcodeScanner.numberOfCameras; numberOfCameras = await BarcodeScanner.numberOfCameras;
setState(() {}); setState(() {});
}); });
} }

@ -131,7 +131,7 @@ class _MineGoodsPageState extends State<MineGoodsPage> {
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
Text( Text(
'物品名称:${title}', '物品名称:$title',
style: TextStyle( style: TextStyle(
fontSize: 28.sp, fontSize: 28.sp,
color: Color(0xff4a4b51), color: Color(0xff4a4b51),
@ -140,7 +140,7 @@ class _MineGoodsPageState extends State<MineGoodsPage> {
Container( Container(
margin: EdgeInsets.only(top: 16.w), margin: EdgeInsets.only(top: 16.w),
child: Text( child: Text(
'借还数量:${goodsNum}', '借还数量:$goodsNum',
style: TextStyle( style: TextStyle(
fontSize: 24.sp, fontSize: 24.sp,
color: Color(0xff333333), color: Color(0xff333333),
@ -150,7 +150,7 @@ class _MineGoodsPageState extends State<MineGoodsPage> {
Container( Container(
margin: EdgeInsets.only(top: 16.w), margin: EdgeInsets.only(top: 16.w),
child: Text( child: Text(
'借用时间: ${borrowTime}', '借用时间: $borrowTime',
style: TextStyle( style: TextStyle(
fontSize: 24.sp, fontSize: 24.sp,
color: Color(0xff999999), color: Color(0xff999999),
@ -160,7 +160,7 @@ class _MineGoodsPageState extends State<MineGoodsPage> {
Container( Container(
margin: EdgeInsets.only(top: 16.w), margin: EdgeInsets.only(top: 16.w),
child: Text( child: Text(
'借用时长: ${timeLength}', '借用时长: $timeLength',
style: TextStyle( style: TextStyle(
fontSize: 24.sp, fontSize: 24.sp,
color: Color(0xff999999), color: Color(0xff999999),
@ -173,7 +173,7 @@ class _MineGoodsPageState extends State<MineGoodsPage> {
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Text( Text(
'借用状态: ${status}', '借用状态: $status',
style: TextStyle( style: TextStyle(
fontSize: 24.sp, fontSize: 24.sp,
color: Color(0xff999999), color: Color(0xff999999),
@ -189,7 +189,7 @@ class _MineGoodsPageState extends State<MineGoodsPage> {
? Container( ? Container(
margin: EdgeInsets.only(bottom: 9.w), margin: EdgeInsets.only(bottom: 9.w),
child: Text( child: Text(
'温馨提示:您的物品已借用${timeLength}天,如果用完,请及时归还', '温馨提示:您的物品已借用$timeLength天,如果用完,请及时归还',
style: TextStyle( style: TextStyle(
fontSize: 22.sp, fontSize: 22.sp,
color: Color(0xff999999), color: Color(0xff999999),

@ -1,6 +1,5 @@
import 'dart:async'; import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'dart:io';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
@ -16,7 +15,6 @@ import 'package:akuCommunity/widget/container_comment.dart';
import 'package:akuCommunity/widget/single_ad_space.dart'; import 'package:akuCommunity/widget/single_ad_space.dart';
import 'package:akuCommunity/widget/grid_button.dart'; import 'package:akuCommunity/widget/grid_button.dart';
import 'package:akuCommunity/widget/sliver_goods_card.dart'; import 'package:akuCommunity/widget/sliver_goods_card.dart';
import 'package:akuCommunity/service/net_util.dart';
import 'package:akuCommunity/service/base_model.dart'; import 'package:akuCommunity/service/base_model.dart';
import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/model/aku_shop_model.dart';
import 'package:akuCommunity/widget/goods_card_skeleton.dart'; import 'package:akuCommunity/widget/goods_card_skeleton.dart';
@ -77,6 +75,7 @@ class _HomePageState extends State<HomePage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
ScreenUtil.init(context, ScreenUtil.init(context,
designSize: Size(750, 1334), allowFontScaling: true); designSize: Size(750, 1334), allowFontScaling: true);
return Scaffold( return Scaffold(

@ -5,7 +5,6 @@ import 'package:image_stack/image_stack.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
import 'package:akuCommunity/routers/page_routers.dart'; import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/model/aku_shop_model.dart';
class HomeCard extends StatefulWidget { class HomeCard extends StatefulWidget {
final String title; final String title;
@ -33,43 +32,6 @@ class _HomeCardState extends State<HomeCard> {
"https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3604827221,1047385274&fm=26&gp=0.jpg", "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3604827221,1047385274&fm=26&gp=0.jpg",
]; ];
Widget _countDown() {
return Container(
width: 638.w,
color: Color(0xff333333).withOpacity(0.8),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Container(
padding: EdgeInsets.only(
left: 24.w,
top: 11.w,
bottom: 12.w,
),
child: Text(
'剩余时间:09天13时46分',
style: TextStyle(
fontWeight: FontWeight.w600,
color: Color(0xffffffff),
fontSize: 24.sp),
),
),
Container(
padding: EdgeInsets.only(
right: 24.w,
top: 7.w,
bottom: 7.w,
),
child: Text(
'¥99.9',
style: TextStyle(
color: Color(0xffff8200), fontSize: 36.sp),
),
),
],
),
);
}
Widget _button(String buttonName) { Widget _button(String buttonName) {
return InkWell( return InkWell(

@ -1,34 +0,0 @@
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
class MyPainter extends CustomPainter {
@override
paint(Canvas canvas, Size size) {
Color shadowColor = Colors.pink;
var shadowWidth = 20.0;
final Offset offsetCenter = Offset(10.0, 10.0);
var outerRadius = 100.0; //
var strokeWidth = 20.0; //
final ringPaint = Paint()
..style = PaintingStyle.stroke
..color = shadowColor
..strokeWidth = (strokeWidth);
final ringPaint1 = Paint()
..style = PaintingStyle.stroke
..color = Colors.green
..strokeWidth = (strokeWidth);
canvas.drawArc(Rect.fromCircle(center: offsetCenter, radius: 30), 10, math.pi/2,
false, ringPaint);
canvas.drawArc(Rect.fromCircle(center: offsetCenter, radius: 30), 10+math.pi/2, math.pi/2,
false, ringPaint1);
}
@override
bool shouldRepaint(CustomPainter oldDelegate) {
return true;
}
}

@ -1,6 +1,5 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/common_app_bar.dart'; import 'package:akuCommunity/widget/common_app_bar.dart';

@ -133,17 +133,17 @@ class _StaffListState extends State<StaffList> {
), ),
SizedBox(width: 10.w), SizedBox(width: 10.w),
Text( Text(
'住址:${address}', '住址:$address',
style: _subStyle(), style: _subStyle(),
), ),
SizedBox(width: 10.w), SizedBox(width: 10.w),
Text( Text(
'任职期限:${tenure}', '任职期限:$tenure',
style: _subStyle(), style: _subStyle(),
), ),
SizedBox(width: 10.w), SizedBox(width: 10.w),
Text( Text(
'从事岗位:${post}', '从事岗位:$post',
style: _subStyle(), style: _subStyle(),
), ),
], ],

@ -246,7 +246,6 @@ class _InvoicePageState extends State<InvoicePage> {
_containerHeader(), _containerHeader(),
Form( Form(
key: _formKey, key: _formKey,
autovalidate: true,
child: Column( child: Column(
children: [InvoiceInput(isEnterprise: isEnterprise)], children: [InvoiceInput(isEnterprise: isEnterprise)],
), ),

@ -1,7 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:flutter/services.dart';
class InvoiceInput extends StatefulWidget { class InvoiceInput extends StatefulWidget {
final bool isEnterprise; final bool isEnterprise;
@ -15,7 +14,6 @@ class _InvoiceInputState extends State<InvoiceInput> {
TextEditingController _userName = new TextEditingController(); TextEditingController _userName = new TextEditingController();
TextEditingController _userPhone = new TextEditingController(); TextEditingController _userPhone = new TextEditingController();
TextEditingController _userAddress = new TextEditingController(); TextEditingController _userAddress = new TextEditingController();
TextEditingController _userAddressDetail = new TextEditingController();
@override @override
void initState() { void initState() {

@ -2,12 +2,11 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:flutter_icons/flutter_icons.dart';
class BillCard extends StatelessWidget { class BillCard extends StatelessWidget {
BillCard({Key key}) : super(key: key); BillCard({Key key}) : super(key: key);
List<Map<String, dynamic>> _listBill = [ final List<Map<String, dynamic>> _listBill = [
{'title': '账单月份', 'value': '2020年1月'}, {'title': '账单月份', 'value': '2020年1月'},
{'title': '账单金额', 'value': '¥19.40'}, {'title': '账单金额', 'value': '¥19.40'},
{'title': '已缴金额', 'value': '¥0.00'}, {'title': '已缴金额', 'value': '¥0.00'},

@ -8,7 +8,7 @@ class RecordCard extends StatelessWidget {
final Function fun; final Function fun;
RecordCard({Key key, this.fun}) : super(key: key); RecordCard({Key key, this.fun}) : super(key: key);
List<Map<String, dynamic>> _listBill = [ final List<Map<String, dynamic>> _listBill = [
{ {
'title': '物业管理费', 'title': '物业管理费',
'value': '深蓝公寓 1幢1单元306', 'value': '深蓝公寓 1幢1单元306',

@ -79,7 +79,7 @@ class _MarketCartPageState extends State<MarketCartPage> {
Container( Container(
margin: EdgeInsets.only(top: 40.w), margin: EdgeInsets.only(top: 40.w),
child: Text( child: Text(
'${price}', '$price',
style: TextStyle( style: TextStyle(
fontSize: 28.sp, fontSize: 28.sp,
color: Color(0xffe60e0e), color: Color(0xffe60e0e),
@ -210,11 +210,6 @@ class _MarketCartPageState extends State<MarketCartPage> {
List<AkuShopModel> _cartList; List<AkuShopModel> _cartList;
Future<String> _getCartInfo(BuildContext context) async {
await Provider.of<CartProvidde>(context, listen: true).getCartInfo();
return 'end';
}
Widget _selectAll( Widget _selectAll(
CartProvidde model, CartProvidde model,
) { ) {
@ -290,7 +285,7 @@ class _MarketCartPageState extends State<MarketCartPage> {
margin: EdgeInsets.symmetric(vertical: 16.w), margin: EdgeInsets.symmetric(vertical: 16.w),
padding: EdgeInsets.symmetric(vertical: 12.w), padding: EdgeInsets.symmetric(vertical: 12.w),
child: Text( child: Text(
'结算(${_goodsCount})', '结算($_goodsCount)',
style: TextStyle( style: TextStyle(
fontSize: 30.sp, fontSize: 30.sp,
color: color:

@ -1,7 +1,3 @@
import 'package:akuCommunity/pages/confirm_order_page/confirm_order_page.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:ani_route/ani_route.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';

@ -1,11 +1,9 @@
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_slidable/flutter_slidable.dart'; import 'package:flutter_slidable/flutter_slidable.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
import 'package:akuCommunity/widget/cart_count.dart'; import 'package:akuCommunity/widget/cart_count.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/goods_specs_sheet.dart';
import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/model/aku_shop_model.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:akuCommunity/provider/cart.dart'; import 'package:akuCommunity/provider/cart.dart';
@ -14,22 +12,6 @@ class MarketCartCard extends StatelessWidget {
final AkuShopModel cartItem; final AkuShopModel cartItem;
MarketCartCard({Key key, this.cartItem}) : super(key: key); MarketCartCard({Key key, this.cartItem}) : super(key: key);
void _showGoodsSpecsSheet() {
// showModalBottomSheet(
// isScrollControlled: true,
// context: context,
// backgroundColor: Colors.white,
// builder: (context) {
// return GoodsSpecsSheet(
// goodsNum: widget.goodsNum,
// index: widget.index,
// reduce: widget.reduce,
// add: widget.add,
// );
// },
// );
}
Widget _cardRadio( Widget _cardRadio(
BuildContext context, AkuShopModel cartItem, CartProvidde model) { BuildContext context, AkuShopModel cartItem, CartProvidde model) {
return InkWell( return InkWell(
@ -121,7 +103,7 @@ class MarketCartCard extends StatelessWidget {
Container( Container(
margin: EdgeInsets.only(top: 40.w), margin: EdgeInsets.only(top: 40.w),
child: Text( child: Text(
'${price}', '$price',
style: TextStyle( style: TextStyle(
fontSize: 28.sp, fontSize: 28.sp,
color: Color(0xffe60e0e), color: Color(0xffe60e0e),

@ -41,6 +41,7 @@ class _MarketDetailPageState extends State<MarketDetailPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return Scaffold( return Scaffold(
appBar: PreferredSize( appBar: PreferredSize(
preferredSize: Size.fromHeight(kToolbarHeight), //319 preferredSize: Size.fromHeight(kToolbarHeight), //319

@ -2,7 +2,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:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/widget/container_comment.dart'; import 'package:akuCommunity/widget/container_comment.dart';
import 'package:akuCommunity/widget/app_bar_action.dart'; import 'package:akuCommunity/widget/app_bar_action.dart';
@ -66,7 +65,8 @@ class _MarketPageState extends State<MarketPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
double _appBarHeight = ScreenUtil().setHeight(506); // double _appBarHeight = ScreenUtil().setHeight(506);
super.build(context);
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
elevation: 0, elevation: 0,

@ -1,13 +1,11 @@
import 'dart:async'; import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'dart:io';
import 'package:flutter/material.dart'; 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/widget/sliver_goods_card.dart'; import 'package:akuCommunity/widget/sliver_goods_card.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/goods_card_skeleton.dart'; import 'package:akuCommunity/widget/goods_card_skeleton.dart';
import 'package:akuCommunity/service/net_util.dart';
import 'package:akuCommunity/service/base_model.dart'; import 'package:akuCommunity/service/base_model.dart';
import 'package:akuCommunity/model/aku_shop_model.dart'; import 'package:akuCommunity/model/aku_shop_model.dart';
import 'sliver_goods_group_card.dart'; import 'sliver_goods_group_card.dart';
@ -27,7 +25,6 @@ class _MarketListState extends State<MarketList>
bool get wantKeepAlive => true; bool get wantKeepAlive => true;
RefreshController _refreshController = RefreshController _refreshController =
RefreshController(initialRefresh: false); RefreshController(initialRefresh: false);
ScrollController _controller;
List<AkuShopModel> _shopList = []; List<AkuShopModel> _shopList = [];
@ -206,6 +203,7 @@ class _MarketListState extends State<MarketList>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return RefreshConfiguration( return RefreshConfiguration(
hideFooterWhenNotFull: true, hideFooterWhenNotFull: true,
child: SmartRefresher( child: SmartRefresher(

@ -1,4 +1,3 @@
import 'dart:math';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';

@ -78,7 +78,7 @@ class _SliverGoodsGroupCardState extends State<SliverGoodsGroupCard> {
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
Text( Text(
'¥${price}', '¥$price',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: 24.sp, fontSize: 24.sp,
@ -151,7 +151,7 @@ class _SliverGoodsGroupCardState extends State<SliverGoodsGroupCard> {
color: isOverTime ? Color(0xff333333) : Color(0xffff7f00), color: isOverTime ? Color(0xff333333) : Color(0xffff7f00),
), ),
Text( Text(
'剩余时间:${remainingTime}', '剩余时间:$remainingTime',
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
@ -172,14 +172,14 @@ class _SliverGoodsGroupCardState extends State<SliverGoodsGroupCard> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text( Text(
'原产地:${address}', '原产地:$address',
style: TextStyle( style: TextStyle(
color: Color(0xff999999), color: Color(0xff999999),
fontSize: 20.sp), fontSize: 20.sp),
), ),
SizedBox(height: 10.w), SizedBox(height: 10.w),
Text( Text(
'预计到货:${arrivalTime}', '预计到货:$arrivalTime',
style: TextStyle( style: TextStyle(
color: Color(0xff999999), color: Color(0xff999999),
fontSize: 20.sp), fontSize: 20.sp),

@ -6,8 +6,6 @@ import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:loading_animations/loading_animations.dart'; import 'package:loading_animations/loading_animations.dart';
import 'package:akuCommunity/widget/cached_image_wrapper.dart'; import 'package:akuCommunity/widget/cached_image_wrapper.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/service/net_util.dart';
import 'package:akuCommunity/model/aku_shop_class_model.dart'; import 'package:akuCommunity/model/aku_shop_class_model.dart';
import 'package:akuCommunity/service/base_model.dart'; import 'package:akuCommunity/service/base_model.dart';
import 'widget/market_class_bar.dart'; import 'widget/market_class_bar.dart';
@ -40,10 +38,6 @@ class _MarketClassPageState extends State<MarketClassPage> {
'运动旅游', '运动旅游',
'滋补保健', '滋补保健',
]; ];
List<Map<String, dynamic>> _rightContent = [
{'title': '新品推荐', 'imagePath': ''},
{'title': '新品推荐', 'imagePath': ''}
];
ScrollController _controller = ScrollController(); ScrollController _controller = ScrollController();

@ -3,7 +3,6 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/search_bar_delegate.dart'; import 'package:akuCommunity/widget/search_bar_delegate.dart';
import 'package:akuCommunity/routers/page_routers.dart';
class MarketClassBar extends StatelessWidget { class MarketClassBar extends StatelessWidget {
Widget _inkWellSearch(BuildContext context) { Widget _inkWellSearch(BuildContext context) {

@ -16,9 +16,6 @@ class ShopMessagePage extends StatefulWidget {
class _ShopMessagePageState extends State<ShopMessagePage> { class _ShopMessagePageState extends State<ShopMessagePage> {
RefreshController _refreshController = RefreshController _refreshController =
RefreshController(initialRefresh: false); RefreshController(initialRefresh: false);
ScrollController _controller;
List<Map<String, dynamic>> _listNotice = [ List<Map<String, dynamic>> _listNotice = [
{ {
'status': '已读', 'status': '已读',

@ -16,9 +16,6 @@ class SystemMessagePage extends StatefulWidget {
class _SystemMessagePageState extends State<SystemMessagePage> { class _SystemMessagePageState extends State<SystemMessagePage> {
RefreshController _refreshController = RefreshController _refreshController =
RefreshController(initialRefresh: false); RefreshController(initialRefresh: false);
ScrollController _controller;
List<Map<String, dynamic>> _listNotice = [ List<Map<String, dynamic>> _listNotice = [
{'status': '已读', 'type': '业主信息审核:未通过', 'content': '您的信息有错误,请您重新填写'}, {'status': '已读', 'type': '业主信息审核:未通过', 'content': '您的信息有错误,请您重新填写'},
{ {
@ -141,7 +138,7 @@ class _SystemMessagePageState extends State<SystemMessagePage> {
), ),
SizedBox(height: 8.w), SizedBox(height: 8.w),
Text( Text(
'驳回理由:${content}', '驳回理由:$content',
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(

@ -18,9 +18,6 @@ class _MineCarPageState extends State<MineCarPage> {
{'title': '深圳华茂悦峰', 'subtitle': '1幢-1单元-702室'}, {'title': '深圳华茂悦峰', 'subtitle': '1幢-1单元-702室'},
]; ];
List<Map<String, dynamic>> _listCart = [
{'title': '浙BZ3183', 'isDelete': true},
];
Widget _containerHouseCard(String title, subtitle) { Widget _containerHouseCard(String title, subtitle) {
return Container( return Container(
@ -141,7 +138,7 @@ class _MineCarPageState extends State<MineCarPage> {
), ),
SizedBox(height: 8.w), SizedBox(height: 8.w),
Text( Text(
'尊敬的业主/租客,您还没有添加您的${tag}', '尊敬的业主/租客,您还没有添加您的$tag',
style: TextStyle( style: TextStyle(
fontSize: 24.sp, fontSize: 24.sp,
color: Color(0xff999999), color: Color(0xff999999),
@ -154,79 +151,6 @@ class _MineCarPageState extends State<MineCarPage> {
); );
} }
Widget _containerInfoCard(String title, bool isDelete) {
return Container(
margin: EdgeInsets.only(
left: 32.w,
top: 26.w,
right: 32.w,
),
child: Container(
padding: EdgeInsets.only(
left: 40.w,
right: 26.w,
top: 26.w,
bottom: 25.w,
),
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(4)),
border: Border.all(color: Color(0xffeeeeee), width: 0.5),
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
title,
style: TextStyle(
fontWeight: FontWeight.w600,
fontSize: 32.sp,
color: Color(0xff333333),
),
),
isDelete
? InkWell(
child: Text(
'移除',
style: TextStyle(
fontSize: 28.sp,
color: Color(0xff999999),
),
),
)
: SizedBox(),
],
),
),
);
}
Widget _positionedBottomBar(String buttonName) {
return Positioned(
bottom: 0,
child: InkWell(
onTap: () {},
child: Container(
padding: EdgeInsets.only(
top: 23.w,
bottom: 22.w,
),
color: Color(0xffffd000),
alignment: Alignment.center,
height: 85.w,
width: MediaQuery.of(context).size.width,
child: Text(
buttonName,
style: TextStyle(
fontWeight: FontWeight.w600,
fontSize: 28.sp,
color: Color(0xff333333),
),
),
),
),
);
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(

@ -7,7 +7,6 @@ import 'package:latlong/latlong.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:cached_network_image/cached_network_image.dart'; import 'package:cached_network_image/cached_network_image.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/base/assets_image.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';
@ -19,7 +18,6 @@ class LookLogisticsPage extends StatefulWidget {
} }
class _LookLogisticsPageState extends State<LookLogisticsPage> { class _LookLogisticsPageState extends State<LookLogisticsPage> {
final double _initFabHeight = 120.0;
double _panelHeightOpen; double _panelHeightOpen;
double _panelHeightClosed = 95.0; double _panelHeightClosed = 95.0;
@override @override

@ -224,7 +224,7 @@ class _OrderDetailsPageState extends State<OrderDetailsPage> {
Container( Container(
margin: EdgeInsets.only(right: 25.w), margin: EdgeInsets.only(right: 25.w),
child: Text( child: Text(
'实付款¥${payPrice}', '实付款¥$payPrice',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,
@ -244,7 +244,7 @@ class _OrderDetailsPageState extends State<OrderDetailsPage> {
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
Text( Text(
'${price}', '$price',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,
@ -252,7 +252,7 @@ class _OrderDetailsPageState extends State<OrderDetailsPage> {
), ),
), ),
Text( Text(
'x${shopNum}', 'x$shopNum',
style: TextStyle( style: TextStyle(
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,
color: BaseStyle.color999999, color: BaseStyle.color999999,

@ -27,15 +27,13 @@ class _PersonalIndexState extends State<PersonalIndex>
@override @override
bool get wantKeepAlive => true; bool get wantKeepAlive => true;
bool _isSigned=false;
@override @override
void initState() { void initState() {
super.initState(); super.initState();
_isSigned=widget.isSign;
} }
SliverAppBar _sliverAppBar(double height) { SliverAppBar _sliverAppBar(double height) {
final userProvider=Provider.of<UserProvider>(context); final userProvider = Provider.of<UserProvider>(context);
return SliverAppBar( return SliverAppBar(
pinned: true, pinned: true,
elevation: 0, elevation: 0,
@ -62,9 +60,7 @@ class _PersonalIndexState extends State<PersonalIndex>
children: [ children: [
Spacer(), Spacer(),
Container( Container(
margin: EdgeInsets.only( margin: EdgeInsets.only(top: 175.w, left: 32.w),
top: 175.w,
left: 32.w),
child: Row( child: Row(
children: [ children: [
Container( Container(
@ -79,12 +75,12 @@ class _PersonalIndexState extends State<PersonalIndex>
), ),
), ),
InkWell( InkWell(
onTap: (){ onTap: () {
userProvider.isSigned? null:ARoute.push(context, SignInPage()); if (!userProvider.isSigned)
ARoute.push(context, SignInPage());
}, },
child: Container( child: Container(
margin: EdgeInsets.only( margin: EdgeInsets.only(left: 16.w),
left: 16.w),
child: userProvider.isSigned child: userProvider.isSigned
? Text( ? Text(
'Cheailune', 'Cheailune',
@ -175,6 +171,7 @@ class _PersonalIndexState extends State<PersonalIndex>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
double _statusHeight = MediaQuery.of(context).padding.top; double _statusHeight = MediaQuery.of(context).padding.top;
return Scaffold( return Scaffold(
body: CustomScrollView( body: CustomScrollView(
@ -196,10 +193,7 @@ class _PersonalIndexState extends State<PersonalIndex>
), ),
SliverToBoxAdapter( SliverToBoxAdapter(
child: Container( child: Container(
margin: EdgeInsets.only( margin: EdgeInsets.only(top: 32.w, left: 32.w, right: 32.w),
top: 32.w,
left: 32.w,
right: 32.w),
child: Divider( child: Divider(
color: Color(0xffd8d8d8), color: Color(0xffd8d8d8),
), ),

@ -81,7 +81,7 @@ class _RefundApplyPageState extends State<RefundApplyPage> {
), ),
), ),
Text( Text(
'${payPrice}', '$payPrice',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: BaseStyle.fontSize32, fontSize: BaseStyle.fontSize32,

@ -94,7 +94,7 @@ class _OrderCardState extends State<OrderCard> {
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
Text( Text(
'${price}', '$price',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,
@ -102,7 +102,7 @@ class _OrderCardState extends State<OrderCard> {
), ),
), ),
Text( Text(
'x${shopNum}', 'x$shopNum',
style: TextStyle( style: TextStyle(
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,
color: BaseStyle.color999999, color: BaseStyle.color999999,
@ -139,7 +139,7 @@ class _OrderCardState extends State<OrderCard> {
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,
children: [ children: [
Text( Text(
'总价¥${totalPrice}', '总价¥$totalPrice',
style: TextStyle( style: TextStyle(
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,
color: BaseStyle.color999999, color: BaseStyle.color999999,
@ -147,7 +147,7 @@ class _OrderCardState extends State<OrderCard> {
), ),
SizedBox(width: 16.w), SizedBox(width: 16.w),
Text( Text(
'实付款¥${payPrice}', '实付款¥$payPrice',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: BaseStyle.fontSize28, fontSize: BaseStyle.fontSize28,

@ -159,6 +159,7 @@ class _OrderListState extends State<OrderList>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return RefreshConfiguration( return RefreshConfiguration(
hideFooterWhenNotFull: true, hideFooterWhenNotFull: true,
child: SmartRefresher( child: SmartRefresher(

@ -61,8 +61,6 @@ class _PropertyIndexState extends State<PropertyIndex>
}, },
]; ];
RefreshController _refreshController = RefreshController _refreshController =
RefreshController(initialRefresh: false); RefreshController(initialRefresh: false);
ScrollController _controller; ScrollController _controller;
@ -118,6 +116,7 @@ class _PropertyIndexState extends State<PropertyIndex>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
centerTitle: true, centerTitle: true,

@ -8,13 +8,13 @@ class PropertyActivityCard extends StatelessWidget {
final Function fun; final Function fun;
PropertyActivityCard({Key key, this.fun}) : super(key: key); PropertyActivityCard({Key key, this.fun}) : super(key: key);
List<String> images = [ final List<String> images = [
"https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=1151143562,4115642159&fm=26&gp=0.jpg", "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=1151143562,4115642159&fm=26&gp=0.jpg",
"https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2551412680,857245643&fm=26&gp=0.jpg", "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2551412680,857245643&fm=26&gp=0.jpg",
"https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3604827221,1047385274&fm=26&gp=0.jpg", "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3604827221,1047385274&fm=26&gp=0.jpg",
]; ];
List<Map<String, dynamic>> _listView = [ final List<Map<String, dynamic>> _listView = [
{ {
'imagePath': 'imagePath':
'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3786472598,2225627644&fm=26&gp=0.jpg', 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3786472598,2225627644&fm=26&gp=0.jpg',
@ -140,7 +140,7 @@ class PropertyActivityCard extends StatelessWidget {
), ),
SizedBox(width: 26.w), SizedBox(width: 26.w),
Text( Text(
'${peopleNum}人已参加', '$peopleNum人已参加',
style: _textStyleSubtitle(), style: _textStyleSubtitle(),
), ),
], ],

@ -7,7 +7,7 @@ import 'package:akuCommunity/utils/screenutil.dart';
class PropertyCard extends StatelessWidget { class PropertyCard extends StatelessWidget {
PropertyCard({Key key}) : super(key: key); PropertyCard({Key key}) : super(key: key);
List<Map<String, dynamic>> _listCard = [ final List<Map<String, dynamic>> _listCard = [
{ {
'title': '语音管家', 'title': '语音管家',
'subtitle': '随时随地帮你下单', 'subtitle': '随时随地帮你下单',
@ -67,7 +67,7 @@ class PropertyCard extends StatelessWidget {
), ),
), ),
onPressed: () { onPressed: () {
_phoneCall('tel:${url}'); _phoneCall('tel:$url');
Navigator.pop(context); Navigator.pop(context);
}, },
), ),

@ -98,7 +98,6 @@ class _ScanPageState extends State<ScanPage> {
ListTile( ListTile(
title: TextField( title: TextField(
decoration: InputDecoration( decoration: InputDecoration(
hasFloatingPlaceholder: true,
labelText: "Flash On", labelText: "Flash On",
), ),
controller: _flashOnController, controller: _flashOnController,
@ -107,7 +106,6 @@ class _ScanPageState extends State<ScanPage> {
ListTile( ListTile(
title: TextField( title: TextField(
decoration: InputDecoration( decoration: InputDecoration(
hasFloatingPlaceholder: true,
labelText: "Flash Off", labelText: "Flash Off",
), ),
controller: _flashOffController, controller: _flashOffController,
@ -116,7 +114,6 @@ class _ScanPageState extends State<ScanPage> {
ListTile( ListTile(
title: TextField( title: TextField(
decoration: InputDecoration( decoration: InputDecoration(
hasFloatingPlaceholder: true,
labelText: "Cancel", labelText: "Cancel",
), ),
controller: _cancelController, controller: _cancelController,
@ -186,7 +183,9 @@ class _ScanPageState extends State<ScanPage> {
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap, materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
value: selectedFormats.length == _possibleFormats.length value: selectedFormats.length == _possibleFormats.length
? true ? true
: selectedFormats.length == 0 ? false : null, : selectedFormats.length == 0
? false
: null,
onChanged: (checked) { onChanged: (checked) {
setState(() { setState(() {
selectedFormats = [ selectedFormats = [

@ -4,7 +4,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/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/base/assets_image.dart';
import 'package:akuCommunity/widget/common_app_bar.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:oktoast/oktoast.dart'; import 'package:oktoast/oktoast.dart';
@ -58,21 +57,6 @@ class _FeedBackPageState extends State<FeedBackPage> {
); );
} }
Widget _containerAddImage() {
return Container(
width: 218.w,
height: 218.w,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(8)),
border: Border.all(color: Color(0xffd4cfbe), width: 1.0),
image: DecorationImage(
image: AssetImage(AssetsImage.IMAGEADD), fit: BoxFit.fill),
),
// child: ,
);
}
Widget _inkWellSubmit() { Widget _inkWellSubmit() {
return InkWell( return InkWell(
onTap: () { onTap: () {

@ -102,11 +102,6 @@ class _SettingPageState extends State<SettingPage> {
); );
} }
void _selectAction(String title, subtitle) async {
int index1 = await showPayActionSheets(
context: context, title: title, subtitle: subtitle);
print(index1);
}
/// 使 /// 使
Future<int> showPayActionSheets( Future<int> showPayActionSheets(

@ -5,7 +5,6 @@ import 'package:akuCommunity/pages/setting_page/agreement_page/agreement_page.da
import 'package:akuCommunity/pages/setting_page/agreement_page/privacy_page.dart'; import 'package:akuCommunity/pages/setting_page/agreement_page/privacy_page.dart';
import 'package:akuCommunity/pages/sign/user_authentication_page.dart'; import 'package:akuCommunity/pages/sign/user_authentication_page.dart';
import 'package:ani_route/ani_route.dart'; import 'package:ani_route/ani_route.dart';
import 'package:extended_text/extended_text.dart';
import 'package:flustars/flustars.dart' show TextUtil; import 'package:flustars/flustars.dart' show TextUtil;
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
@ -196,7 +195,6 @@ class _SignInPageState extends State<SignInPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
double _statusHeight = MediaQuery.of(context).padding.top;
return Scaffold( return Scaffold(
backgroundColor: Colors.white, backgroundColor: Colors.white,
appBar: _appBar(), appBar: _appBar(),

@ -9,9 +9,10 @@ import 'property/property_index.dart';
import 'community/community_index.dart'; import 'community/community_index.dart';
import 'personal/personal_page.dart'; import 'personal/personal_page.dart';
class TabNavigator extends StatefulWidget { class TabNavigator extends StatefulWidget {
const TabNavigator({Key key, }) : super(key: key); const TabNavigator({
Key key,
}) : super(key: key);
@override @override
_TabNavigatorState createState() => _TabNavigatorState(); _TabNavigatorState createState() => _TabNavigatorState();
} }
@ -22,26 +23,24 @@ class _TabNavigatorState extends State<TabNavigator> {
DateTime _lastPressed; DateTime _lastPressed;
// //
List<Widget> _pages = <Widget>[ List<Widget> _pages = <Widget>[];
];
@override @override
void initState() { void initState() {
super.initState(); super.initState();
_pages=[ _pages = [
HomePage(),
HomePage(), MarketPage(),
MarketPage(), PropertyIndex(),
PropertyIndex(), CommunityIndex(),
CommunityIndex(), PersonalIndex()
PersonalIndex( ];
)
];
} }
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true); ScreenUtil.init(context,
designSize: Size(750, 1334), allowFontScaling: true);
double iconSize = ScreenUtil().setWidth(44); double iconSize = ScreenUtil().setWidth(44);
// //
List<BottomNavigationBarItem> _bottomNav = <BottomNavigationBarItem>[ List<BottomNavigationBarItem> _bottomNav = <BottomNavigationBarItem>[

@ -1,6 +1,5 @@
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:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.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/widget/common_app_bar.dart';

@ -8,7 +8,7 @@ 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);
List<Map<String, dynamic>> _listButton = [ final List<Map<String, dynamic>> _listButton = [
{'title': '查看二维码', 'icon': MaterialCommunityIcons.qrcode}, {'title': '查看二维码', 'icon': MaterialCommunityIcons.qrcode},
{'title': '搬家公司', 'icon': SimpleLineIcons.phone} {'title': '搬家公司', 'icon': SimpleLineIcons.phone}
]; ];
@ -55,7 +55,7 @@ class GoodsInfoCardButton extends StatelessWidget {
), ),
), ),
onPressed: () { onPressed: () {
_phoneCall('tel:${url}'); _phoneCall('tel:$url');
Navigator.pop(context); Navigator.pop(context);
}, },
), ),

@ -2,7 +2,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/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/routers/page_routers.dart';
class ThingsAppBar extends StatelessWidget { class ThingsAppBar extends StatelessWidget {
final String title, subtitle; final String title, subtitle;

@ -5,9 +5,9 @@ import 'package:akuCommunity/utils/screenutil.dart';
import 'things_card.dart'; import 'things_card.dart';
class ThingsList extends StatefulWidget { class ThingsList extends StatefulWidget {
final List<Map<String, dynamic>> listCard ; final List<Map<String, dynamic>> listCard;
final bool isRepair; final bool isRepair;
ThingsList({Key key,this.listCard,this.isRepair}) : super(key: key); ThingsList({Key key, this.listCard, this.isRepair}) : super(key: key);
@override @override
_ThingsListState createState() => _ThingsListState(); _ThingsListState createState() => _ThingsListState();
@ -34,6 +34,7 @@ class _ThingsListState extends State<ThingsList>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return SmartRefresher( return SmartRefresher(
controller: _refreshController, controller: _refreshController,
header: WaterDropHeader(), header: WaterDropHeader(),

@ -343,6 +343,7 @@ class _TotalApplicationsPageState extends State<TotalApplicationsPage> {
return _myAppGrid(AssetsImage.shopGridList, 3); return _myAppGrid(AssetsImage.shopGridList, 3);
break; break;
default: default:
return SizedBox();
} }
}), }),
], ],

@ -4,7 +4,6 @@ import 'package:flutter_datetime_picker/flutter_datetime_picker.dart';
import 'package:akuCommunity/base/assets_image.dart'; import 'package:akuCommunity/base/assets_image.dart';
import 'package:flutter_icons/flutter_icons.dart'; import 'package:flutter_icons/flutter_icons.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/routers/page_routers.dart';
import 'package:akuCommunity/widget/common_app_bar.dart'; import 'package:akuCommunity/widget/common_app_bar.dart';
import 'package:akuCommunity/widget/common_input.dart'; import 'package:akuCommunity/widget/common_input.dart';
@ -239,7 +238,7 @@ class _VisitorAccessPageState extends State<VisitorAccessPage> {
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Text( Text(
'${dateTime}', '$dateTime',
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
fontSize: 34.sp, fontSize: 34.sp,

@ -1,7 +1,5 @@
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:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/widget/common_app_bar.dart'; import 'package:akuCommunity/widget/common_app_bar.dart';
import 'widget/record_list.dart'; import 'widget/record_list.dart';

@ -30,10 +30,8 @@ class _RecordItemState extends State<RecordItem>
alignment: Alignment.center, alignment: Alignment.center,
decoration: BoxDecoration( decoration: BoxDecoration(
color: Color(0xffffffff), color: Color(0xffffffff),
borderRadius: borderRadius: BorderRadius.all(Radius.circular(36.w)),
BorderRadius.all(Radius.circular(36.w)), border: Border.all(color: Color(0xffffc500), width: 3.w)),
border: Border.all(
color: Color(0xffffc500), width: 3.w)),
padding: EdgeInsets.symmetric( padding: EdgeInsets.symmetric(
vertical: 11.w, vertical: 11.w,
horizontal: 32.w, horizontal: 32.w,
@ -75,6 +73,7 @@ class _RecordItemState extends State<RecordItem>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return InkWell( return InkWell(
onTap: recordPass, onTap: recordPass,
child: Container( child: Container(

@ -29,6 +29,7 @@ class _RecordListState extends State<RecordList>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
super.build(context);
return Container( return Container(
color: Colors.white, color: Colors.white,
child: SmartRefresher( child: SmartRefresher(

@ -178,7 +178,7 @@ class Bundle {
_getValue(String k) { _getValue(String k) {
if (!_map.containsKey(k)) { if (!_map.containsKey(k)) {
throw Exception("你使用的${k}在payload不存在,请检查你的key名字是否正确,或者确定key是否存在payload"); throw Exception("你使用的$k\在payload不存在,请检查你的key名字是否正确,或者确定key是否存在payload");
} }
return _map[k]; return _map[k];
} }

@ -2,7 +2,6 @@ import 'dart:convert';
import 'dart:io'; import 'dart:io';
import 'package:dio/adapter.dart'; import 'package:dio/adapter.dart';
import 'package:dio/dio.dart'; import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'base_model.dart'; import 'base_model.dart';
// import 'net_header.dart'; // import 'net_header.dart';

@ -1,5 +1,3 @@
import 'package:flutter_screenutil/flutter_screenutil.dart';
export 'package:flutter_screenutil/flutter_screenutil.dart'; export 'package:flutter_screenutil/flutter_screenutil.dart';
// class Screenutil { // class Screenutil {

@ -1,5 +1,4 @@
import 'dart:async'; import 'dart:async';
import 'dart:convert';
import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/shared_preferences.dart';
import 'package:synchronized/synchronized.dart'; import 'package:synchronized/synchronized.dart';

@ -3,8 +3,8 @@ import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
class Toast { class Toast {
static Future<ToastFuture> globalToast(String text) { static ToastFuture globalToast(String text) {
showToast( return showToast(
text, text,
duration: Duration(milliseconds: 2000), duration: Duration(milliseconds: 2000),
// position: ToastPosition.top, // position: ToastPosition.top,

@ -1,5 +1,4 @@
import 'dart:async'; import 'dart:async';
import 'dart:io' show Platform;
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
@ -24,7 +23,7 @@ class _AppBarActionState extends State<AppBarAction> {
final _cancelController = TextEditingController(text: "关闭"); final _cancelController = TextEditingController(text: "关闭");
var _aspectTolerance = 0.00; var _aspectTolerance = 0.00;
var _numberOfCameras = 0; var numberOfCameras = 0;
var _selectedCamera = -1; var _selectedCamera = -1;
var _useAutoFocus = true; var _useAutoFocus = true;
var _autoEnableFlash = false; var _autoEnableFlash = false;
@ -38,7 +37,7 @@ class _AppBarActionState extends State<AppBarAction> {
super.initState(); super.initState();
Future.delayed(Duration.zero, () async { Future.delayed(Duration.zero, () async {
_numberOfCameras = await BarcodeScanner.numberOfCameras; numberOfCameras = await BarcodeScanner.numberOfCameras;
setState(() {}); setState(() {});
}); });
} }

@ -1,9 +1,7 @@
import 'dart:io';
import 'dart:math'; import 'dart:math';
import 'package:cached_network_image/cached_network_image.dart'; import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter_luban/flutter_luban.dart';
enum ImageType { enum ImageType {
normal, normal,
@ -17,7 +15,7 @@ class CachedImageWrapper extends StatelessWidget {
final double height; final double height;
final BoxFit fit; final BoxFit fit;
final ImageType imageType; final ImageType imageType;
bool isSigned; final bool isSigned;
CachedImageWrapper( CachedImageWrapper(
{@required this.url, {@required this.url,

@ -1,4 +1,3 @@
import 'dart:typed_data';
import 'dart:async'; import 'dart:async';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
@ -55,8 +54,8 @@ class _CommonImagePickerState extends State<CommonImagePicker> {
// //
for (int i = 0; i < images.length; i++) { for (int i = 0; i < images.length; i++) {
//byteData //byteData
ByteData byteData = await images[i].getByteData(); // ByteData byteData = await images[i].getByteData();
List<int> imageData = byteData.buffer.asUint8List(); // List<int> imageData = byteData.buffer.asUint8List();
//MultipartFile multipartFile = MultipartFile.fromBytes( //MultipartFile multipartFile = MultipartFile.fromBytes(
//imageData, //imageData,

@ -123,7 +123,7 @@ class _CommunityCardState extends State<CommunityCard> {
), ),
), ),
Text( Text(
'${peopleNum}人已参加', '$peopleNum人已参加',
style: TextStyle( style: TextStyle(
fontSize: BaseStyle.fontSize22, fontSize: BaseStyle.fontSize22,
color: BaseStyle.color333333), color: BaseStyle.color333333),

@ -1,4 +1,3 @@
import 'dart:typed_data';
import 'dart:async'; import 'dart:async';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
@ -6,7 +5,6 @@ import 'package:flutter_icons/flutter_icons.dart';
import 'package:multi_image_picker/multi_image_picker.dart'; import 'package:multi_image_picker/multi_image_picker.dart';
import 'package:akuCommunity/utils/screenutil.dart'; import 'package:akuCommunity/utils/screenutil.dart';
import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/base/assets_image.dart';
class SingleImageUp extends StatefulWidget { class SingleImageUp extends StatefulWidget {
final String title, imagePath; final String title, imagePath;
@ -56,8 +54,6 @@ class _SingleImageUpState extends State<SingleImageUp> {
// //
for (int i = 0; i < images.length; i++) { for (int i = 0; i < images.length; i++) {
//byteData //byteData
ByteData byteData = await images[i].getByteData();
List<int> imageData = byteData.buffer.asUint8List();
//MultipartFile multipartFile = MultipartFile.fromBytes( //MultipartFile multipartFile = MultipartFile.fromBytes(
//imageData, //imageData,

@ -14,31 +14,6 @@ class SliverGoodsCard extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
Row _rowTag() {
return Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Expanded(
child: Container(
padding: EdgeInsets.symmetric(
horizontal: 16.w,
vertical: 8.w,
),
color: Color(0xff000000).withOpacity(0.6),
child: Text(
'剩余时间:09天13时46分',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Color(0xffffffff), fontSize: 20.sp),
),
),
),
],
);
}
return SliverGrid( return SliverGrid(
delegate: SliverChildBuilderDelegate( delegate: SliverChildBuilderDelegate(
(BuildContext context, int index) { (BuildContext context, int index) {
@ -137,8 +112,8 @@ class SliverGoodsCard extends StatelessWidget {
), ),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Color(0xffffc40c), color: Color(0xffffc40c),
borderRadius: BorderRadius.all( borderRadius:
Radius.circular(20.w)), BorderRadius.all(Radius.circular(20.w)),
), ),
child: Text( child: Text(
'立即购买', '立即购买',

@ -267,13 +267,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.1" version: "1.0.1"
extended_tabs:
dependency: "direct main"
description:
name: extended_tabs
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.2.3"
extended_text: extended_text:
dependency: "direct main" dependency: "direct main"
description: description:
@ -363,15 +356,6 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.0" version: "0.0.0"
flutter_anywhere_menus:
dependency: "direct main"
description:
path: "."
ref: eb91b16210fdac9907eaab9604c017d436e423ca
resolved-ref: eb91b16210fdac9907eaab9604c017d436e423ca
url: "https://github.com/haysuperman/flutter_anywhere_menus.git"
source: git
version: "0.1.2"
flutter_beautiful_popup: flutter_beautiful_popup:
dependency: "direct main" dependency: "direct main"
description: description:
@ -426,13 +410,6 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.0" version: "0.0.0"
flutter_luban:
dependency: "direct main"
description:
name: flutter_luban
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.1.11"
flutter_map: flutter_map:
dependency: "direct main" dependency: "direct main"
description: description:
@ -475,13 +452,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.5.7" version: "0.5.7"
flutter_spinkit:
dependency: "direct main"
description:
name: flutter_spinkit
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.1.0"
flutter_svg: flutter_svg:
dependency: transitive dependency: transitive
description: description:

@ -28,13 +28,6 @@ dependencies:
# 瀑布流 # 瀑布流
waterfall_flow: 2.0.2 waterfall_flow: 2.0.2
#
extended_tabs: 0.2.3
#
flutter_anywhere_menus:
git:
url: https://github.com/haysuperman/flutter_anywhere_menus.git
ref: eb91b16210fdac9907eaab9604c017d436e423ca
# 权限组件 # 权限组件
permission_handler: ^5.0.1+1 permission_handler: ^5.0.1+1
# 版本信息 # 版本信息
@ -59,8 +52,6 @@ dependencies:
flutter_icons: 1.1.0 flutter_icons: 1.1.0
extended_image: 0.9.0 extended_image: 0.9.0
extended_text: 4.0.0 extended_text: 4.0.0
# loading界面
flutter_spinkit: ^3.1.0
#轮播图 #轮播图
flutter_swiper: ^1.1.6 flutter_swiper: ^1.1.6
#路由 #路由
@ -73,7 +64,6 @@ dependencies:
photo_view: ^0.10.2 photo_view: ^0.10.2
#图片缓存 #图片缓存
cached_network_image: ^2.3.1 cached_network_image: ^2.3.1
flutter_luban: ^0.1.11
#评价 #评价
smooth_star_rating: ^1.1.1 smooth_star_rating: ^1.1.1
#头像层叠 #头像层叠

Loading…
Cancel
Save