copyWith method
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,
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,
);
}