bloc_rest_api 0.4.0+1
bloc_rest_api: ^0.4.0+1 copied to clipboard
A generic bloc package to implement REST APIs easily in flutter.
We analyzed this package 37 hours ago, and awarded it 90 pub points (of a possible 130):
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: 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.
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
.
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
equatable | ^1.2.5 | 1.2.6 | 2.0.3 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_bloc | ^6.1.3 | 6.1.3 | 8.0.1 |
http | ^0.12.2 | 0.12.2 | 0.13.5 |
hydrated_bloc | ^6.1.0 | 6.1.0 | 8.1.0 |
meta | ^1.2.2 | 1.7.0 | 1.8.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
bloc | - | 6.1.3 | 8.1.0 |
characters | - | 1.2.0 | 1.2.1 |
charcode | - | 1.3.1 | 1.3.1 |
collection | - | 1.16.0 | 1.16.0 |
convert | - | 2.1.1 | 3.0.2 |
crypto | - | 2.1.5 | 3.0.2 |
ffi | - | 1.2.1 | 2.0.1 |
file | - | 6.1.2 | 6.1.2 |
hive | - | 1.4.4+1 | 2.2.3 |
http_parser | - | 3.1.4 | 4.0.1 |
material_color_utilities | - | 0.1.4 | 0.2.0 |
nested | - | 1.0.0 | 1.0.0 |
path | - | 1.8.2 | 1.8.2 |
path_provider | - | 1.6.28 | 2.0.11 |
path_provider_linux | - | 0.0.1+2 | 2.1.7 |
path_provider_macos | - | 0.0.4+8 | 2.0.6 |
path_provider_platform_interface | - | 1.0.4 | 2.0.4 |
path_provider_windows | - | 0.0.5 | 2.1.1 |
pedantic | - | 1.11.1 | 1.11.1 |
platform | - | 3.1.0 | 3.1.0 |
plugin_platform_interface | - | 1.0.3 | 2.1.2 |
process | - | 4.2.4 | 4.2.4 |
provider | - | 4.3.3 | 6.0.3 |
sky_engine | - | 0.0.99 | 0.0.99 |
source_span | - | 1.9.1 | 1.9.1 |
string_scanner | - | 1.1.1 | 1.1.1 |
synchronized | - | 2.2.0+2 | 3.0.0+2 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.3.1 |
vector_math | - | 2.1.2 | 2.1.2 |
win32 | - | 2.6.1 | 2.7.0 |
xdg_directories | - | 0.1.2 | 0.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
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
.