list_bloc 2.0.3 copy "list_bloc: ^2.0.3" to clipboard
list_bloc: ^2.0.3 copied to clipboard

A BLoC library for loading data from an api end-point with filtering and pagination.

2
likes
110/ 140
pub points
57%
popularity

We analyzed this package 18 hours ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: list_bloc,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/list_bloc/pubspec.yaml from the repository URL mismatch: expected https://github.com/apexlabs-ai/list_bloc but got https://github.com/djangoflow/list_bloc.

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

27 out of 87 API elements (31.0 %) have documentation comments.

Some symbols that are missing documentation: list_bloc, list_bloc.DataBloc, list_bloc.DataBloc.DataBloc, list_bloc.DataBloc.clear, list_bloc.DataBloc.load.

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

Found 7 issues. Showing the first 2:

INFO: The variable name 'perform_load' isn't a lowerCamelCase identifier.

lib/src/blocs/data_bloc.dart:15:13

   ╷
15 │   Future<T> perform_load(F? filter, {bool append = false}) =>
   │             ^^^^^^^^^^^^
   ╵

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

INFO: The variable name 'perform_load' isn't a lowerCamelCase identifier.

lib/src/blocs/paginated_bloc.dart:10:23

   ╷
10 │   Future<ListPage<T>> perform_load(F? filter, {bool append = false}) async {
   │                       ^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
bloc ^7.0.0 7.2.1 8.1.4
equatable ^2.0.0 2.0.5 2.0.5
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
meta - 1.15.0 1.15.0

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

The constraint `^7.0.0` on bloc does not support the stable version `8.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

2
likes
110
pub points
57%
popularity

Publisher

verified publisherapexive.com

A BLoC library for loading data from an api end-point with filtering and pagination.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bloc, equatable

More

Packages that depend on list_bloc