CubeWidget constructor

const CubeWidget({
  1. Key? key,
  2. required int index,
  3. required double pageNotifier,
  4. required Widget child,
  5. Axis rotationDirection = Axis.horizontal,
  6. bool centerAligned = false,
  7. CubeTransformStyle transformStyle = CubeTransformStyle.outside,
})

Implementation

const CubeWidget({
  Key? key,
  required this.index,
  required this.pageNotifier,
  required this.child,
  this.rotationDirection = Axis.horizontal,
  this.centerAligned = false,
  this.transformStyle = CubeTransformStyle.outside,
}) : super(key: key);