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: ^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.3.0+1||Jul 8, 2018|
|0.3.0||Jul 8, 2018|
|0.2.4||Jun 23, 2018|
|0.2.2||Jun 20, 2018|
|0.2.1||Jun 20, 2018|
|0.2.0+1||Jun 6, 2018|
|0.2.0||Jun 6, 2018|
|0.1.9||Jun 6, 2018|
|0.1.8||May 31, 2018|
|0.1.7||May 27, 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://www.dartlang.org/dart-2#migration.
|Dart SDK||>=2.0.0-dev.63.0 <2.0.0|