Orientação gerada a partir de informações públicas. Apenas para referência.
giphy_get é um pacote Dart que permite aos desenvolvedores integrar diretamente a funcionalidade de pesquisa de emojis, adesivos e GIFs do Giphy em aplicativos Flutter. Ele suporta todas as principais plataformas, incluindo Android, iOS, Web, macOS, Windows e Linux, proporcionando experiências consistentes entre dispositivos. O pacote oferece uma implementação pura em Dart, sem dependências de código nativo, simplificando integração e manutenção. Oferece uma API simples para buscar e exibir conteúdo da vasta biblioteca do Giphy, ideal para aprimorar funcionalidades sociais ou de mensagens.
Casos de uso
Adicionando GIFs às interfaces de chat
Melhorando expressões de usuários com emojis
Criando componentes de seleção de adesivos
Integrando a pesquisa do Giphy em aplicativos sociais
Construindo recursos de mensagens interativas
Principais recursos
Suporte multiplataforma
Implementação pura em Dart
Pesquisa de GIF, emoji e adesivos
API simples para integração
Nenhum código nativo necessário
Indicado para
Aplicativos de mensagens
Plataformas de mídia social
Componentes de interface interativa
Aplicativos que precisam de conteúdo expressivo
Desenvolvedores procurando soluções independentes de plataforma
Considerações
Requer conexão com a internet para acesso ao Giphy
Personalização limitada da interface do Giphy
Depende da disponibilidade da API do Giphy
Pode ser necessário limitação de taxa em aplicativos de alto tráfego
Nenhuma cache offline embutida
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
🚀 New: Batch & Progressive Loading (vNEXT)
Smarter, User-Friendly GIF Loading
This release introduces a modern loading experience:
Batch Loading: Only visible GIFs are loaded/rendered, reducing network and memory usage. Off-screen GIFs are loaded as you scroll.
Progressive Loading: While a GIF loads, a blurred static thumbnail (if available) is shown, then swapped for the full GIF when ready—just like YouTube thumbnails!
Custom Loading/Failed Widgets: You can pass your own widgets to display while loading or on error, for a fully branded experience.
The grid uses a lazy builder, so only visible GIFs are loaded.
Each GIF first shows a blurred static image (if available) as a placeholder, then swaps in the full GIF when loaded.
This keeps users confident that something is happening, even on slow networks.
See the documentation in GiphyTabDetail and GiphyGifWidget for more details.
giphy_get
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
Localizations
Currently english and spanish is supported.
returnMaterialApp(
title: 'Giphy Get Demo',
localizationsDelegates: [
// Default DelegatesGlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
// Add this lineGiphyGetUILocalizations.delegate
],
supportedLocales: [
// Your supported languagesLocale('en', ''),
Locale('es', ''),
Locale('da', ''),
],
home: MyHomePage(title: 'Giphy Get Demo'),
themeMode: Provider.of<ThemeProvider>(context).currentTheme,
);
Get only Gif
This is for get gif without wrapper and tap to more
import'package:giphy_get/giphy_get.dart';
GiphyGif gif = awaitGiphyGet.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.
tabColor:Colors.teal, // Optional- default accent color.
debounceTimeInMilliseconds: 350, // Optional- time to pause between search keystrokes
);
Options
Value
Type
Description
Default
lang
String
Use ISO 639-1 language code or use GiphyLanguage constants
A custom builder for tab top. Must return a widget that will replace default Giphy-like tab top
null. Displays default Giphy-like tab top
tabBottomBuilder
Widget Function(BuildContext context)
A custom builder for tab bottom. Must return a widget that will replace default Giphy credits logo. Note that credits are required to be shown by Giphy