DoubleTapLikeWidget constructor
const
DoubleTapLikeWidget({
- Key? key,
- required VoidCallback onLike,
- required Widget child,
- required Widget likeWidget,
- Duration translateDuration = const Duration(milliseconds: 2400),
- Duration animationDuration = const Duration(milliseconds: 900),
- Curve curve = Curves.easeInOutCubic,
- double likeWidth = 200,
- double likeHeight = 200,
Implementation
const DoubleTapLikeWidget({
super.key,
required this.onLike,
required this.child,
required this.likeWidget,
this.translateDuration = const Duration(milliseconds: 2400),
this.animationDuration = const Duration(milliseconds: 900),
this.curve = Curves.easeInOutCubic,
this.likeWidth = 200,
this.likeHeight = 200,
});