VideoPlayerState constructor
VideoPlayerState({})
Implementation
VideoPlayerState({
required VideoState state,
required VideoController controller,
required List<String> paths,
required this.height,
required this.width,
}) : super(
isPlaying: controller.player.state.playing,
paths: paths,
) {
_state = state;
_controller = controller;
stream = controller.player.stream;
this.state = controller.player.state;
_player = _controller.player;
}