service_provider_dart 1.0.2 copy "service_provider_dart: ^1.0.2" to clipboard
service_provider_dart: ^1.0.2 copied to clipboard

flutter service provider like java spi

2
likes
90/ 160
pub points
0%
popularity

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

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

10 out of 33 API elements (30.3 %) have documentation comments.

Some symbols that are missing documentation: builder, each_service_info, each_service_info.EachServiceInfo, each_service_info.EachServiceInfo.EachServiceInfo, each_service_info.EachServiceInfo.implStr.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:service_provider_dart/builder.dart that imports:
  • package:service_provider_dart/parse/service_annotation_parse.dart that imports:
  • package:service_provider_dart/parse/service_parse_helper.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:service_provider_dart/builder.dart that imports:
  • package:service_provider_dart/parse/service_annotation_parse.dart that imports:
  • package:service_provider_dart/parse/service_parse_helper.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Windows

Because:

  • package:service_provider_dart/builder.dart that imports:
  • package:service_provider_dart/parse/service_annotation_parse.dart that imports:
  • package:service_provider_dart/parse/service_parse_helper.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Linux

Because:

  • package:service_provider_dart/builder.dart that imports:
  • package:service_provider_dart/parse/service_annotation_parse.dart that imports:
  • package:service_provider_dart/parse/service_parse_helper.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform macOS

Because:

  • package:service_provider_dart/builder.dart that imports:
  • package:service_provider_dart/parse/service_annotation_parse.dart that imports:
  • package:service_provider_dart/parse/service_parse_helper.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:service_provider_dart/builder.dart that imports:
  • package:service_provider_dart/parse/service_annotation_parse.dart that imports:
  • package:service_provider_dart/parse/service_parse_helper.dart that imports:
  • package:dart_style/dart_style.dart that imports:
  • package:dart_style/src/exceptions.dart that imports:
  • package:analyzer/error/error.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/sdk.dart that imports:
  • package:analyzer/dart/ast/visitor.dart that imports:
  • package:analyzer/dart/ast/ast.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/bundle_reader.dart that imports:
  • package:analyzer/src/summary2/linked_element_factory.dart that imports:
  • package:analyzer/src/dart/resolver/scope.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/src/services/lint.dart that imports:
  • package:analyzer/src/lint/linter.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:service_provider_dart/builder.dart that imports:
  • package:service_provider_dart/parse/service_annotation_parse.dart that imports:
  • package:service_provider_dart/parse/service_parse_helper.dart that imports:
  • package:dart_style/dart_style.dart that imports:
  • package:dart_style/src/exceptions.dart that imports:
  • package:analyzer/error/error.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/sdk.dart that imports:
  • package:analyzer/dart/ast/visitor.dart that imports:
  • package:analyzer/dart/ast/ast.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/bundle_reader.dart that imports:
  • package:analyzer/src/summary2/linked_element_factory.dart that imports:
  • package:analyzer/src/dart/resolver/scope.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/src/services/lint.dart that imports:
  • package:analyzer/src/lint/linter.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

/tmp/pana_VNCGVI/lib/interface/service_interface.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
analyzer ^3.4.1 3.4.1 6.11.0
build ^2.2.1 2.3.1 2.4.1
build_runner ^2.1.8 2.2.0 2.4.13
code_builder ^4.1.0 4.10.1 4.10.1
cupertino_icons ^1.0.4 1.0.8 1.0.8
dart_style ^2.2.2 2.2.3 2.3.7
flutter flutter 0.0.0 0.0.0
source_gen ^1.2.1 1.2.2 1.5.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 38.0.0 76.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
build_config - 1.1.1 1.1.1
build_daemon - 3.1.1 4.0.2
build_resolvers - 2.0.9 2.4.2
build_runner_core - 7.2.7+1 7.3.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
characters - 1.3.0 1.3.1
checked_yaml - 2.0.3 2.0.3
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
frontend_server_client - 2.1.3 4.0.0
glob - 2.1.2 2.1.2
graphs - 2.3.2 2.3.2
http_multi_server - 3.2.1 3.2.1
http_parser - 4.0.2 4.1.1
io - 1.0.4 1.0.4
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
pool - 1.5.1 1.5.1
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
shelf - 1.4.1 1.4.2
shelf_web_socket - 1.0.4 2.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
timing - 1.0.1 1.0.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 1.1.0
web_socket_channel - 2.4.5 3.0.1
yaml - 3.1.2 3.1.2

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

The constraint `^3.4.1` on analyzer does not support the stable version `4.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.