IndefiniteRotation3DEffect constructor
const
IndefiniteRotation3DEffect({})
Implementation
const IndefiniteRotation3DEffect({
super.key,
required this.child,
this.autoRotate = true,
this.rotationCount,
this.rotateX = true,
this.rotateY = false,
this.rotationDuration = const Duration(seconds: 5),
this.allowUserRotation = true,
this.stopRotationOnUserInteraction = false,
this.gestureSensitivity = 0.01,
}) : assert(rotateX || rotateY, 'At least one axis must be true.'),
assert(rotationCount == null || rotationCount > 0,
'rotationCount must be greater than zero.');