|
|
@ -34,172 +34,72 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
// Widget build(BuildContext context) { |
|
|
|
|
|
|
|
// return Stack( |
|
|
|
|
|
|
|
// children: [ |
|
|
|
|
|
|
|
// Positioned( |
|
|
|
|
|
|
|
// child: Container( |
|
|
|
|
|
|
|
// height: 155.h + kToolbarHeight + MediaQuery.of(context).padding.top, |
|
|
|
|
|
|
|
// decoration: BoxDecoration( |
|
|
|
|
|
|
|
// image: DecorationImage( |
|
|
|
|
|
|
|
// fit: BoxFit.fill, |
|
|
|
|
|
|
|
// image: AssetImage("assets/image/welfare_zx.webp"), |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// top: 0, |
|
|
|
|
|
|
|
// left: 0, |
|
|
|
|
|
|
|
// right: 0, |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// Scaffold( |
|
|
|
|
|
|
|
// backgroundColor: Colors.transparent, |
|
|
|
|
|
|
|
// appBar: MyAppBar( |
|
|
|
|
|
|
|
// exit: (){}, |
|
|
|
|
|
|
|
// background: Colors.transparent, |
|
|
|
|
|
|
|
// leadingColor: Colors.white, |
|
|
|
|
|
|
|
// title: "福利中心", |
|
|
|
|
|
|
|
// titleColor: Colors.white, |
|
|
|
|
|
|
|
// titleSize: 17.sp, |
|
|
|
|
|
|
|
// brightness: Brightness.dark, |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// body:SmartRefresher( |
|
|
|
|
|
|
|
// controller: refreshController, |
|
|
|
|
|
|
|
// enablePullDown: true, |
|
|
|
|
|
|
|
// enablePullUp: false, |
|
|
|
|
|
|
|
// header: MyHeader(), |
|
|
|
|
|
|
|
// footer: CustomFooter( |
|
|
|
|
|
|
|
// builder: (context, mode) { |
|
|
|
|
|
|
|
// return MyFooter(mode); |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// onRefresh:(){ |
|
|
|
|
|
|
|
// setState(() { |
|
|
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// physics: BouncingScrollPhysics(), |
|
|
|
|
|
|
|
// scrollController: scrollController, |
|
|
|
|
|
|
|
// child: Container( |
|
|
|
|
|
|
|
// child: SingleChildScrollView( |
|
|
|
|
|
|
|
// physics: BouncingScrollPhysics(), |
|
|
|
|
|
|
|
// child: FutureBuilder( |
|
|
|
|
|
|
|
// // future: querySignInfo(), |
|
|
|
|
|
|
|
// builder: (context, snap) { |
|
|
|
|
|
|
|
// return Column( |
|
|
|
|
|
|
|
// children: [ |
|
|
|
|
|
|
|
// weekCoupons(), |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// inviteFriends(), |
|
|
|
|
|
|
|
// |
|
|
|
|
|
|
|
// activityTask(), |
|
|
|
|
|
|
|
// ], |
|
|
|
|
|
|
|
// ); |
|
|
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// ), |
|
|
|
|
|
|
|
// ], |
|
|
|
|
|
|
|
// ); |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
Widget build(BuildContext context) { |
|
|
|
Widget build(BuildContext context) { |
|
|
|
return Container( |
|
|
|
return Stack( |
|
|
|
color: Colors.white, |
|
|
|
children: [ |
|
|
|
child: Scaffold( |
|
|
|
Container( |
|
|
|
body: SmartRefresher( |
|
|
|
decoration: BoxDecoration( |
|
|
|
controller: refreshController, |
|
|
|
image: DecorationImage( |
|
|
|
enablePullDown: true, |
|
|
|
fit: BoxFit.fill, |
|
|
|
enablePullUp: false, |
|
|
|
image: AssetImage("assets/image/welfare_zx.webp"), |
|
|
|
header: MyHeader(), |
|
|
|
), |
|
|
|
footer: CustomFooter( |
|
|
|
|
|
|
|
builder: (context, mode) { |
|
|
|
|
|
|
|
return MyFooter(mode); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
onRefresh: () {}, |
|
|
|
width: double.infinity, |
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
height: 385.h, |
|
|
|
scrollController: scrollController, |
|
|
|
), |
|
|
|
child: Container( |
|
|
|
Scaffold( |
|
|
|
child: SingleChildScrollView( |
|
|
|
backgroundColor: Colors.transparent, |
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
appBar: MyAppBar( |
|
|
|
child: Column( |
|
|
|
background: Colors.transparent, |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
leadingColor: Colors.white, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
title: "福利中心", |
|
|
|
children: [ |
|
|
|
titleColor: Colors.white, |
|
|
|
Stack( |
|
|
|
titleSize: 18.sp, |
|
|
|
children: [ |
|
|
|
brightness: Brightness.dark, |
|
|
|
Container( |
|
|
|
), |
|
|
|
decoration: BoxDecoration( |
|
|
|
body:SmartRefresher( |
|
|
|
image: DecorationImage( |
|
|
|
controller: refreshController, |
|
|
|
fit: BoxFit.fill, |
|
|
|
enablePullDown: true, |
|
|
|
image: AssetImage("assets/image/welfare_zx.webp"), |
|
|
|
enablePullUp: false, |
|
|
|
), |
|
|
|
header: MyHeader(), |
|
|
|
), |
|
|
|
footer: CustomFooter( |
|
|
|
width: double.infinity, |
|
|
|
builder: (context, mode) { |
|
|
|
height: 385.h, |
|
|
|
return MyFooter(mode); |
|
|
|
), |
|
|
|
}, |
|
|
|
Container( |
|
|
|
), |
|
|
|
width: double.infinity, |
|
|
|
onRefresh:(){ |
|
|
|
margin: EdgeInsets.only( |
|
|
|
setState(() { |
|
|
|
top: 23.h + MediaQuery.of(context).padding.top, |
|
|
|
}); |
|
|
|
left: 14.w,right: 14.w), |
|
|
|
}, |
|
|
|
child: Column( |
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
scrollController: scrollController, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
child: Container( |
|
|
|
children: [ |
|
|
|
margin: EdgeInsets.only(top: 125.h,left: 14,right: 14), |
|
|
|
Row( |
|
|
|
decoration: BoxDecoration( |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
color: Color(0xFFF9FAF7), |
|
|
|
children: [ |
|
|
|
), |
|
|
|
Expanded( |
|
|
|
child: SingleChildScrollView( |
|
|
|
child: GestureDetector( |
|
|
|
physics: BouncingScrollPhysics(), |
|
|
|
behavior: HitTestBehavior.opaque, |
|
|
|
child: FutureBuilder( |
|
|
|
onTap: () { |
|
|
|
// future: querySignInfo(), |
|
|
|
Navigator.of(context).pop(); |
|
|
|
builder: (context, snap) { |
|
|
|
}, |
|
|
|
return Column( |
|
|
|
child: Container( |
|
|
|
children: [ |
|
|
|
// color: Colors.white, |
|
|
|
weekCoupons(), |
|
|
|
alignment: Alignment.centerLeft, |
|
|
|
|
|
|
|
child: Icon( |
|
|
|
|
|
|
|
Icons.arrow_back_ios, |
|
|
|
|
|
|
|
color: Colors.white, |
|
|
|
|
|
|
|
size: 22, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Expanded( |
|
|
|
|
|
|
|
child: Container( |
|
|
|
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
|
|
|
child: Text( |
|
|
|
|
|
|
|
"福利中心", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
color: Colors.white, |
|
|
|
|
|
|
|
fontSize: 18.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
)), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
Spacer(), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
weekCoupons(), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inviteFriends(), |
|
|
|
inviteFriends(), |
|
|
|
|
|
|
|
|
|
|
|
activityTask(), |
|
|
|
activityTask(), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
); |
|
|
|
), |
|
|
|
}, |
|
|
|
], |
|
|
|
), |
|
|
|
) |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -210,8 +110,16 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
|
|
|
|
boxShadow: [ |
|
|
|
|
|
|
|
BoxShadow( |
|
|
|
|
|
|
|
color: Color(0x08213303).withAlpha(12), |
|
|
|
|
|
|
|
offset: Offset(0, 2), |
|
|
|
|
|
|
|
blurRadius: 3, |
|
|
|
|
|
|
|
spreadRadius: 0, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
margin: EdgeInsets.only(top: 126.h), |
|
|
|
// margin: EdgeInsets.only(top: 139.h), |
|
|
|
child: Column( |
|
|
|
child: Column( |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
@ -292,18 +200,50 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
Widget weekItem() { |
|
|
|
Widget weekItem() { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
width:double.infinity, |
|
|
|
width:double.infinity, |
|
|
|
height:95.h, |
|
|
|
height:100.h, |
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
image: DecorationImage( |
|
|
|
image: DecorationImage( |
|
|
|
fit: BoxFit.fill, |
|
|
|
fit: BoxFit.fill, |
|
|
|
image: AssetImage("assets/image/week_coupons.png"), |
|
|
|
image: AssetImage("assets/image/week_coupons.png"), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
padding: EdgeInsets.symmetric(horizontal: 12.w,vertical: 12.h), |
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w,vertical: 10.h), |
|
|
|
child: Row( |
|
|
|
child: Row( |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
|
|
|
|
Expanded(child: |
|
|
|
|
|
|
|
Column( |
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
Expanded(child: Text( |
|
|
|
|
|
|
|
"百年川椒(哈乐城店)", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.bold, |
|
|
|
|
|
|
|
color: Color(0xFF0D0D0D), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
)), |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
"新人满减30元", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 11.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF4D4D4D), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
SizedBox(height:4.h,), |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
"有效期至2022-09-10 12:00:00", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 11.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF4D4D4D), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
)), |
|
|
|
Column( |
|
|
|
Column( |
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
@ -322,7 +262,7 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
TextSpan( |
|
|
|
TextSpan( |
|
|
|
text: "30", |
|
|
|
text: "30", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 26.sp, |
|
|
|
fontSize: 24.sp, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xFFFF4500), |
|
|
|
color: Color(0xFFFF4500), |
|
|
|
), |
|
|
|
), |
|
|
@ -330,75 +270,41 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Text( |
|
|
|
Expanded(child: Text( |
|
|
|
"满30.1可用", |
|
|
|
"满30.1可用", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 14.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xFFFF4500), |
|
|
|
color: Color(0xFFFF4500), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
)), |
|
|
|
], |
|
|
|
Container( |
|
|
|
), |
|
|
|
width: 55.w, |
|
|
|
SizedBox(width: 30,), |
|
|
|
height: 19.h, |
|
|
|
Column( |
|
|
|
decoration: BoxDecoration( |
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
gradient: new LinearGradient( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
begin: Alignment.bottomCenter, |
|
|
|
children: [ |
|
|
|
end: Alignment.topCenter, |
|
|
|
Text( |
|
|
|
colors: [ |
|
|
|
"百年川椒(哈乐城店)", |
|
|
|
Color(0xFFFF4F00), |
|
|
|
style: TextStyle( |
|
|
|
Color(0xFFFF2700), |
|
|
|
fontSize: 14.sp, |
|
|
|
]), |
|
|
|
fontWeight: MyFontWeight.bold, |
|
|
|
// border: Border.all(color: Colors.white,width: 0.5), |
|
|
|
color: Color(0xFF0D0D0D), |
|
|
|
shape: BoxShape.rectangle, |
|
|
|
), |
|
|
|
borderRadius: BorderRadius.circular(3), |
|
|
|
), |
|
|
|
|
|
|
|
SizedBox(height: 10,), |
|
|
|
|
|
|
|
Text( |
|
|
|
|
|
|
|
"新人满减30元", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 11.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFF4D4D4D), |
|
|
|
|
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
alignment: Alignment.center, |
|
|
|
SizedBox(height:4.h,), |
|
|
|
child:Text( |
|
|
|
Text( |
|
|
|
"领取", |
|
|
|
"有效期至2022-09-10 12:00:00", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 11.sp, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xFFFFFFFF), |
|
|
|
color: Color(0xFF4D4D4D), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
) |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
Expanded(child: |
|
|
|
|
|
|
|
Container( |
|
|
|
|
|
|
|
width: 55.w, |
|
|
|
|
|
|
|
height: 19.h, |
|
|
|
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
|
|
|
gradient: new LinearGradient( |
|
|
|
|
|
|
|
begin: Alignment.bottomCenter, |
|
|
|
|
|
|
|
end: Alignment.topCenter, |
|
|
|
|
|
|
|
colors: [ |
|
|
|
|
|
|
|
Color(0xFFFF4F00), |
|
|
|
|
|
|
|
Color(0xFFFF2700), |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
// border: Border.all(color: Colors.white,width: 0.5), |
|
|
|
|
|
|
|
shape: BoxShape.rectangle, |
|
|
|
|
|
|
|
borderRadius: BorderRadius.circular(12), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
|
|
|
child:Text( |
|
|
|
|
|
|
|
"领取", |
|
|
|
|
|
|
|
style: TextStyle( |
|
|
|
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
|
|
|
color: Color(0xFFFFFFFF), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
)) |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|
); |
|
|
@ -407,7 +313,7 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
///邀请好友 |
|
|
|
///邀请好友 |
|
|
|
Widget inviteFriends() { |
|
|
|
Widget inviteFriends() { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
margin: EdgeInsets.only(right:14.w,top:34.h,bottom:20.h), |
|
|
|
margin: EdgeInsets.only(right:14.w,top:24.h,bottom:20.h), |
|
|
|
child:Column( |
|
|
|
child:Column( |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
@ -470,7 +376,7 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
SizedBox(height: 12,), |
|
|
|
SizedBox(height: 12.h,), |
|
|
|
ListView.builder( |
|
|
|
ListView.builder( |
|
|
|
padding: EdgeInsets.zero, |
|
|
|
padding: EdgeInsets.zero, |
|
|
|
itemCount:6, |
|
|
|
itemCount:6, |
|
|
@ -497,6 +403,14 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
borderRadius: BorderRadius.circular(6), |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
|
|
|
|
boxShadow: [ |
|
|
|
|
|
|
|
BoxShadow( |
|
|
|
|
|
|
|
color: Color(0x08213303).withAlpha(12), |
|
|
|
|
|
|
|
offset: Offset(0, 2), |
|
|
|
|
|
|
|
blurRadius: 3, |
|
|
|
|
|
|
|
spreadRadius: 0, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
padding: EdgeInsets.symmetric(horizontal: 12.w,vertical: 12.h), |
|
|
|
padding: EdgeInsets.symmetric(horizontal: 12.w,vertical: 12.h), |
|
|
|
margin: EdgeInsets.only(bottom: 10.h), |
|
|
|
margin: EdgeInsets.only(bottom: 10.h), |
|
|
@ -535,18 +449,18 @@ class _WelfarePage extends State<WelfarePage> { |
|
|
|
),), |
|
|
|
),), |
|
|
|
Container( |
|
|
|
Container( |
|
|
|
width: 55.w, |
|
|
|
width: 55.w, |
|
|
|
height: 19.h, |
|
|
|
height: 21.h, |
|
|
|
decoration: BoxDecoration( |
|
|
|
decoration: BoxDecoration( |
|
|
|
gradient: new LinearGradient( |
|
|
|
gradient: new LinearGradient( |
|
|
|
begin: Alignment.bottomCenter, |
|
|
|
begin: Alignment.centerLeft, |
|
|
|
end: Alignment.topCenter, |
|
|
|
end: Alignment.centerRight, |
|
|
|
colors: [ |
|
|
|
colors: [ |
|
|
|
Color(0xFFFF4F00), |
|
|
|
|
|
|
|
Color(0xFFFF2700), |
|
|
|
Color(0xFFFF2700), |
|
|
|
]), |
|
|
|
Color(0xFFFF4F00), |
|
|
|
|
|
|
|
],), |
|
|
|
// border: Border.all(color: Colors.white,width: 0.5), |
|
|
|
// border: Border.all(color: Colors.white,width: 0.5), |
|
|
|
shape: BoxShape.rectangle, |
|
|
|
shape: BoxShape.rectangle, |
|
|
|
borderRadius: BorderRadius.circular(12), |
|
|
|
borderRadius: BorderRadius.circular(3), |
|
|
|
), |
|
|
|
), |
|
|
|
alignment: Alignment.center, |
|
|
|
alignment: Alignment.center, |
|
|
|
child:Text( |
|
|
|
child:Text( |
|
|
|