update method
void
update({
- double? width,
- double? height,
- BoxFit? fit,
- Color? fill,
- Alignment? alignment,
- double? aspectRatio,
- FilterQuality? filterQuality,
- VideoControlsBuilder? controls,
- SubtitleViewConfiguration? subtitleViewConfiguration,
Implementation
void update({
double? width,
double? height,
BoxFit? fit,
Color? fill,
Alignment? alignment,
double? aspectRatio,
FilterQuality? filterQuality,
VideoControlsBuilder? controls,
SubtitleViewConfiguration? subtitleViewConfiguration,
}) {
_videoViewParametersNotifier.value =
_videoViewParametersNotifier.value.copyWith(
width: width,
height: height,
fit: fit,
fill: fill,
alignment: alignment,
aspectRatio: aspectRatio,
filterQuality: filterQuality,
controls: controls,
subtitleViewConfiguration: subtitleViewConfiguration,
);
}