TouchRippleStyle constructor

const TouchRippleStyle({
  1. Key? key,
  2. required Widget child,
  3. Color? rippleColor,
  4. Color? hoverColor,
  5. Color? focusColor,
  6. double? rippleScale,
  7. double? ripplePadding,
  8. TouchRippleBlur? rippleBlur,
  9. double? sparkleRippleBlur,
  10. BorderRadius? rippleBorderRadius,
  11. Duration? previewDuration,
  12. Duration? tappableDuration,
  13. Duration? doubleTappableDuration,
  14. Duration? doubleTapAliveDuration,
  15. Duration? longTappableDuration,
  16. Duration? longTapCycleDuration,
  17. TouchRippleBehavior? tapBehavior,
  18. TouchRippleBehavior? doubleTapBehavior,
  19. TouchRippleBehavior? longTapBehavior,
  20. TouchRippleBehavior? dragBehavior,
  21. TouchRippleRejectBehavior? rejectBehavior,
  22. TouchRippleCancelBehavior? cancelBehavior,
  23. TouchRippleOverlapBehavior? overlapBehavior,
  24. TouchRippleRenderOrderType? renderOrderType,
  25. TouchRippleFocusTiming? focusTiming,
  26. TouchRippleOrigin? origin,
  27. TouchRippleShape? shape,
  28. TouchRippleAnimation? focusAnimation,
  29. TouchRippleAnimation? hoverAnimation,
  30. bool? useHoverEffect,
  31. bool? useFocusEffect,
  32. bool? useSparkleShader,
  33. bool? onlyMainButton,
})

Implementation

const TouchRippleStyle({
  super.key,
  required super.child,
  this.rippleColor,
  this.hoverColor,
  this.focusColor,
  this.rippleScale,
  this.ripplePadding,
  this.rippleBlur,
  this.sparkleRippleBlur,
  this.rippleBorderRadius,
  this.previewDuration,
  this.tappableDuration,
  this.doubleTappableDuration,
  this.doubleTapAliveDuration,
  this.longTappableDuration,
  this.longTapCycleDuration,
  this.tapBehavior,
  this.doubleTapBehavior,
  this.longTapBehavior,
  this.dragBehavior,
  this.rejectBehavior,
  this.cancelBehavior,
  this.overlapBehavior,
  this.renderOrderType,
  this.focusTiming,
  this.origin,
  this.shape,
  this.focusAnimation,
  this.hoverAnimation,
  this.useHoverEffect,
  this.useFocusEffect,
  this.useSparkleShader,
  this.onlyMainButton
});