remove some s**t code

hmxc
张萌 4 years ago
parent 5e20be6202
commit bff2d19976

@ -1,4 +1,5 @@
// Flutter imports: // Flutter imports:
import 'package:akuCommunity/base/base_style.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -12,9 +13,8 @@ import 'package:akuCommunity/pages/goods_deto_page/deto_create_page/deto_create_
import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart'; import 'package:akuCommunity/pages/things_page/widget/bee_list_view.dart';
import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/widget/bee_scaffold.dart'; import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:akuCommunity/widget/bottom_button.dart';
import 'widget/goods_info_card.dart'; import 'widget/goods_info_card.dart';
import 'package:velocity_x/velocity_x.dart';
class GoodsDetoPage extends StatefulWidget { class GoodsDetoPage extends StatefulWidget {
GoodsDetoPage({Key key}) : super(key: key); GoodsDetoPage({Key key}) : super(key: key);
@ -48,12 +48,14 @@ class _GoodsDetoPageState extends State<GoodsDetoPage> {
}, },
), ),
), ),
bottomNavi: BottomButton( bottomNavi: MaterialButton(
title: '新增', color: kPrimaryColor,
fun: () {
DetoCreatePage().to(); padding: EdgeInsets.only(top:26.w ,bottom: MediaQuery.of(context).padding.bottom+26.w),
}, child: '新增'.text.black.size(32.sp).bold.make(),
), onPressed: () {
DetoCreatePage().to();
},),
); );
} }
} }

Loading…
Cancel
Save