state_graph_bloc 5.0.0 copy "state_graph_bloc: ^5.0.0" to clipboard
state_graph_bloc: ^5.0.0 copied to clipboard

A bloc package with concise state graph builder. Build transitions, side effects and global events in a centralised, type-safe manner.

8
likes
140/ 160
pub points
0%
popularity

We analyzed this package 8 days ago, and awarded it 140 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

36 out of 38 API elements (94.7 %) have documentation comments.

Some symbols that are missing documentation: state_graph_bloc, state_graph_bloc.StateGraphBloc.isClosed.

10/10 points: Package has an example

OK
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

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.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: The import of 'graph.dart' is unnecessary because all of the used elements are also provided by the import of '../state_graph_bloc.dart'.

lib/src/graph_bloc.dart:6:8

  ╷
6 │ import 'graph.dart';
  │        ^^^^^^^^^^^^
  ╵

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

INFO: The null check operator shouldn't be used on a variable whose type is a potentially nullable type parameter.

lib/src/graph_bloc.dart:65:55

   ╷
65 │           final entry = _mapEventToState(previousState!, event);
   │                                                       ^
   ╵

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

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
rxdart ^0.27.0 0.27.7 0.28.0

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

The constraint `^0.27.0` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart 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.13, Dart 3.5.3.

Check the analysis log for details.

8
likes
140
pub points
0%
popularity

Publisher

verified publisherjelenski.net

A bloc package with concise state graph builder. Build transitions, side effects and global events in a centralised, type-safe manner.

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

rxdart

More

Packages that depend on state_graph_bloc