RotIcon constructor
const
RotIcon({
- Key? key,
- required DeviceOrientation orientation,
- required IconData icon,
- VoidCallback? onPressed,
- double size = 30,
- bool animate = true,
- Duration duration = const Duration(milliseconds: 160),
- Curve curve = Curves.easeOut,
- 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,
});