copyWith method
TransitionState
copyWith({
- int? position,
- bool? preview,
- TransitionType? type,
- TransitionStyle? style,
- int? rate,
- int? nextTransition,
Implementation
TransitionState copyWith({
int? position,
bool? preview,
TransitionType? type,
TransitionStyle? style,
int? rate,
int? nextTransition,
}) {
return TransitionState(
position: position ?? this.position,
preview: preview ?? this.preview,
type: type ?? this.type,
style: style ?? this.style,
rate: rate ?? this.rate,
nextTransition: nextTransition ?? this.nextTransition,
);
}