VideoListTabView constructor

const VideoListTabView({
  1. Key? key,
  2. required List<VideoTikTab> tabs,
  3. required dynamic pageCreated(
    1. VideoTikTab tikTab,
    2. VideoTikListModel tikModel
    ),
  4. Color? tabIndicatorColor,
  5. double? tabIndicatorHeight,
  6. Color? tabTextColor,
  7. Color? tabSelectedTextColor,
  8. required dynamic nextPage(
    1. VideoTikTab tikTab,
    2. int page
    ),
  9. FijkFit fit = FijkFit.contain,
  10. Color progressColor = const Color(0xffFEFDFF),
  11. Color progressBackgroundColor = const Color(0xff7F7776),
  12. TikVideoListener? listener,
  13. int initSeek = 2000,
})

Implementation

const VideoListTabView({
  Key? key,
  required this.tabs,
  required this.pageCreated,
  this.tabIndicatorColor,
  this.tabIndicatorHeight,
  this.tabTextColor,
  this.tabSelectedTextColor,
  required this.nextPage,
  this.fit = FijkFit.contain,
  this.progressColor = const Color(0xffFEFDFF),
  this.progressBackgroundColor = const Color(0xff7F7776),
  this.listener,
  this.initSeek = 2000,
}) : super(key: key);