bloc_builder 2.2.2 copy "bloc_builder: ^2.2.2" to clipboard
bloc_builder: ^2.2.2 copied to clipboard

Util to easily create BLoC

100/ 160
pub points
39
downloads

We analyzed this package 15 days ago, and awarded it 100 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 short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

7 out of 84 API elements (8.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: base_widget, base_widget.BaseBLoCWidget, base_widget.BaseBLoCWidget.BaseBLoCWidget.new, base_widget.BaseBLoCWidget.operator |, base_widget.EmptyWidget.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:bloc_builder/index.dart that imports:
  • package:bloc_builder/widgets/when_bloc_widget.dart that imports:
  • package:flutter_live_data/index.dart that imports:
  • package:flutter_live_data/life_cycle.dart that imports:
  • package:flutter_live_data/live_data.dart that imports:
  • package:flutter_live_data/log.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
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 10 issues. Showing the first 2:

WARNING: This method overrides a method annotated as '@mustCallSuper' in 'Element', but doesn't invoke the overridden method.

lib/base_widget.dart:46:8

   ╷
46 │   void performRebuild() {}
   │        ^^^^^^^^^^^^^^
   ╵

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

WARNING: The declaration '_$guard' isn't referenced.

lib/index.dart:55:20

   ╷
55 │ MatchBLoCWidget<T> _$guard<T>(
   │                    ^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
async ^2.9.0 2.13.0 2.13.0
flutter_live_data ^2.1.2 2.2.5 2.2.5
logger ^1.1.0 1.4.0 2.6.2
Transitive dependencies
Package Constraint Compatible Latest Notes
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
vector_math - 2.2.0 2.2.0

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

The constraint `^1.1.0` on logger does not support the stable version `2.0.0`.

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

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
100
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

Util to easily create BLoC

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, flutter, flutter_live_data, logger

More

Packages that depend on bloc_builder