copyWith method

  1. @useResult
FCheckboxMotion copyWith({
  1. Duration? fadeInDuration,
  2. Duration? fadeOutDuration,
  3. Curve? fadeInCurve,
  4. Curve? fadeOutCurve,
})

Returns a copy of this FCheckboxMotion with the given properties replaced.

Parameters

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,
);