Skip to content

ManuGMoya/Marvel-Flutter

Repository files navigation

Marvel Flutter App

This is a Flutter project that implements a master-detail pattern using the Marvel API. The app allows users to explore Marvel characters and view specific details about each one.

Technologies and Libraries

  • Flutter: Cross-platform mobile application development framework.
  • Provider: ^6.0.1 - For state management.
  • Dio: ^5.0.0 - To make HTTP request library with more features.
  • Crypto: ^3.0.1 - For cryptographic operations needed for authentication with the Marvel API.
  • Flutter Dotenv: ^5.0.2 - To handle environment variables.

Features

  • Character List: Displays a list of Marvel characters using the API.
  • Character Detail: Shows a detailed view with more information when a character is selected.

Installation

  1. Clone the repository:
    git clone https://github.com/ManuGMoya/marvel_flutter.git
  2. Navigate to the project directory:
    cd marvel_flutter
  3. Install dependencies:
    flutter pub get
  4. Create a .env file in the root of the project with the following variables (you can get your keys from the Marvel Developer Portal):
    MARVEL_PUBLIC_KEY=your_public_key
    MARVEL_PRIVATE_KEY=your_private_key

Usage

After running the app, you will see a list of Marvel characters. You can scroll through the list to view more characters. Tapping on a character will take you to a detailed view where you can see more information about the character and the comics they appear in.

Run the application on an emulator or physical device:

flutter run

Project Structure

  • lib/ Contains the application's source code.
  • models/ Data models used in the application.
  • providers/ Providers for state management.
  • screens/ Application screens.
  • services/ Services to interact with the Marvel API.
  • widgets/ Reusable UI components.
  • main.dart Entry point of the application.

Contributions

Contributions are welcome. Please open an issue or submit a pull request for any improvements or corrections.

License

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

Links

About

Marvel API master-detail Flutter project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published