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

https://github.com/kishan-dhankecha/networking-dio-flutter

An example app for best networking practices with dio in a flutter.
https://github.com/kishan-dhankecha/networking-dio-flutter

api-client demo-app dio example-app flutter flutter-demo flutter-dio flutter-examples interceptors networking

Last synced: about 1 month ago
JSON representation

An example app for best networking practices with dio in a flutter.

Awesome Lists containing this project

README

          

# Networking Dio Flutter

### An example app for Best networking practices with dio in flutter.

The functionalities of Dio showcased in this app are as follows:

* GET request
* POST request
* PUT request
* DELETE request
* Base options
* Uploading files
* Interceptors

## Getting Started

1. Install [Flutter](https://flutter.io)
2. [Clone](https://github.com/Kishan-Dhankecha/Networking-Dio-Flutter.git) the
repo
3. Run `flutter pub get && flutter pub run build_runner build`.
4. To keep the code generator running in a server
`flutter pub run build_runner serve --delete-conflicting-outputs`
> The `--delete-conflicting-outputs` flag helps to regenerate a part of the generated class if any conflicts are found.
5. Run `flutter run` (make sure to have an emulator running).

- For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.

## Original Source

- [Github Project] - sbis04's Github project
- [Blog] - Blog for the project

## Contributing

Pull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

[Github Project]:

[Blog]: