ChatVideoPlayerView constructor

const ChatVideoPlayerView({
  1. Key? key,
  2. String? path,
  3. String? url,
  4. String? coverUrl,
  5. String? heroTag,
  6. Dio? dio,
  7. dynamic onDownloadFinished(
    1. String url,
    2. String path
    )?,
  8. dynamic onStartDownload(
    1. String url,
    2. String path
    )?,
  9. bool enabledHero = false,
})

Implementation

const ChatVideoPlayerView({
  Key? key,
  this.path,
  this.url,
  this.coverUrl,
  this.heroTag,
  this.dio,
  this.onDownloadFinished,
  this.onStartDownload,
  this.enabledHero = false,
}) : super(key: key);