copyWith method

NoticeThemeData copyWith({
  1. NoticeStyle? style,
  2. bool? onGoing,
  3. Curve? curve,
  4. Curve? reverseCurve,
  5. Duration? duration,
  6. Duration? animeDuration,
})

Implementation

NoticeThemeData copyWith({
  NoticeStyle? style,
  bool? onGoing,
  Curve? curve,
  Curve? reverseCurve,
  Duration? duration,
  Duration? animeDuration,
}) {
  return NoticeThemeData(
    style: style ?? this.style,
    onGoing: onGoing ?? this.onGoing,
    curve: curve ?? this.curve,
    reverseCurve: reverseCurve ?? this.reverseCurve,
    duration: duration ?? this.duration,
    animeDuration: animeDuration ?? this.animeDuration,
  );
}