AutoPageView constructor

const AutoPageView({
  1. Key? key,
  2. required bool animatePageTransition,
  3. Duration duration = const Duration(milliseconds: 300),
  4. required PageController controller,
  5. ScrollPhysics? physics,
  6. required TabsRouter router,
  7. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  8. Axis scrollDirection = Axis.horizontal,
})

Default constructor

Implementation

const AutoPageView({
  super.key,
  required this.animatePageTransition,
  this.duration = const Duration(milliseconds: 300),
  required this.controller,
  this.physics,
  required this.router,
  this.dragStartBehavior = DragStartBehavior.start,
  this.scrollDirection = Axis.horizontal,
});