bloc_rest_api 0.4.0+1 icon indicating copy to clipboard operation
bloc_rest_api: ^0.4.0+1 copied to clipboard

A generic bloc package to implement REST APIs easily in flutter.

32
likes
90/ 130
pub points
56%
popularity

We analyzed this package 37 hours ago, and awarded it 90 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

10/10 points: 20% or more of the public API has dartdoc comments

  • 31 out of 49 API elements (63.3 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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 does not support platform `Web`.

Because:

  • package:bloc_rest_api/bloc_rest_api.dart that imports:
  • package:bloc_rest_api/src/cubits/cubits.dart that imports:
  • package:hydrated_bloc/hydrated_bloc.dart that imports:
  • package:hydrated_bloc/src/hydrated_storage.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:bloc_rest_api/bloc_rest_api.dart that imports:
  • package:bloc_rest_api/src/cubits/cubits.dart that imports:
  • package:hydrated_bloc/hydrated_bloc.dart that imports:
  • package:hydrated_bloc/src/hydrated_storage.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:bloc_rest_api/bloc_rest_api.dart that imports:
  • package:bloc_rest_api/src/cubits/cubits.dart that imports:
  • package:hydrated_bloc/hydrated_bloc.dart that imports:
  • package:hydrated_bloc/src/hydrated_storage.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:bloc_rest_api/bloc_rest_api.dart that imports:
  • package:bloc_rest_api/src/cubits/cubits.dart that imports:
  • package:hydrated_bloc/hydrated_bloc.dart that imports:
  • package:hydrated_bloc/src/hydrated_storage.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_linux/path_provider_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:bloc_rest_api/bloc_rest_api.dart that imports:
  • package:bloc_rest_api/src/cubits/cubits.dart that imports:
  • package:hydrated_bloc/hydrated_bloc.dart that imports:
  • package:hydrated_bloc/src/hydrated_storage.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:bloc_rest_api/bloc_rest_api.dart that imports:
  • package:bloc_rest_api/src/cubits/cubits.dart that imports:
  • package:hydrated_bloc/hydrated_bloc.dart that imports:
  • package:hydrated_bloc/src/hydrated_storage.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

INFO: The import of 'package:flutter_bloc/flutter_bloc.dart' is unnecessary because all of the used elements are also provided by the import of 'package:hydrated_bloc/hydrated_bloc.dart'.

lib/src/cubits/cubits.dart:5:8

  ╷
5 │ import 'package:flutter_bloc/flutter_bloc.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Avoid using braces in interpolation when not needed.

lib/src/general_repository.dart:170:22

    ╷
170 │           'Raw JSON: ${rawResponse}',
    │                      ^^^^^^^^^^^^^^
    ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
equatable^1.2.51.2.62.0.3
flutterflutter0.0.00.0.0
flutter_bloc^6.1.36.1.38.0.1
http^0.12.20.12.20.13.5
hydrated_bloc^6.1.06.1.08.1.0
meta^1.2.21.7.01.8.0
Transitive dependencies
PackageConstraintCompatibleLatest
bloc-6.1.38.1.0
characters-1.2.01.2.1
charcode-1.3.11.3.1
collection-1.16.01.16.0
convert-2.1.13.0.2
crypto-2.1.53.0.2
ffi-1.2.12.0.1
file-6.1.26.1.2
hive-1.4.4+12.2.3
http_parser-3.1.44.0.1
material_color_utilities-0.1.40.2.0
nested-1.0.01.0.0
path-1.8.21.8.2
path_provider-1.6.282.0.11
path_provider_linux-0.0.1+22.1.7
path_provider_macos-0.0.4+82.0.6
path_provider_platform_interface-1.0.42.0.4
path_provider_windows-0.0.52.1.1
pedantic-1.11.11.11.1
platform-3.1.03.1.0
plugin_platform_interface-1.0.32.1.2
process-4.2.44.2.4
provider-4.3.36.0.3
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
string_scanner-1.1.11.1.1
synchronized-2.2.0+23.0.0+2
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
vector_math-2.1.22.1.2
win32-2.6.12.7.0
xdg_directories-0.1.20.2.0+1

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

Found 4 issues. Showing the first 2:

The constraint `^1.2.5` on equatable does not support the stable version `2.0.0`.

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

The constraint `^6.1.3` on flutter_bloc does not support the stable version `7.0.0`.

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.7.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.14, Flutter 3.0.4, Dart 2.17.5.

32
likes
90
pub points
56%
popularity

Publisher

unverified uploader

A generic bloc package to implement REST APIs easily in flutter.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

equatable, flutter, flutter_bloc, http, hydrated_bloc, meta

More

Packages that depend on bloc_rest_api