copyWith method

ScaleRelease copyWith({
  1. ScaleDir? direction,
  2. ScaleZone? startZone,
  3. ScaleZone? endZone,
  4. List<AxisFling>? decay,
  5. AxisFling? settle,
})

Implementation

ScaleRelease copyWith({
  ScaleDir? direction,
  ScaleZone? startZone,
  ScaleZone? endZone,
  List<AxisFling>? decay,
  AxisFling? settle,
}) =>
    ScaleRelease(
      direction: direction ?? this.direction,
      startZone: startZone ?? this.startZone,
      endZone: endZone ?? this.endZone,
      decay: decay ?? this.decay,
      settle: settle ?? this.settle,
    );