copyWith method

  1. @useResult
FToasterMotion copyWith({
  1. Duration? expandDuration,
  2. Duration? collapseDuration,
  3. Curve? expandCurve,
  4. Curve? collapseCurve,
})

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

Parameters

Implementation

@useResult
FToasterMotion copyWith({
  Duration? expandDuration,
  Duration? collapseDuration,
  Curve? expandCurve,
  Curve? collapseCurve,
}) => FToasterMotion(
  expandDuration: expandDuration ?? this.expandDuration,
  collapseDuration: collapseDuration ?? this.collapseDuration,
  expandCurve: expandCurve ?? this.expandCurve,
  collapseCurve: collapseCurve ?? this.collapseCurve,
);