flutter_bloc_effects 1.0.0 copy "flutter_bloc_effects: ^1.0.0" to clipboard
flutter_bloc_effects: ^1.0.0 copied to clipboard

A lightweight companion to flutter_bloc that adds effect streams, listeners, and helpers for one-off UI side effects like navigation, snackbars, and dialogs.

140/ 160
pub points
197
downloads

We analyzed this package 14 hours ago, and awarded it 140 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: 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

19 out of 27 API elements (70.4 %) have documentation comments.

Some symbols that are missing documentation: bloc_effect_emitter, bloc_effect_emitter.BlocEffectEmitter, bloc_effect_emitter.BlocEffectEmitter.effects, bloc_effect_emitter.BlocEffectEmitter.emitEffect, bloc_effect_listener.

Passed check 10/10 points: Package has 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.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
20 / 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
flutter_bloc >=8.0.0 <10.0.0 9.1.1 9.1.1
provider >=6.0.0 <7.0.0 6.1.5+1 6.1.5+1
Transitive dependencies
Package Constraint Compatible Latest Notes
bloc - 9.2.0 9.2.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
vector_math - 2.2.0 2.2.0

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • MIXIN_SUPER_CLASS_CONSTRAINT_NON_INTERFACE - lib/bloc_effect_emitter.dart:6:36 - Only classes and mixins can be used as superclass constraints.
  • UNDEFINED_CLASS - lib/bloc_effect_emitter.dart:6:36 - Undefined class 'Closable'.
  • UNDEFINED_SUPER_MEMBER - lib/bloc_effect_emitter.dart:19:17 - The method 'close' isn't defined in a superclass of 'BlocEffectEmitter'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
140
points
197
downloads

Publisher

verified publisherretozu.com

Weekly Downloads

A lightweight companion to flutter_bloc that adds effect streams, listeners, and helpers for one-off UI side effects like navigation, snackbars, and dialogs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bloc, provider

More

Packages that depend on flutter_bloc_effects