use_case 0.1.2 copy "use_case: ^0.1.2" to clipboard
use_case: ^0.1.2 copied to clipboard

Architecture agnostic approach to UseCase implementation.

110/ 160
pub points
1.37k
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Resolving dependencies... Downloading packages...

  • _fe_analyzer_shared 91.0.0 (was 91.0.0)
  • analyzer 8.4.0 (was 8.4.0)
  • args 2.7.0 (was 2.7.0)
  • async 2.13.0 (was 2.13.0)
  • collection 1.19.1 (was 1.19.1)
  • convert 3.1.2 (was 3.1.2)
  • crypto 3.0.6 (was 3.0.6)
  • csslib 1.0.2 (was 1.0.2) [16 more lines] ERR: The current activation of dartdoc cannot resolve to the same set of dependencies.

Try reactivating the package. flutter pub global activate dartdoc Failed to update packages.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

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

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

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 18 issues. Showing the first 2:

WARNING: Unused import: 'dart:collection'.

lib/src/use_case_executor.dart:2:8

  ╷
2 │ import 'dart:collection';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Unused import: 'package:collection/collection.dart'.

lib/src/use_case_executor.dart:6:8

  ╷
6 │ import 'package:collection/collection.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.16.0 1.19.1 1.19.1
freezed_annotation ^2.1.0 2.4.4 3.1.0
synchronized ^3.0.0+3 3.4.0 3.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.2.0 2.2.0

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

The constraint `^2.1.0` on freezed_annotation does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
110
points
1.37k
downloads

Publisher

unverified uploader

Weekly Downloads

Architecture agnostic approach to UseCase implementation.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

collection, flutter, freezed_annotation, synchronized

More

Packages that depend on use_case