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

ValueTypeDescriptionDefault
langStringUse ISO 639-1 language code or use GiphyLanguage constantsGiphyLanguage.english
randomIDStringAn ID/proxy for a specific user.null
searchTextStringInput search hint, we recomend use flutter_18n pcakage for translation"Search GIPHY"
tabColorColorColor for tabs and loading progress,Theme.of(context).accentColor

Contrib

Feel free to make any PR's

Libraries

giphy_get