NetworkVideo constructor

const NetworkVideo({
  1. Key? key,
  2. required String url,
  3. required VideoPlayerAdapter adapterFactory(),
  4. String? posterUrl,
  5. bool autoPlay = false,
  6. BorderRadius? borderRadius,
  7. double? aspectRatio,
  8. Widget? playOverlay,
  9. 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,
});