Skip to content

darvybm/pokedex-mobile

Repository files navigation

Pokédex App


Flutter Dart Multiplatform REST API PokeAPI

This project is a Pokédex mobile application that allows users to access detailed information about various Pokémon species using the API. The application is developed with Flutter and Dart, using pokeapi.co to obtain Pokémon data and SQLite for local data persistence, such as favorite Pokémon and caching API data for faster searches. These technologies ensure smooth performance and an enhanced user experience.

Index

Application

Main Menu
The main screen features a menu with key options such as Pokémon of the Day, Favorites List, Pokédex, and a Pokémon Gallery.

Displays a random Pokémon each day, saved using Shared Preferences.


Favorites List
Allows users to mark and easily access their favorite Pokémon.


Pokédex
A comprehensive list of Pokémon with extensive details about each one.


Gallery
Displays images of the available Pokémon for a rich visual experience.


Pokémon Details
When selecting a Pokémon, detailed information is displayed such as stats, abilities, and evolutions.


Features

  • Data Persistence
    Uses SQLite to store favorite Pokémon and images from the Gallery.

  • Visual Design
    Interface with Cards to present information attractively, using colors representative of each Pokémon type.

  • Pagination
    Pokémon are loaded in blocks of 20 from the pokeapi.co API.

  • Responsive Search
    Find Pokémon by name or ID, with support for uppercase, lowercase, and partial names.

  • Transitions and Animations
    Custom transitions and animations to enhance the user experience.

  • Habitat Image Generation
    AI-generated images to represent each Pokémon's habitat.

    Bug
    Bug
    Dark
    Dark
    Dragon
    Dragon
    Electric
    Electric
    Fairy
    Fairy
    Fighting
    Fighting
    Fire
    Fire
    Flying
    Flying
    Ghost
    Ghost
    Grass
    Grass
    Ground
    Ground
    Ice
    Ice
    Normal
    Normal
    Poison
    Poison
    Psychic
    Psychic
    Rock
    Rock
    Steel
    Steel
    Water
    Water
  • Color Assignment with Colors.dart Class
    A small service called color.dart was developed, where a set of colors is defined for each Pokémon type. This allows these colors to be used later for gradients, backgrounds, and more.

    Tipo Color
    Bug Bug Color #92BD2D
    Dark Dark Color #585660
    Water Water Color #539DDF
    Electric Electric Color #F2D94E
    Fairy Fairy Color #EF90E6
    Fire Fire Color #FBA64C
    Fighting Fighting Color #D3425F
    Flying Flying Color #8AA5DA
    Ghost Ghost Color #5160B7
    Grass Grass Color #60BD58
    Ground Ground Color #DA7C4D
    Ice Ice Color #51C4B6
    Normal Normal Color #9FA19E
    Poison Poison Color #B763CF
    Psychic Psychic Color #FA8582
    Rock Rock Color #C9BC8A
    Steel Steel Color #478491
    Dragon Dragon Color #539DDF

How to Use

Requirements

  • Dart SDK: Ensure that you have the Dart SDK installed on your machine.

  • Flutter SDK: Install Flutter SDK version 3.22.2.

    flutter --version

    Make sure the version is 3.22.2.

Caution

The app may not work with recent versions of Flutter due to some deprecations. It is recommended to use Flutter SDK version 3.22.2.

To run the application, follow these steps:

  1. Clone the Repository

    Clone the repository to your local machine using Git:

    git clone https://github.com/darvybm/pokedex-mobile.git
  2. Install Dependencies

    Navigate to the project directory and run the following command to install all the necessary dependencies:

    cd pokedex-mobile
    flutter pub get
  3. Configure the Project

    Make sure your pokeapi.co API is set up if needed. You can modify the configurations in the lib/services/api_service.dart file.

  4. Run the Application

    Run the application on an emulator or connected device with:

    flutter run

    You can also build a production version with:

    flutter build apk

Contributors

Here are the contributors to this project:

Your Name
Darvy Betances
Your Name
Eduardo Martínez

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact Me

LinkedIn Badge Email Badge

About

A mobile Pokédex app built with Flutter, powered by PokeAPI, allowing users to browse, search, and explore detailed, real-time Pokémon information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors