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 arguments; HotSellingPage({this.arguments}); @override State createState() { return _HotSellingPage(); } } class _HotSellingPage extends State { 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"],"热销榜单"), ), ); } }