Chopper

pub package Dart CI codecov

Chopper is an http client generator for Dart and Flutter using source_gen and inspired by Retrofit.

Documentation

Adding Chopper to your project

In your project's pubspec.yaml file,

  • Add chopper's latest version to your dependencies.
  • Add build_runner: ^2.4.9 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: ^2.4.9
  chopper_generator: ^<latest version>

Latest versions:

  • chopper pub package
  • chopper_generator pub package

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.