VideoPlayerState constructor
VideoPlayerState()
Implementation
VideoPlayerState() {
_listener = () {
final int? newTextureId = widget.controller!.textureId;
if (newTextureId != _textureId) {
setState(() {
_textureId = newTextureId;
});
}
};
}