Skip to content

svprdga/flutter_gif_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Giphy Clone - sample project

This is a Flutter sample code to demonstrate how to consume the Giphy API and display their GIFs.

You can find the related video in Youtube and Odysee.

Instructions

Follow these instructions to run this sample:

  1. Create a file lib/keys.dart with the following content, substituting the string values with your own Giphy API keys:
import 'dart:io';

final giphyApiKey = Platform.isAndroid
    ? 'your-android-key'
    : 'your-iOS-key';
  1. The Giphy API requires to give attribution, this project uses two of their images to accomplish that. You can find more information on their Quick Start Guide. Follow the link that they provide to download the official attribution images and then copy the following files (path on the left) to their destination within the project (path on the right):
  • /Static Logos/Large/Dark Backgrounds/Poweredby_640px-Black_HorizText.png => assets/images/img_giphy_dark.png
  • /Static Logos/Large/Light Backgrounds/Poweredby_640px-White_HorizText.png => assets/images/img_giphy_light.png

(*) The path or name of the files may not be exactly what is indicated here.

About

A flutter app that shows GIFs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published