RotIcon constructor

const RotIcon({
  1. Key? key,
  2. required DeviceOrientation orientation,
  3. required IconData icon,
  4. VoidCallback? onPressed,
  5. double size = 30,
  6. bool animate = true,
  7. Duration duration = const Duration(milliseconds: 160),
  8. Curve curve = Curves.easeOut,
  9. Color color = Colors.white,
})

Implementation

const RotIcon({
  super.key,
  required this.orientation,
  required this.icon,
  this.onPressed,
  this.size = 30,
  this.animate = true,
  this.duration = const Duration(milliseconds: 160),
  this.curve = Curves.easeOut,
  this.color = Colors.white,
});