The functionalities of Dio showcased in this app are as follows:
- GET request
- POST request
- PUT request
- DELETE request
- Base options
- Uploading files
- Interceptors
- Install Flutter
- Clone the repo
- Run
flutter pub get && flutter pub run build_runner build
. - 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.
- Run
flutter run
(make sure to have an emulator running).
- For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- Github Project - sbis04's Github project
- Blog - Blog for the project
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.