A Flutter application that allows users to browse and search for artworks from the Art Institute of Chicago's API. The app features a responsive design, image downloading capabilities, and efficient state management using the GetX package.
- Browse a collection of artworks.
- Search for artworks by title or keyword.
- Pagination support for loading more artworks.
- Download images directly to the device.
- Responsive design for both web and mobile platforms.
- Flutter
- Dart
- GetX for state management
- HTTP package for API calls
- CanvasKit for rendering on the web
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/artworks_images.git cd artworks_images
-
Install dependencies:
Make sure you have Flutter installed on your machine. Then run:
flutter pub get
-
Run the application:
You can run the app on an emulator or a physical device:
flutter run
For web, ensure you have the web environment set up and run:
flutter run -d chrome
-
Browse Artworks:
- The app will display a list of artworks fetched from the Art Institute of Chicago's API.
-
Search for Artworks:
- Use the search bar to filter artworks by title or keyword.
-
Load More Artworks:
- Scroll to the bottom of the list to automatically fetch more artworks.
-
Download Images:
- Click on the download button next to an artwork to save the image to your device.
Here are some screenshots of the application:
Home Screen displaying a list of artworks.
Search functionality in action.
Detail view of a selected artwork.
(Make sure to replace the image paths with the actual paths to your screenshots.)
You can view the live demo of the application at the following link:
Contributions are welcome! If you have suggestions for improvements or new features, please fork the repository and submit a pull request.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Art Institute of Chicago API for providing access to the artwork data.
- Flutter for the framework.
- GetX for state management.