ModulaRotateOut constructor

const ModulaRotateOut({
  1. required Widget child,
  2. Key? key,
  3. Duration duration = const Duration(milliseconds: 400),
  4. Curve curve = Curves.easeInOut,
  5. bool rotateOut = true,
  6. double rotationAngle = 3.14,
  7. Alignment alignment = Alignment.center,
  8. VoidCallback? onEnd,
})

Implementation

const ModulaRotateOut({
  required this.child,
  super.key,
  this.duration = const Duration(milliseconds: 400),
  this.curve = Curves.easeInOut,
  this.rotateOut = true,
  this.rotationAngle = 3.14, // default 180 degrees
  this.alignment = Alignment.center,
  this.onEnd,
});