NetworkVideo constructor
const
NetworkVideo({
- Key? key,
- required String url,
- required VideoPlayerAdapter adapterFactory(),
- String? posterUrl,
- bool autoPlay = false,
- BorderRadius? borderRadius,
- double? aspectRatio,
- Widget? playOverlay,
- Widget? loadingIndicator,
Implementation
const NetworkVideo({
super.key,
required this.url,
required this.adapterFactory,
this.posterUrl,
this.autoPlay = false,
this.borderRadius,
this.aspectRatio,
this.playOverlay,
this.loadingIndicator,
});