giphy_get 2.0.4 copy "giphy_get: ^2.0.4" to clipboard
giphy_get: ^2.0.4 copied to clipboard

outdated

Pick EMOJI,STICKER or GIF from Giphy in pure dart code. Support Android,iOS,Web and Desktop.

giphy_get #

pub package pub package

Overview #

This package allow to get gifs, sticker or emojis from GIPHY in pure dart code using Giphy SDK design guidelines.

Inspiration #

Result #

Getting Started #

Important! you must register your app at Giphy Develepers and get your APIKEY

import 'package:giphy_get/giphy_get.dart';

GiphyGif gif = await GiphyGet.getGif(
  context: context, //Required
  apiKey: "your api key HERE", //Required.
  lang: GiphyLanguage.english, //Optional - Language for query.
  randomID: "abcd", // Optional - An ID/proxy for a specific user. 
  searchText :"Search GIPHY",//Optional - AppBar search hint text.
  tabColor:Colors.teal, // Optional- default accent color.
);

Options #

Value Type Description Default
lang String Use ISO 639-1 language code or use GiphyLanguage constants GiphyLanguage.english
randomID String An ID/proxy for a specific user. null
searchText String Input search hint, we recomend use flutter_18n package for translation "Search GIPHY"
tabColor Color Color for tabs and loading progress, Theme.of(context).accentColor

Get Random ID #


GiphyClient giphyClient = GiphyClient(apiKey: "YOUR API KEY");
String randomId = await giphyClient.getRandomId();

Contrib #

Feel free to make any PR's

131
likes
60
points
4.44k
downloads

Publisher

unverified uploader

Weekly Downloads

Pick EMOJI,STICKER or GIF from Giphy in pure dart code. Support Android,iOS,Web and Desktop.

Documentation

API reference

License

MIT (license)

Dependencies

extended_image, flutter, flutter_staggered_grid_view, http, meta, provider

More

Packages that depend on giphy_get