修改 包裹代收card

hmxc
张萌 4 years ago
parent 22695f9412
commit b02b7fdbb8

@ -6,12 +6,13 @@
import 'package:device_info_plus_web/device_info_plus_web.dart';
import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
// ignore: public_member_api_docs
void registerPlugins(Registrar registrar) {
DeviceInfoPlusPlugin.registerWith(registrar);

@ -65,13 +65,18 @@ class _ExpressPackageCardState extends State<ExpressPackageCard> {
.color(ktextSubColor)
.make()),
].sepWidget(separate: 12.w.heightBox),
...widget.index == 1
? [SizedBox()]
: [
40.w.heightBox,
Row(
children: [
Spacer(),
MaterialButton(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(74.w)),
padding: EdgeInsets.symmetric(vertical: 8.w, horizontal: 24.w),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(74.w)),
padding: EdgeInsets.symmetric(
vertical: 8.w, horizontal: 24.w),
height: 50.w,
color: kPrimaryColor,
elevation: 0,
@ -80,10 +85,16 @@ class _ExpressPackageCardState extends State<ExpressPackageCard> {
disabledElevation: 0,
highlightElevation: 0,
onPressed: () {},
child: '确认领取'.text.size(24.sp).bold.color(ktextPrimary).make(),
child: '确认领取'
.text
.size(24.sp)
.bold
.color(ktextPrimary)
.make(),
)
],
),
]
],
),
);

Loading…
Cancel
Save