GiphySettings constructor

const GiphySettings({
  1. GiphyTheme theme = GiphyTheme.automaticTheme,
  2. List<GiphyContentType> mediaTypeConfig = const [GiphyContentType.recents, GiphyContentType.gif, GiphyContentType.sticker, GiphyContentType.text, GiphyContentType.emoji, GiphyContentType.clips],
  3. bool showConfirmationScreen = false,
  4. GiphyRating rating = GiphyRating.pg13,
  5. GiphyRendition? renditionType,
  6. GiphyClipsRendition? clipsPreviewRenditionType,
  7. GiphyRendition? confirmationRenditionType,
  8. bool showCheckeredBackground = false,
  9. int stickerColumnCount = 3,
  10. GiphyContentType selectedContentType = GiphyContentType.gif,
  11. bool showSuggestionsBar = true,
  12. bool enableDynamicText = false,
  13. GiphyFileFormat fileFormat = GiphyFileFormat.webp,
  14. bool disableEmojiVariations = false,
})

Constructs an instance of GiphySettings with the given settings.

Implementation

const GiphySettings({
  this.theme = GiphyTheme.automaticTheme,
  this.mediaTypeConfig = const [
    GiphyContentType.recents,
    GiphyContentType.gif,
    GiphyContentType.sticker,
    GiphyContentType.text,
    GiphyContentType.emoji,
    GiphyContentType.clips,
  ],
  this.showConfirmationScreen = false,
  this.rating = GiphyRating.pg13,
  this.renditionType,
  this.clipsPreviewRenditionType,
  this.confirmationRenditionType,
  this.showCheckeredBackground = false,
  this.stickerColumnCount = 3,
  this.selectedContentType = GiphyContentType.gif,
  this.showSuggestionsBar = true,
  this.enableDynamicText = false,
  this.fileFormat = GiphyFileFormat.webp,
  this.disableEmojiVariations = false,
});