TTVideoPlayerView constructor

TTVideoPlayerView({
  1. Key? key,
  2. NativeViewType nativeViewType = NativeViewType.TextureView,
  3. required OnPlatformViewCreated onPlatformViewCreated,
})

Implementation

TTVideoPlayerView(
    {super.key,
    this.nativeViewType = NativeViewType.TextureView,
    required this.onPlatformViewCreated}) {
  initNativeView();
}