url_protocol 1.0.0 copy "url_protocol: ^1.0.0" to clipboard
url_protocol: ^1.0.0 copied to clipboard

PlatformWindows

A unified library to register custom URL protocol handlers across all supported platforms.

13
likes
145/ 160
pub points
84%
popularity

We analyzed this package 45 hours ago, and awarded it 145 pub points (of a possible 160):

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

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:22:26

   ╷
22 │ <p>Use this library with <a href="http://pub.dev/packages/multi_instance_handler">multi_instance_handler</a>
   │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

3 out of 3 API elements (100.0 %) have documentation comments.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:url_protocol/url_protocol.dart that imports:
  • package:url_protocol/src/api.dart that imports:
  • package:url_protocol/src/windows_protocol.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:url_protocol/url_protocol.dart that imports:
  • package:url_protocol/src/api.dart that imports:
  • package:url_protocol/src/windows_protocol.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:url_protocol/url_protocol.dart that imports:
  • package:url_protocol/src/api.dart that imports:
  • package:url_protocol/src/windows_protocol.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:url_protocol/url_protocol.dart that imports:
  • package:url_protocol/src/api.dart that imports:
  • package:url_protocol/src/windows_protocol.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:url_protocol/url_protocol.dart that imports:
  • package:url_protocol/src/api.dart that imports:
  • package:url_protocol/src/windows_protocol.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:url_protocol/url_protocol.dart that imports:
  • package:url_protocol/src/api.dart that imports:
  • package:url_protocol/src/windows_protocol.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/winrt/userdatapaths.dart that imports:
  • package:win32/src/winrt_helpers.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/user32.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/structs.dart that imports:
  • package:win32/src/constants.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi

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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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
ffi ^1.0.0 1.2.1 2.1.3
flutter flutter 0.0.0 0.0.0
win32 ^2.0.5 2.6.1 5.8.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^1.0.0` on ffi does not support the stable version `2.0.0`.

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

The constraint `^2.0.5` on win32 does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions win32 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.5, Dart 3.5.4.

Check the analysis log for details.

13
likes
145
pub points
84%
popularity

Publisher

verified publisherloren.dev

A unified library to register custom URL protocol handlers across all supported platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ffi, flutter, win32

More

Packages that depend on url_protocol