esv_bible 1.1.4
esv_bible: ^1.1.4 copied to clipboard
A future-based dart package for the ESV API from Crossway which can be used to fetch ESV bible passages.
We analyzed this package 3 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
39 out of 51 API elements (76.5 %) have documentation comments.
Some symbols that are missing documentation: esv_bible, esv_bible.Passage.Passage.new, esv_bible.PassageHtml.PassageHtml.new, esv_bible.PassageHtml.canonical, esv_bible.PassageHtml.parsed.
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:esv_bible/esv_bible.dartthat imports:package:esv_bible/src/passage.dartthat imports:package:esv_bible/src/domain/entities/passage_audio.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 54 issues. Showing the first 2:
WARNING: Invalid assignment to the parameter 'params'.
lib/src/data/data_sources/esv_remote_data_source_implementation.dart:81:5
╷
81 │ params = params ?? {};
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/data/data_sources/esv_remote_data_source_implementation.dart
WARNING: Invalid assignment to the parameter 'headers'.
lib/src/data/data_sources/esv_remote_data_source_implementation.dart:82:5
╷
82 │ headers = headers ?? {};
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/data/data_sources/esv_remote_data_source_implementation.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.5 |
2.1.0 | 2.1.0 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.12.0 | 4.12.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.19.0 | 1.19.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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, Dart 3.13.1.
Check the analysis log for details.