cast 2.0.0 copy "cast: ^2.0.0" to clipboard
cast: ^2.0.0 copied to clipboard

Dart package to discover and connect with Chromecast devices

75
likes
120/ 140
pub points
90%
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.

OK
Provide documentation
20 / 20trigger folding of the section

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

180 out of 375 API elements (48.0 %) have documentation comments.

Some symbols that are missing documentation: cast, cast_channel.pb, cast_channel.pb.AuthChallenge, cast_channel.pb.AuthChallenge.AuthChallenge, cast_channel.pb.AuthChallenge.check.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:cast/cast.dart that imports:
  • package:cast/discovery_service.dart that imports:
  • package:bonsoir/bonsoir.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:cast/cast.dart that imports:
  • package:cast/discovery_service.dart that imports:
  • package:bonsoir/bonsoir.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:cast/cast.dart that imports:
  • package:cast/discovery_service.dart that imports:
  • package:bonsoir/bonsoir.dart that declares support for platforms: Android, iOS, macOS.

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

Package does not support platform `Android`.

Because:

  • package:cast/cast.dart that imports:
  • package:cast/discovery_service.dart that imports:
  • package:bonsoir/bonsoir.dart that imports:
  • package:bonsoir_platform_interface/bonsoir_platform_interface.dart that imports:
  • package:bonsoir_platform_interface/src/service/service.dart that imports:
  • package:bonsoir_platform_interface/src/actions/action.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:cast/cast.dart that imports:
  • package:cast/discovery_service.dart that imports:
  • package:bonsoir/bonsoir.dart that imports:
  • package:bonsoir_platform_interface/bonsoir_platform_interface.dart that imports:
  • package:bonsoir_platform_interface/src/service/service.dart that imports:
  • package:bonsoir_platform_interface/src/actions/action.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:cast/cast.dart that imports:
  • package:cast/discovery_service.dart that imports:
  • package:bonsoir/bonsoir.dart that imports:
  • package:bonsoir_platform_interface/bonsoir_platform_interface.dart that imports:
  • package:bonsoir_platform_interface/src/service/service.dart that imports:
  • package:bonsoir_platform_interface/src/actions/action.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/cast_channel/cast_channel.pb.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/cast_channel/cast_channel.pb.dart

INFO: Dangling library doc comment.

lib/cast_channel/cast_channel.pbenum.dart:1:1

  ╷
1 │ ///
  │ ^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/cast_channel/cast_channel.pbenum.dart

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

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

Package Constraint Compatible Latest
bonsoir ^3.0.0 3.0.0+1 5.1.9
flutter flutter 0.0.0 0.0.0
protobuf ^3.1.0 3.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.4.2 2.4.2
bonsoir_android - 3.0.0+1 5.1.4
bonsoir_darwin - 3.0.0 5.1.2
bonsoir_platform_interface - 3.0.0 5.1.2
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
connectivity_plus - 4.0.2 6.0.1
connectivity_plus_platform_interface - 1.2.4 2.0.0
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
nm - 0.5.0 0.5.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

The constraint `^3.0.0` on bonsoir does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

75
likes
120
pub points
90%
popularity

Publisher

verified publishereivo.co

Dart package to discover and connect with Chromecast devices

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bonsoir, flutter, protobuf

More

Packages that depend on cast