All Projects → firstfloorsoftware → giphy_picker

firstfloorsoftware / giphy_picker

Licence: BSD-3-Clause license
A giphy picker for flutter

Programming Languages

dart
5743 projects
C++
36643 projects - #6 most used programming language
CMake
9771 projects
HTML
75241 projects
c
50402 projects - #5 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to giphy picker

giphy-js
Official GIPHY packages
Stars: ✭ 101 (+215.63%)
Mutual labels:  giphy
react-native-giphy
Integrate GIPHY into your React Native project (works with react-native-gifted-chat)
Stars: ✭ 25 (-21.87%)
Mutual labels:  giphy
tootbot
Python tool for mirroring Reddit posts to Twitter and Mastodon
Stars: ✭ 68 (+112.5%)
Mutual labels:  giphy
oembed
PHP OEmbed wrapper for well-known video platforms and services
Stars: ✭ 26 (-18.75%)
Mutual labels:  giphy
scifgif
Humorous image microservice for isolated networks
Stars: ✭ 18 (-43.75%)
Mutual labels:  giphy
giphy-react-native-sdk
GIPHY react native SDK
Stars: ✭ 28 (-12.5%)
Mutual labels:  giphy
SwiftyGiphy
A UI and API layer for Giphy discovery and integration.
Stars: ✭ 90 (+181.25%)
Mutual labels:  giphy
giphygram
🔎 Experimental React application for searching GIF images on GIPHY
Stars: ✭ 23 (-28.12%)
Mutual labels:  giphy
gifbar
🦄 Find Awesome Gif's right in your Menu Bar
Stars: ✭ 37 (+15.63%)
Mutual labels:  giphy
GiphyImageResultsPreview
Library for GIF results, preview, play, share everything at one place!
Stars: ✭ 28 (-12.5%)
Mutual labels:  giphy
UnityGiphy
Library for using the GiphyAPI in Unity to get and play random Gifs as MP4s
Stars: ✭ 35 (+9.38%)
Mutual labels:  giphy

giphy_picker

A Flutter package that allows you to pick animated GIF images from Giphy.

Gif

Getting Started

First, you need to register an app at the Giphy Developers Portal in order to retrieve an API key.

Pick a GIF:

import 'package:giphy_picker/giphy_picker.dart';

final gif = await GiphyPicker.pickGif(
                  context: context, 
                  apiKey: '[YOUR GIPHY APIKEY]');

Display a GIF using the GiphyImage widget. The following snippet demonstrates how to render a GIF in its original format:

Widget build(BuildContext context) {
  return GiphyImage.original(gif: gif);
}

Alternatively, load and display the GIF image using the Image widget:

Widget build(BuildContext context) {
  return Image.network(
      gif.images.original.url, 
      headers: {'accept': 'image/*'}))
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].