Skip to content

Pixabay Gallery is a Flutter-based application showcasing a gallery of images sourced from the Pixabay API. The app features a responsive grid layout, ensuring a smooth user experience across different device sizes, and supports infinite scrolling to load additional images seamlessly. Each image displays the number of likes and views.

Notifications You must be signed in to change notification settings

jnvshubham7/pixabay_gallery

Repository files navigation

Pixabay Gallery

image

Live Deployment

🔗 Pixabay Gallery Live

Overview

Pixabay Gallery is a Flutter-based application showcasing a gallery of images sourced from the Pixabay API. The app features a responsive grid layout, ensuring a smooth user experience across different device sizes, and supports infinite scrolling to load additional images seamlessly. Each image displays the number of likes and views.

Features

  • Image Gallery: Explore a variety of images fetched from the Pixabay API.
  • Responsive Grid Layout: The staggered grid adjusts automatically to different screen sizes.
  • Infinite Scroll: New images are dynamically loaded as you scroll to the bottom of the gallery.
  • Image Details: View the likes and views for each image below the thumbnail.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/jnvshubham7/pixabay_gallery.git
  2. Navigate to the project folder:

    cd pixabay_gallery
  3. Install dependencies:

    flutter pub get
  4. Launch the application:

    flutter run

Configuration

  • Pixabay API Key: Update the _fetchImages method with your Pixabay API key. You can obtain a key by signing up at Pixabay API.

Web Deployment

To deploy the app on GitHub Pages:

  1. Build the web version:

    flutter build web
  2. Follow the GitHub Pages guide to publish the build/web folder.

Usage

Once the app is running, scroll through the image gallery. New images will load automatically as you reach the bottom of the screen.

Contributing

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes and commit (git commit -m 'Add new feature').
  4. Push your branch (git push origin feature/YourFeature).
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Acknowledgments

About

Pixabay Gallery is a Flutter-based application showcasing a gallery of images sourced from the Pixabay API. The app features a responsive grid layout, ensuring a smooth user experience across different device sizes, and supports infinite scrolling to load additional images seamlessly. Each image displays the number of likes and views.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published