GiphyMediaView constructor

const GiphyMediaView({
  1. Key? key,
  2. GiphyMediaViewController? controller,
  3. String? mediaId,
  4. GiphyMedia? media,
  5. bool autoPlay = true,
  6. GiphyRendition renditionType = GiphyRendition.fixedWidth,
  7. GiphyResizeMode resizeMode = GiphyResizeMode.cover,
  8. bool showCheckeredBackground = true,
  9. dynamic onError(
    1. String description
    )?,
})

Constructs a GiphyMediaView.

Implementation

const GiphyMediaView(
    {super.key,
    this.controller,
    this.mediaId,
    this.media,
    this.autoPlay = true,
    this.renditionType = GiphyRendition.fixedWidth,
    this.resizeMode = GiphyResizeMode.cover,
    this.showCheckeredBackground = true,
    this.onError});