|
|
@ -1,4 +1,6 @@
|
|
|
|
import 'package:aku_community_manager/const/api.dart';
|
|
|
|
import 'package:aku_community_manager/const/api.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/json_models/manager/house_keeping/house_keeping_list_model.dart';
|
|
|
|
|
|
|
|
import 'package:aku_community_manager/models/user/user_info_model.dart';
|
|
|
|
import 'package:aku_community_manager/style/app_style.dart';
|
|
|
|
import 'package:aku_community_manager/style/app_style.dart';
|
|
|
|
import 'package:aku_community_manager/tools/user_tool.dart';
|
|
|
|
import 'package:aku_community_manager/tools/user_tool.dart';
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/house_keeping/house_keeping_detail_page.dart';
|
|
|
|
import 'package:aku_community_manager/ui/manage_pages/house_keeping/house_keeping_detail_page.dart';
|
|
|
@ -9,101 +11,18 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
import 'package:velocity_x/velocity_x.dart';
|
|
|
|
import 'package:velocity_x/velocity_x.dart';
|
|
|
|
|
|
|
|
|
|
|
|
// class HouseKeepingCard extends StatefulWidget {
|
|
|
|
|
|
|
|
// final HouseKeepingListModel model;
|
|
|
|
|
|
|
|
// HouseKeepingCard({Key? key, required this.model}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @override
|
|
|
|
|
|
|
|
// _HouseKeepingCardState createState() => _HouseKeepingCardState();
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// class _HouseKeepingCardState extends State<HouseKeepingCard> {
|
|
|
|
|
|
|
|
// @override
|
|
|
|
|
|
|
|
// Widget build(BuildContext context) {
|
|
|
|
|
|
|
|
// return MaterialButton(
|
|
|
|
|
|
|
|
// minWidth: double.infinity,
|
|
|
|
|
|
|
|
// color: Colors.white,
|
|
|
|
|
|
|
|
// shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8.w)),
|
|
|
|
|
|
|
|
// elevation: 0,
|
|
|
|
|
|
|
|
// padding: EdgeInsets.all(24.w),
|
|
|
|
|
|
|
|
// onPressed: () {
|
|
|
|
|
|
|
|
// Get.to(() => HouseKeepingDetailPage(model:widget.model));
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
// child: Column(
|
|
|
|
|
|
|
|
// crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|
|
|
// children: [
|
|
|
|
|
|
|
|
// Row(
|
|
|
|
|
|
|
|
// children: [
|
|
|
|
|
|
|
|
// '家政服务'.text.size(32.sp).color(kTextPrimaryColor).bold.make(),
|
|
|
|
|
|
|
|
// Spacer(),
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// 16.w.heightBox,
|
|
|
|
|
|
|
|
// AkuDivider.horizontal(),
|
|
|
|
|
|
|
|
// 24.w.heightBox,
|
|
|
|
|
|
|
|
// ...<Widget>[
|
|
|
|
|
|
|
|
// _rowTile(
|
|
|
|
|
|
|
|
// R.ASSETS_MANAGE_IC_RENWU_PNG,
|
|
|
|
|
|
|
|
// '房产名称',
|
|
|
|
|
|
|
|
// widget.model.roomName!.text
|
|
|
|
|
|
|
|
// .size(24.sp)
|
|
|
|
|
|
|
|
// .color(kTextSubColor)
|
|
|
|
|
|
|
|
// .make()),
|
|
|
|
|
|
|
|
// _rowTile(
|
|
|
|
|
|
|
|
// R.ASSETS_MANAGE_IC_RENWU_PNG,
|
|
|
|
|
|
|
|
// '人数',
|
|
|
|
|
|
|
|
// widget.model.num
|
|
|
|
|
|
|
|
// .toString()
|
|
|
|
|
|
|
|
// .text
|
|
|
|
|
|
|
|
// .size(24.sp)
|
|
|
|
|
|
|
|
// .color(kTextSubColor)
|
|
|
|
|
|
|
|
// .make()),
|
|
|
|
|
|
|
|
// _rowTile(
|
|
|
|
|
|
|
|
// R.ASSETS_MANAGE_IC_RENWU_PNG,
|
|
|
|
|
|
|
|
// '负责人姓名',
|
|
|
|
|
|
|
|
// widget.model.leaderName!.text
|
|
|
|
|
|
|
|
// .size(24.sp)
|
|
|
|
|
|
|
|
// .color(kTextSubColor)
|
|
|
|
|
|
|
|
// .make()),
|
|
|
|
|
|
|
|
// _rowTile(
|
|
|
|
|
|
|
|
// R.ASSETS_MESSAGE_IC_PHONE_PNG,
|
|
|
|
|
|
|
|
// '负责人手机',
|
|
|
|
|
|
|
|
// widget.model.leaderTel!.text
|
|
|
|
|
|
|
|
// .size(24.sp)
|
|
|
|
|
|
|
|
// .color(kTextSubColor)
|
|
|
|
|
|
|
|
// .make()),
|
|
|
|
|
|
|
|
// ].sepWidget(separate: 12.w.heightBox),
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Widget _rowTile(String iconPath, String title, Widget content) {
|
|
|
|
|
|
|
|
// return Row(
|
|
|
|
|
|
|
|
// children: [
|
|
|
|
|
|
|
|
// SizedBox(
|
|
|
|
|
|
|
|
// width: 40.w,
|
|
|
|
|
|
|
|
// height: 40.w,
|
|
|
|
|
|
|
|
// child: Image.asset(iconPath),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// 12.w.widthBox,
|
|
|
|
|
|
|
|
// title.text.size(24.sp).color(kTextSubColor).make(),
|
|
|
|
|
|
|
|
// Spacer(),
|
|
|
|
|
|
|
|
// content,
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
class HouseKeepingCard extends StatelessWidget {
|
|
|
|
class HouseKeepingCard extends StatelessWidget {
|
|
|
|
final VoidCallback callRefresh;
|
|
|
|
final VoidCallback callRefresh;
|
|
|
|
const HouseKeepingCard({Key? key, required this.callRefresh})
|
|
|
|
final HouseKeepingListModel model;
|
|
|
|
|
|
|
|
const HouseKeepingCard(
|
|
|
|
|
|
|
|
{Key? key, required this.callRefresh, required this.model})
|
|
|
|
: super(key: key);
|
|
|
|
: super(key: key);
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return GestureDetector(
|
|
|
|
return GestureDetector(
|
|
|
|
onTap: () async {
|
|
|
|
onTap: () async {
|
|
|
|
await Get.to(() => HouseKeepingDetailPage());
|
|
|
|
await Get.to(() => HouseKeepingDetailPage(model: model));
|
|
|
|
callRefresh();
|
|
|
|
callRefresh();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
@ -118,7 +37,7 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
16.w.widthBox,
|
|
|
|
16.w.widthBox,
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
'dateStart',
|
|
|
|
model.createDate,
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: AppStyle.minorTextColor,
|
|
|
|
color: AppStyle.minorTextColor,
|
|
|
|
fontSize: 22.sp,
|
|
|
|
fontSize: 22.sp,
|
|
|
@ -126,32 +45,14 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
|
// widget.hasFinished
|
|
|
|
model.statusString,
|
|
|
|
// ? '已处理'
|
|
|
|
style: TextStyle(color: Color(0xFFFF4501)),
|
|
|
|
// : AkuMap.fixStatus(userInfoModel!.canSendTicket,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// userInfoModel!.canPickUpTicket, widget.model.status!),
|
|
|
|
|
|
|
|
'',
|
|
|
|
|
|
|
|
style:
|
|
|
|
|
|
|
|
// widget.hasFinished
|
|
|
|
|
|
|
|
true
|
|
|
|
|
|
|
|
? TextStyle(color: AppStyle.minorTextColor)
|
|
|
|
|
|
|
|
: TextStyle(
|
|
|
|
|
|
|
|
// color: widget.model.status! < 4
|
|
|
|
|
|
|
|
// ? Color(0XFFFF4501)
|
|
|
|
|
|
|
|
// : AppStyle.minorTextColor,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
24.w.heightBox,
|
|
|
|
24.w.heightBox,
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
|
// widget.model.reportDetail!
|
|
|
|
model.content,
|
|
|
|
'',
|
|
|
|
|
|
|
|
// maxLines: widget.homeDisplay ? 1 : null,
|
|
|
|
|
|
|
|
// overflow: !widget.homeDisplay
|
|
|
|
|
|
|
|
// ? TextOverflow.visible
|
|
|
|
|
|
|
|
// : TextOverflow.ellipsis,
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
fontSize: 28.sp,
|
|
|
|
fontSize: 28.sp,
|
|
|
@ -180,8 +81,7 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
child: ListView.builder(
|
|
|
|
child: ListView.builder(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
// var imgObj = widget.model.imgUrls![index].url;
|
|
|
|
var imgObj = model.submitImgList[index].url;
|
|
|
|
var imgObj = '';
|
|
|
|
|
|
|
|
return Container(
|
|
|
|
return Container(
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 8.w),
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 8.w),
|
|
|
|
height: 168.w,
|
|
|
|
height: 168.w,
|
|
|
@ -191,11 +91,11 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
child: FadeInImage.assetNetwork(
|
|
|
|
child: FadeInImage.assetNetwork(
|
|
|
|
placeholder: R.ASSETS_PLACEHOLDER_WEBP, image: API.image('')),
|
|
|
|
placeholder: R.ASSETS_PLACEHOLDER_WEBP,
|
|
|
|
|
|
|
|
image: API.image(imgObj!)),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// itemCount: widget.model.imgUrls!.length,
|
|
|
|
itemCount: model.submitImgList.length,
|
|
|
|
itemCount: 1,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -214,22 +114,18 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_getButtons() {
|
|
|
|
_getButtons() {
|
|
|
|
switch (1) {
|
|
|
|
switch (model.status) {
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
|
return [
|
|
|
|
return [
|
|
|
|
AkuMaterialButton(
|
|
|
|
AkuMaterialButton(
|
|
|
|
height: 64.w,
|
|
|
|
height: 64.w,
|
|
|
|
onPressed: () async {
|
|
|
|
onPressed: () async {},
|
|
|
|
// Get.to(() => BusinessAndFixDetailPage(model: widget.model));
|
|
|
|
|
|
|
|
// if (widget.callRefresh != null) {
|
|
|
|
|
|
|
|
// widget.callRefresh!();
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
radius: 4,
|
|
|
|
radius: 4,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
(UserTool.userProvider.infoModel!.canSendTicket
|
|
|
|
(UserTool.userProvider.infoModel!.houseKeepingAuthority ==
|
|
|
|
|
|
|
|
HKAUTH.SEND
|
|
|
|
? '立即派单'
|
|
|
|
? '立即派单'
|
|
|
|
: '查看详情'),
|
|
|
|
: '查看详情'),
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
@ -255,11 +151,10 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
(UserTool.userProvider.infoModel!.canSendTicket
|
|
|
|
(UserTool.userProvider.infoModel!.houseKeepingAuthority ==
|
|
|
|
? '改派'
|
|
|
|
HKAUTH.PICK
|
|
|
|
: UserTool.userProvider.infoModel!.canPickUpTicket
|
|
|
|
? '立即接单'
|
|
|
|
? '立即接单'
|
|
|
|
: '催单'),
|
|
|
|
: '查看详情'),
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
@ -274,18 +169,12 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
UserTool.userProvider.infoModel!.canPickUpTicket
|
|
|
|
UserTool.userProvider.infoModel!.canPickUpTicket
|
|
|
|
? AkuMaterialButton(
|
|
|
|
? AkuMaterialButton(
|
|
|
|
height: 64.w,
|
|
|
|
height: 64.w,
|
|
|
|
onPressed: () async {
|
|
|
|
onPressed: () async {},
|
|
|
|
// Get.to(() => Get.to(() =>
|
|
|
|
|
|
|
|
// FixMoreTimePage(dispatchId: widget.model.dispatchId!)));
|
|
|
|
|
|
|
|
// if (widget.callRefresh != null) {
|
|
|
|
|
|
|
|
// widget.callRefresh!();
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
radius: 4,
|
|
|
|
radius: 4,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
('申请延时'),
|
|
|
|
('查看详情'),
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
@ -297,19 +186,12 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
: SizedBox(),
|
|
|
|
: SizedBox(),
|
|
|
|
AkuMaterialButton(
|
|
|
|
AkuMaterialButton(
|
|
|
|
height: 64.w,
|
|
|
|
height: 64.w,
|
|
|
|
onPressed: () async {
|
|
|
|
onPressed: () async {},
|
|
|
|
// Get.to(() => BusinessAndFixDetailPage(model: widget.model));
|
|
|
|
|
|
|
|
// if (widget.callRefresh != null) {
|
|
|
|
|
|
|
|
// widget.callRefresh!();
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
radius: 4,
|
|
|
|
radius: 4,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
(UserTool.userProvider.infoModel!.canPickUpTicket
|
|
|
|
('联系住户'),
|
|
|
|
? '处理完成'
|
|
|
|
|
|
|
|
: '查看详情'),
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
@ -323,12 +205,83 @@ class HouseKeepingCard extends StatelessWidget {
|
|
|
|
return [
|
|
|
|
return [
|
|
|
|
AkuMaterialButton(
|
|
|
|
AkuMaterialButton(
|
|
|
|
height: 64.w,
|
|
|
|
height: 64.w,
|
|
|
|
onPressed: () async {
|
|
|
|
onPressed: () async {},
|
|
|
|
// Get.to(() => BusinessAndFixDetailPage(model: widget.model));
|
|
|
|
radius: 4,
|
|
|
|
// if (widget.callRefresh != null) {
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
// widget.callRefresh!();
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
// }
|
|
|
|
child: Text(
|
|
|
|
},
|
|
|
|
('查看详情'),
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
fontSize: 28.sp,
|
|
|
|
|
|
|
|
height: 40 / 28,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
case 5:
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
AkuMaterialButton(
|
|
|
|
|
|
|
|
height: 64.w,
|
|
|
|
|
|
|
|
onPressed: () async {},
|
|
|
|
|
|
|
|
radius: 4,
|
|
|
|
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
|
|
|
|
child: Text(
|
|
|
|
|
|
|
|
('查看详情'),
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
fontSize: 28.sp,
|
|
|
|
|
|
|
|
height: 40 / 28,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
case 6:
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
AkuMaterialButton(
|
|
|
|
|
|
|
|
height: 64.w,
|
|
|
|
|
|
|
|
onPressed: () async {},
|
|
|
|
|
|
|
|
radius: 4,
|
|
|
|
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
|
|
|
|
child: Text(
|
|
|
|
|
|
|
|
('查看详情'),
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
fontSize: 28.sp,
|
|
|
|
|
|
|
|
height: 40 / 28,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
case 9:
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
AkuMaterialButton(
|
|
|
|
|
|
|
|
height: 64.w,
|
|
|
|
|
|
|
|
onPressed: () async {},
|
|
|
|
|
|
|
|
radius: 4,
|
|
|
|
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
|
|
|
|
child: Text(
|
|
|
|
|
|
|
|
('查看详情'),
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
|
|
|
fontSize: 28.sp,
|
|
|
|
|
|
|
|
height: 40 / 28,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
case 10:
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
AkuMaterialButton(
|
|
|
|
|
|
|
|
height: 64.w,
|
|
|
|
|
|
|
|
onPressed: () async {},
|
|
|
|
radius: 4,
|
|
|
|
radius: 4,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
color: AppStyle.primaryColor,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w),
|
|
|
|