juice 1.1.2 copy "juice: ^1.1.2" to clipboard
juice: ^1.1.2 copied to clipboard

Juice is an opinionated, team-friendly, modular reactive state management framework for Flutter. It enforces clear boundaries and structured development, combining Clean Architecture-style use cases w [...]

130/ 160
pub points
101
downloads

We analyzed this package in the last hour, and awarded it 130 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Failed to verify repository URL.

Repository has multiple matching pubspec.yaml with name: juice.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: juice,
    • contains a version property, and,
    • does not contain a publish_to property.

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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

11018 out of 11271 API elements (97.8 %) have documentation comments.

Some symbols that are missing documentation: juice.ActivateAction.ActivateAction.new, juice.AdvancedFileOutput.createFile, juice.AdvancedFileOutput.output, juice.AnimatedGridState.AnimatedGridState.new, juice.AnimatedListState.AnimatedListState.new.

Passed check 10/10 points: Package has an example

Failed 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

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

Package not compatible with platform Web

Because:

  • package:juice/juice.dart that imports:
  • package:juice/src/bloc/bloc.dart that imports:
  • package:juice/src/bloc/src/use_case_builders/use_case_builder.dart that imports:
  • package:juice/src/bloc/src/use_case_builders/src/relay_use_case_builder.dart that imports:
  • package:juice/src/bloc/src/lifecycle/lifecycle.dart that imports:
  • package:juice/src/bloc/src/lifecycle/bloc_entry.dart that imports:
  • package:juice/src/bloc/src/juice_bloc.dart that imports:
  • package:juice/src/bloc/src/core/event_dispatcher.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:juice/juice.dart that imports:
  • package:juice/src/bloc/bloc.dart that imports:
  • package:juice/src/bloc/src/use_case_builders/use_case_builder.dart that imports:
  • package:juice/src/bloc/src/use_case_builders/src/relay_use_case_builder.dart that imports:
  • package:juice/src/bloc/src/lifecycle/lifecycle.dart that imports:
  • package:juice/src/bloc/src/lifecycle/bloc_entry.dart that imports:
  • package:juice/src/bloc/src/juice_bloc.dart that imports:
  • package:juice/src/bloc/src/core/event_dispatcher.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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.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 21 issues. Showing the first 2:

WARNING: The member 'reset' can only be used within 'package:juice/src/bloc/src/lifecycle/leak_detector.dart' or a test.

lib/src/bloc/src/bloc_scope.dart:480:18

    ╷
480 │     LeakDetector.reset();
    │                  ^^^^^
    ╵

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

WARNING: Unused import: 'stream_status.dart'.

lib/src/bloc/src/state_selector.dart:4:8

  ╷
4 │ import 'stream_status.dart';
  │        ^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
cupertino_icons ^1.0.8 1.0.8 1.0.8
logger ^2.5.0 2.6.2 2.6.2
rxdart ^0.28.0 0.28.0 0.28.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
fake_async - 1.3.3 1.3.3
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
matcher - 0.12.17 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.9
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2

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

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.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
130
points
101
downloads

Publisher

verified publishernuovea.com

Weekly Downloads

Juice is an opinionated, team-friendly, modular reactive state management framework for Flutter. It enforces clear boundaries and structured development, combining Clean Architecture-style use cases with a BLoC-inspired, stream-driven state model for predictable async workflows and scalable feature composition.

Topics

#bloc #reactive #clean-architecture #state-management

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, flutter_test, logger, rxdart

More

Packages that depend on juice