AnimateLikeWidget constructor
AnimateLikeWidget({
- Key? key,
- Duration duration = const Duration(milliseconds: 2000),
- Widget child = const Icon(Icons.favorite, color: Colors.red),
- VoidCallback? onDestory,
- Curve curve = Curves.easeInOutCubic,
Implementation
AnimateLikeWidget({
Key? key,
this.duration = const Duration(milliseconds: 2000),
this.child = const Icon(Icons.favorite, color: Colors.red),
this.onDestory,
this.curve = Curves.easeInOutCubic,
}) : super(key: key);