NativeVideoView constructor
const
NativeVideoView({
- Key? key,
- bool? keepAspectRatio,
- bool? showMediaController,
- bool? useExoPlayer,
- bool? autoHide,
- Duration? autoHideTime,
- bool? enableVolumeControl,
- required ViewCreatedCallback onCreated,
- required PreparedCallback onPrepared,
- required CompletionCallback onCompletion,
- ErrorCallback? onError,
- ProgressionCallback? onProgress,
Constructor of the widget.
Implementation
const NativeVideoView({
Key? key,
this.keepAspectRatio,
this.showMediaController,
this.useExoPlayer,
this.autoHide,
this.autoHideTime,
this.enableVolumeControl,
required this.onCreated,
required this.onPrepared,
required this.onCompletion,
this.onError,
this.onProgress,
}) : super(key: key);