reflutter 0.5.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 77

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: ^0.5.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:reflutter/reflutter.dart';
  
Version Uploaded Documentation Archive
0.5.2 Dec 3, 2018 Go to the documentation of reflutter 0.5.2 Download reflutter 0.5.2 archive
0.5.1 Nov 26, 2018 Go to the documentation of reflutter 0.5.1 Download reflutter 0.5.1 archive
0.5.0 Nov 25, 2018 Go to the documentation of reflutter 0.5.0 Download reflutter 0.5.0 archive
0.4.5 Nov 13, 2018 Go to the documentation of reflutter 0.4.5 Download reflutter 0.4.5 archive
0.4.1 Nov 7, 2018 Go to the documentation of reflutter 0.4.1 Download reflutter 0.4.1 archive
0.4.0 Oct 25, 2018 Go to the documentation of reflutter 0.4.0 Download reflutter 0.4.0 archive
0.3.0+1 Jul 8, 2018 Go to the documentation of reflutter 0.3.0+1 Download reflutter 0.3.0+1 archive
0.3.0 Jul 8, 2018 Go to the documentation of reflutter 0.3.0 Download reflutter 0.3.0 archive
0.2.4 Jun 23, 2018 Go to the documentation of reflutter 0.2.4 Download reflutter 0.2.4 archive
0.2.2 Jun 20, 2018 Go to the documentation of reflutter 0.2.2 Download reflutter 0.2.2 archive

All 20 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
57
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]
77
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:reflutter/reflutter.dart.

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.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.63.0 <3.0.0
analyzer ^0.32.1 0.32.6 0.34.0
http ^0.12.0 0.12.0
meta ^1.1.5 1.1.6
Transitive dependencies
args 1.5.1
async 2.0.8
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
csslib 0.14.6
front_end 0.1.4+2 0.1.7
glob 1.1.7
html 0.13.3+3
http_parser 3.1.3
kernel 0.3.4+2 0.3.7
logging 0.11.3+2
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
test any