The Pokedex App is a mobile application developed using Flutter, Firebase, Bloc (with Cubit), and other libraries. This app allows users to explore and manage their favorite Pokémon. It integrates with the Pokedex API to fetch Pokémon data and Firebase for user authentication and data storage.
- Splash Screen: A creative splash screen is displayed upon app launch. Users are directed to either the home screen or login screen based on their authentication status.
- Login and Signup: Users can create new accounts or log in using their email and password. Flutter Form Builder is used to validate user data, ensuring that only alphabets are accepted in the name field. Bloc is employed for the login/signup process.
- Home Screen: The home screen displays a list of Pokémon retrieved from the Pokedex API. Users can mark Pokémon as their favorites, and this information is stored locally.
- Favorites Screen: The favorites screen showcases all the favorite Pokémon of the logged-in user.
Before you begin, ensure you have met the following requirements:
- Flutter and Dart are installed on your development machine.
Follow these steps to set up and run the Pokedex app:
-
Clone the repository:
git clone https://github.com/zeeshan564/Pokemon-Flutter.git -
Change the directory to the project folder:
cd Pokemon-Flutter -
Install dependencies: flutter pub get
-
Run the app: flutter run
To configure Firebase authentication and storage, follow these steps:
- Create a Firebase project on the Firebase Console.
- Set up Firebase Authentication with email and password.
- Add your Firebase configuration to android/app/google-services.json (for Android) and ios/Runner/GoogleService-Info.plist (for iOS).
- Configure Firebase in your Flutter app by adding the necessary plugins and dependencies. Refer to the official documentation for guidance.
- Flutter
- Firebase
- Bloc and Cubit
- Flutter Form Builder
- Shared Preference (for local data storage)
- Pokedex API
Contributions are welcome! Feel free to open issues or submit pull requests to help improve this project.
This project is licensed under the MIT License.
If you have any questions or feedback, please contact shanirajput20092000@gmail.com.
- Pokedex API for providing Pokémon data.
- The Flutter and Firebase communities for their excellent resources and documentation.