isolate_bloc 2.1.1 copy "isolate_bloc: ^2.1.1" to clipboard
isolate_bloc: ^2.1.1 copied to clipboard

A dart package that helps implement the BLoC pattern. BLoC works in Isolate and don't slow down UI.

44
likes
130/ 160
pub points
67%
popularity

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

148 out of 153 API elements (96.7 %) have documentation comments.

Some symbols that are missing documentation: isolate_bloc, isolate_bloc.IsolateCreateResult, isolate_bloc.IsolateCreateResult.IsolateCreateResult, isolate_bloc.IsolateCreateResult.isolate, isolate_bloc.IsolateCreateResult.messenger.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:isolate_bloc/isolate_bloc.dart that imports:
  • package:isolate_bloc/src/flutter/multi_isolate_bloc_provider.dart that imports:
  • package:isolate_bloc/src/flutter/isolate_bloc_provider.dart that imports:
  • package:isolate_bloc/src/common/api_wrappers.dart that imports:
  • package:isolate_bloc/src/common/isolate/isolate_factory/combine_isolate_factory/combine_isolate_factory.dart that imports:
  • package:isolate_bloc/src/common/isolate/isolate_factory/combine_isolate_factory/combine_isolate_wrapper.dart that imports:
  • package:combine/combine.dart that imports:
  • package:combine/src/isolate_factory/native_isolate_factory.dart that imports:
  • package:combine/src/isolate_messenger/internal_isolate_messenger/native_internal_isolate_messenger.dart that imports:
  • dart:isolate

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:isolate_bloc/isolate_bloc.dart that imports:
  • package:isolate_bloc/src/flutter/multi_isolate_bloc_provider.dart that imports:
  • package:isolate_bloc/src/flutter/isolate_bloc_provider.dart that imports:
  • package:isolate_bloc/src/common/api_wrappers.dart that imports:
  • package:isolate_bloc/src/common/isolate/isolate_factory/combine_isolate_factory/combine_isolate_factory.dart that imports:
  • package:isolate_bloc/src/common/isolate/isolate_factory/combine_isolate_factory/combine_isolate_wrapper.dart that imports:
  • package:combine/combine.dart that imports:
  • package:combine/src/isolate_factory/native_isolate_factory.dart that imports:
  • package:combine/src/isolate_messenger/internal_isolate_messenger/native_internal_isolate_messenger.dart that imports:
  • dart:isolate

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 3 issues. Showing the first 2:

WARNING: Duplicate export.

lib/isolate_bloc.dart:12:8

   ╷
12 │ export 'src/common/isolate/isolate_factory/i_isolate_factory.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The operand can't be null, so the condition is always 'false'.

lib/src/common/isolate/isolate_factory/combine_isolate_factory/combine_isolate_factory.dart:22:34

   ╷
22 │     if (ServicesBinding.instance == null) {
   │                                  ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/common/isolate/isolate_factory/combine_isolate_factory/combine_isolate_factory.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
combine 0.1.2 0.1.2 0.5.7
equatable ^2.0.3 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
provider ^6.0.0 6.1.2 6.1.2
uuid ^3.0.4 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
sky_engine - 0.0.99 0.0.99
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4

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

The constraint `0.1.2` on combine does not support the stable version `0.2.0`.

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

The constraint `^3.0.4` on uuid does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions uuid 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

44
likes
130
pub points
67%
popularity

Publisher

unverified uploader

A dart package that helps implement the BLoC pattern. BLoC works in Isolate and don't slow down UI.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

combine, equatable, flutter, provider, uuid

More

Packages that depend on isolate_bloc