Chopper
Chopper is an http client generator for Dart and Flutter using source_gen and inspired by Retrofit.
Adding Chopper to your project
In your project's pubspec.yaml
file,
- Add chopper's latest version to your dependencies.
- Add
build_runner: ^1.12.2
to your dev_dependencies.- build_runner may already be in your dev_dependencies depending on your project setup and other dependencies.
- Add chopper_generator's latest version to your dev_dependencies.
# pubspec.yaml
dependencies:
chopper: ^<latest version>
dev_dependencies:
build_runner: ^1.12.2
chopper_generator: ^<latest version>
Latest versions:
- chopper
- chopper_generator
Documentation
Examples
If you encounter any issues, or need a feature implemented, please visit Chopper's Issue Tracker on GitHub.
Libraries
- chopper
- Chopper is an http client generator using source_gen and inspired by Retrofit.