Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/btanakan/flutter_bloc_pokedex

Pokedex API using bloc for state management and write code in clean architecture.
https://github.com/btanakan/flutter_bloc_pokedex

Last synced: 6 days ago
JSON representation

Pokedex API using bloc for state management and write code in clean architecture.

Awesome Lists containing this project

README

        

# flutter_pokemon_project

Using BLOC for state management.

## Introduction

This porject using BLOC for state management, fetching pokemon data show in List View infilny using BlocConsumer, and set router, and pokemonseraching function for searing pokemon in list or searing from API.


## Getting Started

These instructions will help you set up and run the project on your local machine.

1. **Clone the repository:**

```bash
git clone https://github.com/your-username/your-project.git
```

2. **Navigate to the project directory:**

```bash
cd your-project
```

3. **Install dependencies:**

```bash
flutter pub get
```

4. **Run the application:**

```bash
flutter run
```

## Folder Structure

- lib/
- common/
- config
- constants
- core
- style
- data/
- models
- repositories/
- services
- modules/
- home_page/
- bloc
- models
- repositories/
- impl
- views/
- widgets
- pokemon_detail_page/
- bloc
- models
- repositories/
- impl
- views/
- widgets
- splash_page
- router/
- utils/
- main.dart

## Dependencies

- [Bloc](https://pub.dev/packages/bloc)
- [Equatable](https://pub.dev/packages/equatable)