Pixabay Picker in Flutter

Flutter Plugin

Pixabay Picker is a flutter plugin which provides a pure dart API for getting media from pixabay.com. Later on we will enhance this project with a Flutter Media picker too.

Albert Papp

My Role


Plugin to access pixabay site.



Create API interface

Note that you can search pixabay localized, if you set the language parameter accordingly in constructor

  PixabayPicker picker = PixabayPicker(apiKey: ApiKey, language: "hu");

Get images for business category

  PixabayResponse res = await picker.api
      .requestImages(resultsPerPage: 4, category: Category.business);   

You can iterate the result like this

  res.hits.forEach((f) {
      // use your media

Get Images with keywords

// get 30 image tagged as dog from pixabay
// note we created the api object with hungarian
// language so the keyword is in hungarian too

res =
      await api.requestImagesWithKeyword(keyword: "kutya", resultsPerPage: 30);

Search other media

You can search for videos too

 res =
      await api.requestVideosWithKeyword(keyword: "kutya", resultsPerPage: 30);

Download media

  BytesBuilder bytes =
        await api.downloadMedia(res.hits[0], Resolution.medium);

Get 3 video and 3 image for each category

  Stream<Map<String, Map<MediaType, PixabayResponse>>> result =
          photoResultsPerCategory: 3, videoResultsPerCategory: 3);

  result.listen((Map<String, Map<MediaType, PixabayResponse>> onData) {
    var values = onData.values.toList();
    var keys = onData.keys.toList();

    print(keys[0] + ":" + values[0][MediaType.video].hits[0].toString());
    print(keys[0] + ":" + values[0][MediaType.photo].hits[0].toString());

Case Studies

Selected Works

Pixabay Picker Plugin

Flutter Plugin

Pixabay picker is a flutter plugin that allows to search and download pixabay media. I have created the plugin to assist eFLYR asset search functionality.

Read Me

Ambiental App

Mobile and Web written in Flutter

A dedicated project to help register and administrate different findings and create beautiful reports from them.

Read Me


Web App written in Flutter

MCIS is web application that allows to monitor severel film rights/assets on different TV channels in order to find out breach of contract.

Read Me

Turul Trail App

Mobile App Flutter

Turul Trail is a mobile app that allows to complete on a trail running race.

Read Me


Social marketing video app Flutter

The eFLYR application is a social marketing tool. It enables inexperienced users to create, mantain, and follow social marketing video campaigns on several platforms.

Read Me