分享设备用户列表

This commit is contained in:
czz
2025-07-23 13:55:46 +08:00
parent e80011161c
commit 1356eb9e19
61 changed files with 648 additions and 568 deletions

View File

@@ -379,24 +379,41 @@ var returnIconButtom = IconButton(
icon: Icon(Icons.navigate_before, size: 60.rpx),
);
var returnIconButtomNew = ClickableContainer(
// var returnIconButtomNew = ClickableContainer(
// backgroundColor: Colors.transparent,
// highlightColor: Colors.transparent,
// padding: EdgeInsets.fromLTRB(20.rpx, 20.rpx, 20.rpx, 20.rpx),
// onTap: () => Get.back(),
// child: Container(
// // height: 42.rpx,
// // width: 42.rpx,
// child: SvgPicture.asset(
// 'assets/img/icon/return_buttom.svg',
// width: 42.rpx,
// height: 42.rpx,
// ),
// // SvgPicture.asset(
// // 'assets/img/icon/expand.svg',
// // color: Colors.white,
// // )
// ));
Widget returnIconButtomNew({VoidCallback? onBack}) {
return ClickableContainer(
backgroundColor: Colors.transparent,
highlightColor: Colors.transparent,
padding: EdgeInsets.fromLTRB(20.rpx, 20.rpx, 20.rpx, 20.rpx),
onTap: () => Get.back(),
child: Container(
// height: 42.rpx,
// width: 42.rpx,
child: SvgPicture.asset(
'assets/img/icon/return_buttom.svg',
width: 42.rpx,
height: 42.rpx,
),
// SvgPicture.asset(
// 'assets/img/icon/expand.svg',
// color: Colors.white,
// )
));
onTap: () {
if (onBack != null) onBack(); // 执行回调
Get.back(); // 返回
},
child: SvgPicture.asset(
'assets/img/icon/return_buttom.svg',
width: 42.rpx,
height: 42.rpx,
),
);
}
// IconButton(
// padding: EdgeInsets.zero, // 去除默认 padding