copyWith method
EnabledControls
copyWith({
- bool? desktopTapToPlayAndPause,
- bool? seekSwipes,
- bool? volumeSwipes,
- bool? brightnessSwipes,
- bool? doubleTapToSeek,
- bool? desktopDoubleTapToFullScreen,
- bool? volumeArrows,
- bool? seekArrows,
- bool? escapeKeyCloseFullScreen,
- bool? numPadDecimalKeyToggleFit,
- bool? enterKeyOpensFullScreen,
- bool? spaceKeyTogglePlay,
- bool? onLongPressSpeedUp,
Implementation
EnabledControls copyWith(
{bool? desktopTapToPlayAndPause,
bool? seekSwipes,
bool? volumeSwipes,
bool? brightnessSwipes,
bool? doubleTapToSeek,
bool? desktopDoubleTapToFullScreen,
bool? volumeArrows,
bool? seekArrows,
bool? escapeKeyCloseFullScreen,
bool? numPadDecimalKeyToggleFit,
bool? enterKeyOpensFullScreen,
bool? spaceKeyTogglePlay,
bool? onLongPressSpeedUp}) {
return EnabledControls(
desktopTapToPlayAndPause:
desktopTapToPlayAndPause ?? this.desktopTapToPlayAndPause,
seekSwipes: seekSwipes ?? this.seekSwipes,
volumeSwipes: volumeSwipes ?? this.volumeSwipes,
brightnessSwipes: brightnessSwipes ?? this.brightnessSwipes,
doubleTapToSeek: doubleTapToSeek ?? this.doubleTapToSeek,
desktopDoubleTapToFullScreen:
desktopDoubleTapToFullScreen ?? this.desktopDoubleTapToFullScreen,
volumeArrows: volumeArrows ?? this.volumeArrows,
seekArrows: seekArrows ?? this.seekArrows,
escapeKeyCloseFullScreen:
escapeKeyCloseFullScreen ?? this.escapeKeyCloseFullScreen,
numPadDecimalKeyToggleFit:
numPadDecimalKeyToggleFit ?? this.numPadDecimalKeyToggleFit,
enterKeyOpensFullScreen:
enterKeyOpensFullScreen ?? this.enterKeyOpensFullScreen,
spaceKeyTogglePlay: spaceKeyTogglePlay ?? this.spaceKeyTogglePlay,
onLongPressSpeedUp: onLongPressSpeedUp ?? this.onLongPressSpeedUp);
}