You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

import 'package:flutter/material.dart';
import 'package:huixiang/view_widget/my_appbar.dart';
import '../../../retrofit/business_api.dart';
import 'overview/trade_goods.dart';
class HotSellingPage extends StatefulWidget {
final Map<String, dynamic> arguments;
HotSellingPage({this.arguments});
@override
State<StatefulWidget> createState() {
return _HotSellingPage();
}
}
class _HotSellingPage extends State<HotSellingPage> {
BusinessApiService businessService;
@override
void initState() {
super.initState();
}
///离开页面记着销毁和清除
@override
void dispose() {
super.dispose();
}
@override
Widget build(BuildContext context) {
return GestureDetector(
behavior: HitTestBehavior.translucent,
onTap: () {
FocusScope.of(context).unfocus();
},
child: Scaffold(
resizeToAvoidBottomInset: false,
backgroundColor: Colors.white,
appBar: MyAppBar(
title: "热销榜单",
titleColor: Colors.black,
background: Colors.white,
leadingColor: Colors.black,
brightness: Brightness.dark,
),
body: TradeGoods(widget.arguments["storeId"],"热销榜单"),
),
);
}
}