2025-09-23 17:19:33 +08:00

28 lines
886 B
Dart

import '../../kt_model/kt_home_category_bean.dart';
import '../../kt_model/kt_short_video_bean.dart';
import '../../kt_widgets/kt_status_widget.dart';
class KtHomeState {
KtLoadStatusType loadStatus = KtLoadStatusType.loading;
KtLoadStatusType categoryLoadStatus = KtLoadStatusType.loading;
List<KtShortVideoBean> topPickList = [];
List<KtShortVideoBean> hotList = [];
List<KtShortVideoBean> arrivalList = [];
List<KtShortVideoBean> bannerList = [];
List<KtShortVideoBean> mostSearchedList = [];
List<KtHomeCategoryBean> categoryList = [];
List<KtShortVideoBean> categoryVideoList = [];
num selCategoryId = -1;
int pageIndex = 1;
int selDiscover = 0;
String selType = 'Hot & Rising';
List typeList = ['Hot & Rising', 'Top Charts', 'Fresh Drops'];
bool showVideo = true;
bool hasSubCoin = false;
int receiveCoin = 0;
KtShortVideoBean? curVideo;
}