copyWith method
Returns a copy of this FCheckboxMotion with the given properties replaced.
Parameters
- FCheckboxMotion.fadeInDuration - The duration of the fade in animation.
- FCheckboxMotion.fadeOutDuration - The duration of the fade out animation.
- FCheckboxMotion.fadeInCurve - The curve of the fade in animation.
- FCheckboxMotion.fadeOutCurve - The curve of the fade out animation.
Implementation
@useResult
FCheckboxMotion copyWith({
Duration? fadeInDuration,
Duration? fadeOutDuration,
Curve? fadeInCurve,
Curve? fadeOutCurve,
}) => FCheckboxMotion(
fadeInDuration: fadeInDuration ?? this.fadeInDuration,
fadeOutDuration: fadeOutDuration ?? this.fadeOutDuration,
fadeInCurve: fadeInCurve ?? this.fadeInCurve,
fadeOutCurve: fadeOutCurve ?? this.fadeOutCurve,
);