TouchScale constructor

const TouchScale({
  1. Key? key,
  2. Duration? previewDuration,
  3. Duration? duration,
  4. Curve? curve,
  5. Duration? reverseDuration,
  6. Curve? reverseCurve,
  7. double? scale,
  8. TouchScaleResolver? resolver,
  9. TouchScaleCallPhase? callPhase,
  10. TouchScaleBehavior? behavior,
  11. TouchScaleRejectBehavior? rejectBehavior,
  12. VoidCallback? onPress,
  13. VoidCallback? onPressStart,
  14. VoidCallback? onPressEnd,
  15. VoidCallback? onScaleStart,
  16. VoidCallback? onScaleEnd,
  17. required Widget child,
})

Implementation

const TouchScale({
  super.key,
  this.previewDuration,
  this.duration,
  this.curve,
  this.reverseDuration,
  this.reverseCurve,
  this.scale,
  this.resolver,
  this.callPhase,
  this.behavior,
  this.rejectBehavior,
  this.onPress,
  this.onPressStart,
  this.onPressEnd,
  this.onScaleStart,
  this.onScaleEnd,
  required this.child,
});