12345678910111213141516171819202122232425262728293031323334 |
- part of 'home_index_cubit.dart';
- class HomeIndexState {
- TextEditingController? searchController;
- late TabController tabController;
- late SwiperController swiperController;
- late List<RtcRoomCategories> tabList;
- late List<BannerList> bannerList;
- late List<DiamondList> diamondItesm;
- late List<DustList> dustItems;
- HomeIndexState init(TickerProvider vsyncV) {
- return HomeIndexState()
- ..searchController = TextEditingController()
- ..swiperController = new SwiperController()
- ..tabList = []
- ..bannerList = []
- ..tabController = TabController(vsync: vsyncV, length: 0)
- ..diamondItesm = []
- ..dustItems = [];
- }
- HomeIndexState clone() {
- return HomeIndexState()
- ..searchController = searchController
- ..swiperController = swiperController
- ..tabList = tabList
- ..bannerList = bannerList
- ..tabController = tabController
- ..diamondItesm = diamondItesm
- ..dustItems = dustItems;
- }
- }
|