RotateWidget constructor
RotateWidget({})
Implementation
RotateWidget({
Key? key,
this.inavtiveColor = Colors.grey,
this.activeColor = Colors.red,
this.inactiveSize = 40,
this.activeSize = 50,
this.curve = Curves.ease,
this.duration = const Duration(milliseconds: 1000),
required this.onTap,
this.activeIcon = Icons.favorite,
this.inactiveIcon = Icons.favorite_border,
}) : super(key: key);