VideoWidget constructor

const VideoWidget({
  1. Key? key,
  2. required ExtensionContext context,
  3. VideoControllerCallback? callback,
  4. List<DeviceOrientation>? deviceOrientationsOnEnterFullScreen,
  5. List<DeviceOrientation> deviceOrientationsAfterFullScreen = DeviceOrientation.values,
})

Implementation

const VideoWidget({
  Key? key,
  required this.context,
  this.callback,
  this.deviceOrientationsOnEnterFullScreen,
  this.deviceOrientationsAfterFullScreen = DeviceOrientation.values,
}) : super(key: key);