27 lines
820 B
Dart
27 lines
820 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;
|
|
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;
|
|
}
|