RealtimeRankingPageView constructor

RealtimeRankingPageView({
  1. Key? key,
  2. PageController? pageController,
  3. ScrollPhysics? physics,
  4. ValueChanged<int>? onPageChanged,
  5. required List<Widget> children,
  6. double? itemHeight,
  7. int? pagePerCount,
})

Implementation

RealtimeRankingPageView({
  Key? key,
  this.pageController,
  this.physics,
  this.onPageChanged,
  required this.children,
  double? itemHeight,
  int? pagePerCount,
})  : itemHeight = itemHeight ?? kRealtimeRankingItemHeight,
      pagePerCount = pagePerCount ?? 5,
      super(key: key);