Reflutter is a simple Dart library for automatically generating HTTP clients from simple metadata. It borrows heavily from the jaguar_http project and the Refit project for .NET.
example folder for a simple usage example.
Please file bugs and feature requests on GitHub.
reflutterwill serve as the main dependency while
refluter_generatorcan be a dev dependency.
Add this to your package's pubspec.yaml file:
dependencies: reflutter_generator: ^0.3.0+1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.6.0||Mar 12, 2019|
|0.5.2||Dec 3, 2018|
|0.5.1||Nov 26, 2018|
|0.5.0||Nov 25, 2018|
|0.4.5||Nov 13, 2018|
|0.4.1||Nov 7, 2018|
|0.4.0||Oct 25, 2018|
|0.3.0+1||Jul 8, 2018|
|0.3.0||Jul 8, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://dart.dev/dart-2#migration.
dartdoc successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.
|Dart SDK||>=2.0.0-dev.63.0 <2.0.0|