Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kauahensilva/flutter_api_request

A Flutter application to demonstrate how to make API requests.
https://github.com/kauahensilva/flutter_api_request

api dart flutter

Last synced: 9 days ago
JSON representation

A Flutter application to demonstrate how to make API requests.

Awesome Lists containing this project

README

        

# flutter_api_request

A Flutter application to demonstrate how to make API requests.

### 🚀 Project Initiative

A project developed in Flutter and Dart to demonstrate knowledge.

### 📋 Prerequisites for Running

Make sure you have Flutter and Dart installed. If not, follow the instructions at [flutter.dev](https://flutter.dev/docs/get-started/install) or this [YouTube tutorial](https://www.youtube.com/watch?v=7Kpd6eprz4k) for installation.

Flutter --version:

```
Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (7 days ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4
```

Have a workspace set up with [Visual Studio Code](https://code.visualstudio.com/).

Within this environment (VSCode), install the [Dart](https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code) and [Flutter](https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter) extensions.

### 🔧 Deployment

1. **Clone this repository:**

```bash
git clone https://github.com/KauaHenSilva/flutter_api_request
```

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

```bash
cd flutter_api_request
```

3. **Get the dependencies:**

```bash
flutter pub get
```

4. **Build the application:**

```bash
flutter build $deviseType
```

### Usage

Now the project is set up. You can run it with the following command:

flutter run

When viewing the screen:

```
[1]: 'Device' (Android)
[2]: 'Device' (iOS)
[3]: Windows (windows)
[4]: Linux (linux)
[5]: Chrome (chrome)
[6]: Edge (edge)
```

Press the best option for your case.