The Image Gallery App is a mobile application that allows users to explore a curated collection of images. Users can view images, mark them as favorites, and access their favorite images in a dedicated Favorites section.
- The app displays a collection of images, each accompanied by the author's name.
- Users can scroll horizontally to view different images.
- Each image has a button labeled "Add to Favorites". When tapped, the image is marked as a favorite.
- Marked favorites have a filled heart icon, while unmarked ones have an outlined heart icon.
- Users can access their favorite images by tapping the heart icon in the app bar.
- The Favorites section displays a list of favorite images, including the author's name.
- In the Favorites section, users can tap the heart icon on a favorite image to remove it from the list.
-
Viewing Images:
- Open the app to view a collection of images.
- Swipe left or right to explore different images.
-
Adding to Favorites:
- Tap the "Add to Favorites" button below an image to mark it as a favorite.
- The button will change to "Remove from Favorites" if the image is already a favorite.
-
Accessing Favorites:
- Tap the heart icon in the app bar to navigate to the Favorites section.
- Here, you'll find a list of your favorite images.
-
Removing from Favorites:
- In the Favorites section, tap the heart icon below an image to remove it from your favorites.
- Flutter
- Dart
- HTTP Package (for network requests)
To run the app locally, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Ensure you have Flutter and Dart SDK installed.
- Run
flutter pub get
to install dependencies. - Use
flutter run
to launch the app on your preferred device/emulator.