StatefulVideoPlayer constructor
const
StatefulVideoPlayer({
- Key? key,
- String? videoUrl,
- PFile? videoFile,
- required String? thumbnailUrl,
- VoidCallback? onCompletion,
- required bool autoplay,
- bool? showControls,
- VideoInitializer? initializer,
- bool isThumbnail = false,
Implementation
const StatefulVideoPlayer({
Key? key,
this.videoUrl,
this.videoFile,
required this.thumbnailUrl,
this.onCompletion,
required this.autoplay,
this.showControls,
this.initializer,
this.isThumbnail = false,
}) : super(key: key);