修改 包裹代收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:device_info_plus_web/device_info_plus_web.dart';
import 'package:firebase_core_web/firebase_core_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:image_picker_for_web/image_picker_for_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart'; import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart'; import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_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 // ignore: public_member_api_docs
void registerPlugins(Registrar registrar) { void registerPlugins(Registrar registrar) {
DeviceInfoPlusPlugin.registerWith(registrar); DeviceInfoPlusPlugin.registerWith(registrar);

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

Loading…
Cancel
Save