GiphyImage.original constructor

GiphyImage.original({
  1. Key? key,
  2. required GiphyGif gif,
  3. Widget? placeholder,
  4. double? width,
  5. double? height,
  6. BoxFit? fit,
  7. bool showGiphyAttribution = true,
})

Loads the original image for given Giphy gif.

Implementation

GiphyImage.original(
    {Key? key,
    required GiphyGif gif,
    this.placeholder,
    this.width,
    this.height,
    this.fit,
    this.showGiphyAttribution = true})
    : url = gif.images.original?.url,
      super(key: key ?? Key(gif.id));