VimeoVideoPlayer constructor

const VimeoVideoPlayer({
  1. required String url,
  2. List<SystemUiOverlay> systemUiOverlay = const [SystemUiOverlay.top, SystemUiOverlay.bottom],
  3. List<DeviceOrientation> deviceOrientation = const [DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight, DeviceOrientation.portraitUp, DeviceOrientation.portraitDown],
  4. Duration? startAt,
  5. void onProgress(
    1. Duration timePoint
    )?,
  6. VoidCallback? onFinished,
  7. bool autoPlay = false,
  8. bool looping = false,
  9. Key? key,
})

Implementation

const VimeoVideoPlayer({
  required this.url,
  this.systemUiOverlay = const [
    SystemUiOverlay.top,
    SystemUiOverlay.bottom,
  ],
  this.deviceOrientation = const [
    DeviceOrientation.landscapeLeft,
    DeviceOrientation.landscapeRight,
    DeviceOrientation.portraitUp,
    DeviceOrientation.portraitDown,
  ],
  this.startAt,
  this.onProgress,
  this.onFinished,
  this.autoPlay = false,
  this.looping = false,
  Key? key,
}) : super(key: key);