|
|
@ -233,34 +233,34 @@ class _HomePageState extends State<HomePage> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(width: 15.w),
|
|
|
|
SizedBox(width: 15.w),
|
|
|
|
Container(
|
|
|
|
// Container(
|
|
|
|
margin: EdgeInsets.only(top: 5.w, bottom: 5.w),
|
|
|
|
// margin: EdgeInsets.only(top: 5.w, bottom: 5.w),
|
|
|
|
child: MaterialButton(
|
|
|
|
// child: MaterialButton(
|
|
|
|
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
// materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
//扫一扫按钮
|
|
|
|
// //扫一扫按钮
|
|
|
|
height: double.infinity,
|
|
|
|
// height: double.infinity,
|
|
|
|
minWidth: 78.w,
|
|
|
|
// minWidth: 78.w,
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
// padding: EdgeInsets.zero,
|
|
|
|
onPressed: () {
|
|
|
|
// onPressed: () {
|
|
|
|
Get.to(() => ScanPage());
|
|
|
|
// Get.to(() => ScanPage());
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
child: Column(children: [
|
|
|
|
// child: Column(children: [
|
|
|
|
Image.asset(
|
|
|
|
// Image.asset(
|
|
|
|
R.ASSETS_HOME_IC_SCAN_PNG,
|
|
|
|
// R.ASSETS_HOME_IC_SCAN_PNG,
|
|
|
|
height: 48.w,
|
|
|
|
// height: 48.w,
|
|
|
|
width: 48.w,
|
|
|
|
// width: 48.w,
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
Text(
|
|
|
|
// Text(
|
|
|
|
'扫一扫',
|
|
|
|
// '扫一扫',
|
|
|
|
style: TextStyle(
|
|
|
|
// style: TextStyle(
|
|
|
|
color: AppStyle.primaryTextColor,
|
|
|
|
// color: AppStyle.primaryTextColor,
|
|
|
|
fontSize: 20.sp,
|
|
|
|
// fontSize: 20.sp,
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
// fontWeight: FontWeight.normal,
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
]),
|
|
|
|
// ]),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.only(top: 5.w, bottom: 5.w),
|
|
|
|
margin: EdgeInsets.only(top: 5.w, bottom: 5.w),
|
|
|
|
child: AkuMaterialButton(
|
|
|
|
child: AkuMaterialButton(
|
|
|
|