GiphyGridView constructor

const GiphyGridView({
  1. Key? key,
  2. double cellPadding = 8,
  3. GiphyClipsRendition clipsPreviewRenditionType = GiphyClipsRendition.fixedWidth,
  4. required GiphyContentRequest content,
  5. bool disableEmojiVariations = false,
  6. bool fixedSizeCells = false,
  7. GiphyDirection orientation = GiphyDirection.vertical,
  8. GiphyRendition renditionType = GiphyRendition.fixedWidth,
  9. int? spanCount,
  10. bool showCheckeredBackground = false,
  11. GiphyTheme theme = GiphyTheme.automaticTheme,
  12. dynamic onContentUpdate(
    1. int resultCount
    )?,
  13. dynamic onMediaSelect(
    1. GiphyMedia media
    )?,
  14. dynamic onScroll(
    1. double offset
    )?,
})

Constructs a GiphyGridView.

Implementation

const GiphyGridView(
    {super.key,
    this.cellPadding = 8,
    this.clipsPreviewRenditionType = GiphyClipsRendition.fixedWidth,
    required this.content,
    this.disableEmojiVariations = false,
    this.fixedSizeCells = false,
    this.orientation = GiphyDirection.vertical,
    this.renditionType = GiphyRendition.fixedWidth,
    this.spanCount,
    this.showCheckeredBackground = false,
    this.theme = GiphyTheme.automaticTheme,
    this.onContentUpdate,
    this.onMediaSelect,
    this.onScroll});