sm_network 0.0.6 copy "sm_network: ^0.0.6" to clipboard
sm_network: ^0.0.6 copied to clipboard

A Flutter networking library that provides a simple and convenient way to access network resources.

2
likes
120/ 140
pub points
36%
popularity

We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

339 out of 527 API elements (64.3 %) have documentation comments.

Some symbols that are missing documentation: sm_network, sm_network.APIConfig.contentType, sm_network.APIConfig.copyWith, sm_network.APIConfig.dio, sm_network.APIConfig.extra.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:sm_network/sm_network.dart that imports:
  • package:sm_network/src/common/api_pageable.dart that imports:
  • package:sm_network/src/common/api_mixin.dart that imports:
  • package:sm_logger/sm_logger.dart that imports:
  • package:sm_logger/src/m_logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

lib/src/common/api_mixin.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/src/common/api_pageable.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
convert ^3.1.1 3.1.1 3.1.1
cross_file ^0.3.3 0.3.4+1 0.3.4+1
crypto ^3.0.3 3.0.3 3.0.3
dio ^5.4.3 5.4.3+1 5.4.3+1
dio_cache_interceptor ^3.5.0 3.5.0 3.5.0
json_annotation ^4.8.1 4.9.0 4.9.0
sm_logger ^0.0.7 0.0.7 0.0.7
sm_models ^0.0.4 0.0.4 0.0.4
xml ^6.5.0 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
fixnum - 1.1.0 1.1.0
flutter - 0.0.0 0.0.0
get - 4.6.6 4.6.6
http_parser - 4.0.2 4.0.2
logger - 2.2.0 2.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

2
likes
120
pub points
36%
popularity

Publisher

unverified uploader

A Flutter networking library that provides a simple and convenient way to access network resources.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

convert, cross_file, crypto, dio, dio_cache_interceptor, json_annotation, sm_logger, sm_models, xml

More

Packages that depend on sm_network