CubeTransform constructor
const
CubeTransform({
- double perspectiveScale = 0.0014,
- AlignmentGeometry rightPageAlignment = Alignment.centerLeft,
- AlignmentGeometry leftPageAlignment = Alignment.centerRight,
- double rotationAngle = 90,
Implementation
const CubeTransform({
this.perspectiveScale = 0.0014,
this.rightPageAlignment = Alignment.centerLeft,
this.leftPageAlignment = Alignment.centerRight,
double rotationAngle = 90,
}) : this.rotationAngle = math.pi / 180 * rotationAngle;