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 15 hours 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
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/widgets/request_builder.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/request_builder.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.1.0 | 3.0.0 | |
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.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.8 | 3.0.8 | |
hive |
- | 2.2.3 | 2.2.3 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
synchronized |
- | 3.6.1+1 | 3.6.1+1 | |
vector_math |
- | 2.4.4 | 2.4.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `>=2.0.0 <3.0.0` on equatable does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions equatable to update the constraint.
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.
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.19, Flutter 3.50.0, Dart 3.14.0.
Check the analysis log for details.