VimeoVideoPlayer constructor
const
VimeoVideoPlayer({
- required String url,
- List<
SystemUiOverlay> systemUiOverlay = const [SystemUiOverlay.top, SystemUiOverlay.bottom], - List<
DeviceOrientation> deviceOrientation = const [DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight, DeviceOrientation.portraitUp, DeviceOrientation.portraitDown], - Duration? startAt,
- void onProgress(
- Duration timePoint
- VoidCallback? onFinished,
- bool autoPlay = false,
- bool looping = false,
- 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);