reflutter_generator 0.5.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 50

Reflutter

Status
CI BuildTravis
ReleaseTravis
PackagePub

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.

Usage

See the example folder for a simple usage example.

Features and bugs

Please file bugs and feature requests on GitHub.

Changelog

0.5.2

  • Fixed a bug where null or undefined query parameters were included in query strings.

0.5.1

  • Reintroduced request/response interceptors
  • Cleaned up output code.

0.5.0

  • Updated typing and some other code quality issues.
  • Increased support for query parameters
  • Support for optional parameters.
  • Updated packages and serialization support.

0.3.0

  • Reorganized into three separate packages. reflutter will serve as the main dependency while refluter_generator can be a dev dependency.
  • Removed the dependency on the Jaguar project for serialization. Instead, we opt for the more standard Dart JSON serialization.
  • Test infrastructure and some very simple unit tests have been added.
  • Travis build infrastructure updated.

0.2.4

0.2.3

  • Build change to cache items between phases.

0.2.2

  • Initial release with a changelog.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  reflutter_generator: ^0.5.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:reflutter_generator/reflutter_generator.dart';
  
Version Uploaded Documentation Archive
0.5.2 Dec 3, 2018 Go to the documentation of reflutter_generator 0.5.2 Download reflutter_generator 0.5.2 archive
0.5.1 Nov 26, 2018 Go to the documentation of reflutter_generator 0.5.1 Download reflutter_generator 0.5.1 archive
0.5.0 Nov 25, 2018 Go to the documentation of reflutter_generator 0.5.0 Download reflutter_generator 0.5.0 archive
0.4.5 Nov 13, 2018 Go to the documentation of reflutter_generator 0.4.5 Download reflutter_generator 0.4.5 archive
0.4.1 Nov 7, 2018 Go to the documentation of reflutter_generator 0.4.1 Download reflutter_generator 0.4.1 archive
0.4.0 Oct 25, 2018 Go to the documentation of reflutter_generator 0.4.0 Download reflutter_generator 0.4.0 archive
0.3.0+1 Jul 8, 2018 Go to the documentation of reflutter_generator 0.3.0+1 Download reflutter_generator 0.3.0+1 archive
0.3.0 Jul 8, 2018 Go to the documentation of reflutter_generator 0.3.0 Download reflutter_generator 0.3.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
3
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Jan 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.10

Platforms

Detected platforms: other

Primary library: package:reflutter_generator/reflutter_generator.dart with components: io, isolate, build, mirrors.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use reflutter_generator.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.63.0 <3.0.0
analyzer ^0.32.2 0.32.6 0.34.1
build ^1.0.1 1.1.0
code_builder ^3.1.1 3.1.3
dart_style ^1.1.1 1.1.3 1.2.2
logging ^0.11.3+1 0.11.3+2
meta ^1.1.5 1.1.7
reflutter ^0.5.2 0.5.2
source_gen ^0.9.0+1 0.9.1+3 0.9.4
Transitive dependencies
args 1.5.1
async 2.0.8
built_collection 4.1.0
built_value 6.2.0
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
csslib 0.14.6
fixnum 0.10.9
front_end 0.1.4+2 0.1.8
glob 1.1.7
html 0.13.3+3
http 0.12.0+1
http_parser 3.1.3
kernel 0.3.4+2 0.3.8
matcher 0.12.4
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
quiver 2.0.1
source_span 1.5.1
stack_trace 1.9.3
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
build_runner ^1.0.0