GiphySettings constructor
const
GiphySettings({
- GiphyTheme theme = GiphyTheme.automaticTheme,
- List<
GiphyContentType> mediaTypeConfig = const [GiphyContentType.recents, GiphyContentType.gif, GiphyContentType.sticker, GiphyContentType.text, GiphyContentType.emoji, GiphyContentType.clips], - bool showConfirmationScreen = false,
- GiphyRating rating = GiphyRating.pg13,
- GiphyRendition? renditionType,
- GiphyClipsRendition? clipsPreviewRenditionType,
- GiphyRendition? confirmationRenditionType,
- bool showCheckeredBackground = false,
- int stickerColumnCount = 3,
- GiphyContentType selectedContentType = GiphyContentType.gif,
- bool showSuggestionsBar = true,
- bool enableDynamicText = false,
- GiphyFileFormat fileFormat = GiphyFileFormat.webp,
- 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,
});