Aus öffentlichen Paketdaten erstellte Orientierung.
giphy_get ist ein Dart-Paket, das Entwicklern die Integration der Giphy-Emoji-, Sticker- und GIF-Suchfunktion direkt in Flutter-Anwendungen ermöglicht. Es unterstützt alle wichtigen Plattformen wie Android, iOS, Web, macOS, Windows und Linux und sorgt für eine konsistente Benutzererfahrung über Geräte hinweg. Das Paket bietet eine reine Dart-Implementierung ohne Abhängigkeiten von Native-Code, was die Integration und Wartung vereinfacht. Es bietet eine einfache API zum Abrufen und Anzeigen von Inhalten aus der umfangreichen Giphy-Bibliothek – ideal zur Verbesserung sozialer oder Nachrichtenfunktionen.
Anwendungsfälle
GIFs zu Chat-Oberflächen hinzufügen
Benutzer-Ausdrücke mit Emojis verbessern
Sticker-Auswahlkomponenten erstellen
Integration der Giphy-Suche in soziale Apps
Interaktive Messaging-Funktionen erstellen
Hauptmerkmale
Plattformübergreifende Unterstützung
Reine Dart-Implementierung
GIF-, Emoji- und Aufkleber-Suche
Einfache API für die Integration
Kein natives Code erforderlich
Geeignet für
Messaging-Apps
Soziale Medienplattformen
Interaktive Benutzeroberflächenkomponenten
Apps, die ausdrucksstarken Inhalt benötigen
Entwickler, die plattformunabhängige Lösungen suchen
Hinweise
Benötigt Internetverbindung für den Zugriff auf Giphy
Eingeschränkte Anpassung der Giphy-Oberfläche
Abhängig von der Verfügbarkeit der Giphy-API
Bei Anwendungen mit hohem Datenverkehr könnte eine Rate-Limiting-Einstellung erforderlich sein
Keine eingebaute Offline-Caching-Funktion
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
🚀 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