LivePageView.builder constructor

const LivePageView.builder({
  1. Key? key,
  2. required MutableCell<int> page,
  3. ValueCell<bool>? animate,
  4. ValueCell<Duration>? duration,
  5. ValueCell<Curve>? curve,
  6. ValueCell<void>? nextPage,
  7. ValueCell<void>? previousPage,
  8. MetaCell<bool>? isAnimating,
  9. Axis scrollDirection,
  10. bool reverse,
  11. ScrollPhysics? physics,
  12. bool pageSnapping,
  13. required Widget itemBuilder(
    1. BuildContext,
    2. int
    ),
  14. int? findChildIndexCallback(
    1. Key
    )?,
  15. int? itemCount,
  16. DragStartBehavior dragStartBehavior,
  17. bool allowImplicitScrolling,
  18. String? restorationId,
  19. Clip clipBehavior,
  20. HitTestBehavior hitTestBehavior,
  21. ScrollBehavior? scrollBehavior,
  22. bool padEnds,
})

Implementation

const factory LivePageView.builder({
  Key? key,
  required MutableCell<int> page,
  ValueCell<bool>? animate,
  ValueCell<Duration>? duration,
  ValueCell<Curve>? curve,
  ValueCell<void>? nextPage,
  ValueCell<void>? previousPage,
  MetaCell<bool>? isAnimating,
  Axis scrollDirection,
  bool reverse,
  ScrollPhysics? physics,
  bool pageSnapping,
  required Widget Function(BuildContext, int) itemBuilder,
  int? Function(Key)? findChildIndexCallback,
  int? itemCount,
  DragStartBehavior dragStartBehavior,
  bool allowImplicitScrolling,
  String? restorationId,
  Clip clipBehavior,
  HitTestBehavior hitTestBehavior,
  ScrollBehavior? scrollBehavior,
  bool padEnds,
}) = _LivePageView$builder;