CubePageView constructor
const
CubePageView({
- Key? key,
- ValueChanged<
int> ? onPageChanged, - PageController? controller,
- required List<
Widget> ? children, - Axis scrollDirection = Axis.horizontal,
- int startPage = 0,
- 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);