net_retrofit_kit 0.2.15 copy "net_retrofit_kit: ^0.2.15" to clipboard
net_retrofit_kit: ^0.2.15 copied to clipboard

discontinuedreplaced by: net_retrofit_dio

[DISCONTINUED] Declarative HTTP client built on Dio: define APIs with annotations and generate implementations with build_runner. Supports multiple clients, custom parsing, and unified error handling. [...]

110/ 160
pub points
19
downloads

We analyzed this package 5 days ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Artistic-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

64 out of 118 API elements (54.2 %) have documentation comments.

Some symbols that are missing documentation: net_retrofit_kit.ApiError.ApiError.new, net_retrofit_kit.ApiError.cause, net_retrofit_kit.ApiError.code, net_retrofit_kit.ApiError.data, net_retrofit_kit.ApiError.kind.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

lib/src/generate/method_generator_config.dart:260:68

    ╷
260 │   /// Method return type name (e.g. UserModel extracted from Future<UserModel>)
    │                                                                    ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/generate/method_generator_config.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
analyzer >=8.1.1 <12.0.0 11.0.0 14.0.0
build >=3.0.0 <5.0.0 4.0.6 4.0.6
dio >=5.0.0 <6.0.0 5.9.2 5.9.2
source_gen >=4.2.0 <5.0.0 4.2.3 4.2.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 97.0.0 104.0.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.7 3.1.9
dio_web_adapter - 2.1.2 2.1.2
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
mime - 2.0.0 2.0.0
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.4.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `>=8.1.1 <12.0.0` on analyzer does not support the stable version `12.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_CLASS - lib/src/network/http_error.dart:35:33 - Undefined class 'DioException'.
  • UNDEFINED_IDENTIFIER - lib/src/network/http_error.dart:36:28 - Undefined name 'DioExceptionType'.
  • UNDEFINED_CLASS - lib/src/network/http_logging_interceptor.dart:44:16 - Undefined class 'DioException'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Flutter 3.44.2, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
19
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

[DISCONTINUED] Declarative HTTP client built on Dio: define APIs with annotations and generate implementations with build_runner. Supports multiple clients, custom parsing, and unified error handling. @Body() accepts Map<String, dynamic> or a class model; for non-Map types the generator emits body.toJson(), so models must implement toJson.

Repository (GitHub)
View/report issues

Topics

#flutter #networking #retrofit #code-generation #dio

License

Artistic-2.0 (license)

Dependencies

analyzer, build, dio, flutter, source_gen

More

Packages that depend on net_retrofit_kit