GiphyVideoView constructor

const GiphyVideoView({
  1. Key? key,
  2. String? mediaId,
  3. GiphyMedia? media,
  4. bool autoPlay = true,
  5. bool muted = false,
  6. dynamic onMute()?,
  7. dynamic onUnmute()?,
  8. dynamic onPlaybackStateChanged(
    1. GiphyVideoViewPlaybackState state
    )?,
  9. dynamic onError(
    1. String description
    )?,
})

Constructs a GiphyVideoView.

Implementation

const GiphyVideoView(
    {super.key,
    this.mediaId,
    this.media,
    this.autoPlay = true,
    this.muted = false,
    this.onMute,
    this.onUnmute,
    this.onPlaybackStateChanged,
    this.onError});