flutter_request_bloc 1.0.0
flutter_request_bloc: ^1.0.0 copied to clipboard
Package that facilitates REST API calls using flutter_bloc and hydrated_bloc.
We analyzed this package 11 days ago, and awarded it 140 pub points (of a possible 160):
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: Use an OSI-approved license
Detected license: GPL-3.0.
10/10 points: 20% or more of the public API has dartdoc comments
51 out of 64 API elements (79.7 %) have documentation comments.
Some symbols that are missing documentation: base, base.BaseService.BaseService.new, flutter_request_bloc, request, request.RequestRepository.RequestRepository.new.
10/10 points: Package has an example
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:flutter_request_bloc/flutter_request_bloc.dartthat imports:package:flutter_request_bloc/repositories/request_persistant.dartthat imports:package:hydrated_bloc/hydrated_bloc.dartthat imports:package:hydrated_bloc/src/hydrated_storage.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in an if should be enclosed in a block.
lib/repositories/request_persistant.dart:29:7
╷
29 │ return state.toJson(valueBuilder: valueToJson);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/repositories/request_persistant.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
>=2.0.0 <3.0.0 |
2.0.8 | 2.0.8 | |
flutter_bloc |
>=8.0.0 <9.0.0 |
8.1.6 | 9.1.1 | |
hydrated_bloc |
>=8.0.0 <9.0.0 |
8.1.0 | 11.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
- | 8.1.4 | 9.2.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
hive |
- | 2.2.3 | 2.2.3 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
nested |
- | 1.0.0 | 1.0.0 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=8.0.0 <9.0.0` on flutter_bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions flutter_bloc to update the constraint.
The constraint `>=8.0.0 <9.0.0` on hydrated_bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions hydrated_bloc to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.