CubePageView constructor

const CubePageView({
  1. Key? key,
  2. ValueChanged<int>? onPageChanged,
  3. PageController? controller,
  4. required List<Widget>? children,
  5. Axis scrollDirection = Axis.horizontal,
  6. int startPage = 0,
  7. CubeTransformStyle transformStyle = CubeTransformStyle.outside,
})

Creates a scrollable list that works page by page from an explicit List of widgets.

Implementation

const CubePageView({
  Key? key,
  this.onPageChanged,
  this.controller,
  required this.children,
  this.scrollDirection = Axis.horizontal,
  this.startPage = 0,
  this.transformStyle = CubeTransformStyle.outside,
})  : itemBuilder = null,
      itemCount = null,
      super(key: key);