copyWith method

  1. @override
TouchRippleBehavior copyWith({
  1. TouchRippleOverlapBehavior? overlap,
  2. double? lowerPercent,
  3. double? upperPercent,
  4. double? fadeLowerPercent,
  5. double? fadeUpperPercent,
  6. double? eventCallBackableMinPercent,
  7. Duration? spreadDuration,
  8. Curve? spreadCurve,
  9. Duration? fadeInDuration,
  10. Curve? fadeInCurve,
  11. Duration? fadeOutDuration,
  12. Curve? fadeOutCurve,
  13. Duration? canceledDuration,
})
override

Implementation

@override
TouchRippleBehavior copyWith({
  TouchRippleOverlapBehavior? overlap,
  double? lowerPercent,
  double? upperPercent,
  double? fadeLowerPercent,
  double? fadeUpperPercent,
  double? eventCallBackableMinPercent,
  Duration? spreadDuration,
  Curve? spreadCurve,
  Duration? fadeInDuration,
  Curve? fadeInCurve,
  Duration? fadeOutDuration,
  Curve? fadeOutCurve,
  Duration? canceledDuration,
}) {
  return TouchRippleBehavior(
    overlap: overlap ?? this.overlap,
    lowerPercent: lowerPercent ?? this.lowerPercent,
    upperPercent: upperPercent ?? this.upperPercent,
    fadeLowerPercent: fadeLowerPercent ?? this.fadeLowerPercent,
    fadeUpperPercent: fadeUpperPercent ?? this.fadeUpperPercent,
    eventCallBackableMinPercent: eventCallBackableMinPercent ?? this.eventCallBackableMinPercent,
    spreadDuration: spreadDuration ?? this.spreadDuration,
    spreadCurve: spreadCurve ?? this.spreadCurve,
    fadeInDuration: fadeInDuration ?? this.fadeInDuration,
    fadeInCurve: fadeInCurve ?? this.fadeInCurve,
    fadeOutDuration: fadeOutDuration ?? this.fadeOutDuration,
    fadeOutCurve: fadeOutCurve ?? this.fadeOutCurve,
    canceledDuration: canceledDuration ?? this.canceledDuration,
    canceledCurve: canceledCurve ?? canceledCurve,
  );
}