|
|
@ -14,10 +14,12 @@ class CategorySubView extends StatefulWidget {
|
|
|
|
_CategorySubViewState createState() => _CategorySubViewState();
|
|
|
|
_CategorySubViewState createState() => _CategorySubViewState();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class _CategorySubViewState extends State<CategorySubView> {
|
|
|
|
class _CategorySubViewState extends State<CategorySubView>
|
|
|
|
|
|
|
|
with AutomaticKeepAliveClientMixin {
|
|
|
|
List<MarketCategoryModel> _models = [];
|
|
|
|
List<MarketCategoryModel> _models = [];
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
|
|
|
super.build(context);
|
|
|
|
return EasyRefresh(
|
|
|
|
return EasyRefresh(
|
|
|
|
header: MaterialHeader(),
|
|
|
|
header: MaterialHeader(),
|
|
|
|
firstRefresh: true,
|
|
|
|
firstRefresh: true,
|
|
|
@ -41,4 +43,7 @@ class _CategorySubViewState extends State<CategorySubView> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
|
|
|
bool get wantKeepAlive => true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|