musk 0.0.1 copy "musk: ^0.0.1" to clipboard
musk: ^0.0.1 copied to clipboard

Musk gives you utils widgets and interfaces to apply separation of concerns

2
likes
110/ 160
pub points
36
downloads

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

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

59 out of 166 API elements (35.5 %) have documentation comments.

Some symbols that are missing documentation: musk, musk.AsyncService, musk.AsyncService.AsyncService, musk.AsyncService.async, musk.AsyncUseCase.

10/10 points: Package has an example

failed
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 does not support platform `Android`.

Because:

  • package:musk/musk.dart that imports:
  • package:musk/src/contracts/repository.dart that imports:
  • package:musk/src/services/connectivity_service.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:musk/musk.dart that imports:
  • package:musk/src/contracts/repository.dart that imports:
  • package:musk/src/services/connectivity_service.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 `Windows`.

Because:

  • package:musk/musk.dart that imports:
  • package:musk/src/contracts/repository.dart that imports:
  • package:musk/src/services/connectivity_service.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:musk/musk.dart that imports:
  • package:musk/src/contracts/repository.dart that imports:
  • package:musk/src/services/connectivity_service.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.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:musk/musk.dart that imports:
  • package:musk/src/contracts/repository.dart that imports:
  • package:musk/src/services/connectivity_service.dart that imports:
  • package:musk/src/contracts/domain/service.dart that imports:
  • package:get/get.dart that imports:
  • package:get/route_manager.dart that imports:
  • package:get/get_navigation/get_navigation.dart that imports:
  • package:get/get_navigation/src/root/get_material_app.dart that imports:
  • package:get/get_utils/get_utils.dart that imports:
  • package:get/get_utils/src/platform/platform.dart that imports:
  • package:get/get_utils/src/platform/platform_web.dart that imports:
  • dart:html

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 40 issues. Showing the first 2:

WARNING: Doc directive 'marco' is unknown.

lib/src/annotations/musk_annotation.dart:228:9

    ╷
228 │   /// {@marco musk.annotation.equals}
    │         ^^^^^
    ╵

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

WARNING: Doc directive 'marco' is unknown.

lib/src/annotations/musk_annotation.dart:291:9

    ╷
291 │   /// {@marco musk.annotation.hashCode}
    │         ^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
analyzer ^4.6.0 4.7.0 7.1.0
build ^2.3.0 2.4.1 2.4.2
connectivity_plus ^3.0.2 3.0.6 6.1.1
flutter flutter 0.0.0 0.0.0
get ^4.6.5 4.6.6 4.6.6
meta ^1.8.0 1.15.0 1.16.0
shared_preferences ^2.0.15 2.3.4 2.3.4
source_gen ^1.2.2 1.2.6 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 47.0.0 78.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.2.4 3.0.1
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
js - 0.6.7 0.7.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
nm - 0.5.0 0.5.0
package_config - 2.1.1 2.1.1
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.5 2.1.5
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
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.1.4 2.1.4
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^4.6.0` on analyzer does not support the stable version `5.0.0`.

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

The constraint `^3.0.2` on connectivity_plus does not support the stable version `4.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_ENUM_CONSTANT - lib/src/services/connectivity_service.dart:76:31 - There's no constant named 'other' in 'ConnectivityResult'.

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

2
likes
110
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Musk gives you utils widgets and interfaces to apply separation of concerns

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, connectivity_plus, flutter, get, meta, shared_preferences, source_gen

More

Packages that depend on musk