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
130/ 140
pub points
0%
popularity

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

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
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

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

10/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.27.7

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

8
likes
130
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