cryfetch 0.0.3
cryfetch: ^0.0.3 copied to clipboard
A simple and effective framework for fetching and displaying cryptocurrency data.
We analyzed this package 2 days ago, and awarded it 55 pub points (of a possible 130):
0/10 points: Provide a valid pubspec.yaml
pubspec.yaml
doesn't have ahomepage
entry.pubspec.yaml
doesn't have arepository
entry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. See the example generated by stagehand
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: 20% or more of the public API has dartdoc comments
- 10 out of 141 API elements (7.1 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
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:cryfetch/cryfetch.dart
that imports:package:cryfetch/services/network_checker.dart
that imports:dart:io
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Use `;` instead of `{}` for empty constructor bodies.
lib/cryfetch.dart:23:28
╷
23 │ hasNetwork = false}) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cryfetch.dart
INFO: Name non-constant identifiers using lowerCamelCase.
lib/models/cryptocurrency.dart:50:23
╷
50 │ static Future<void> FetchPriceMultiplier(String currency) async {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/cryptocurrency.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
charts_flutter | ^0.12.0 | 0.12.0 | 0.12.0 |
flutter | flutter | 0.0.0 | 0.0.0 |
hive | ^2.0.4 | 2.2.2 | 2.2.2 |
hive_flutter | ^1.1.0 | 1.1.0 | 1.1.0 |
hive_generator | ^1.1.1 | 1.1.3 | 1.1.3 |
http | ^0.13.4 | 0.13.4 | 0.13.4 |
material_segmented_control | ^3.1.2 | 3.1.2 | 4.0.0 |
url_launcher | ^6.0.18 | 6.1.4 | 6.1.4 |
webfeed | ^0.7.0 | 0.7.0 | 0.7.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared | - | 40.0.0 | 40.0.0 |
analyzer | - | 4.1.0 | 4.1.0 |
args | - | 2.3.1 | 2.3.1 |
async | - | 2.9.0 | 2.9.0 |
build | - | 2.3.0 | 2.3.0 |
characters | - | 1.2.0 | 1.2.1 |
charts_common | - | 0.12.0 | 0.12.0 |
clock | - | 1.1.1 | 1.1.1 |
collection | - | 1.16.0 | 1.16.0 |
convert | - | 3.0.2 | 3.0.2 |
crypto | - | 3.0.2 | 3.0.2 |
dart_style | - | 2.2.3 | 2.2.3 |
ffi | - | 2.0.1 | 2.0.1 |
file | - | 6.1.2 | 6.1.2 |
flutter_web_plugins | - | 0.0.0 | 0.0.0 |
glob | - | 2.1.0 | 2.1.0 |
http_parser | - | 4.0.1 | 4.0.1 |
intl | - | 0.17.0 | 0.17.0 |
js | - | 0.6.4 | 0.6.4 |
logging | - | 1.0.2 | 1.0.2 |
material_color_utilities | - | 0.1.4 | 0.1.5 |
meta | - | 1.7.0 | 1.8.0 |
package_config | - | 2.1.0 | 2.1.0 |
path | - | 1.8.2 | 1.8.2 |
path_provider | - | 2.0.11 | 2.0.11 |
path_provider_android | - | 2.0.15 | 2.0.15 |
path_provider_ios | - | 2.0.10 | 2.0.10 |
path_provider_linux | - | 2.1.7 | 2.1.7 |
path_provider_macos | - | 2.0.6 | 2.0.6 |
path_provider_platform_interface | - | 2.0.4 | 2.0.4 |
path_provider_windows | - | 2.1.0 | 2.1.0 |
petitparser | - | 5.0.0 | 5.0.0 |
platform | - | 3.1.0 | 3.1.0 |
plugin_platform_interface | - | 2.1.2 | 2.1.2 |
process | - | 4.2.4 | 4.2.4 |
pub_semver | - | 2.1.1 | 2.1.1 |
sky_engine | - | 0.0.99 | 0.0.99 |
source_gen | - | 1.2.2 | 1.2.2 |
source_helper | - | 1.3.2 | 1.3.2 |
source_span | - | 1.9.0 | 1.9.0 |
string_scanner | - | 1.1.1 | 1.1.1 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.3.1 |
url_launcher_android | - | 6.0.17 | 6.0.17 |
url_launcher_ios | - | 6.0.17 | 6.0.17 |
url_launcher_linux | - | 3.0.1 | 3.0.1 |
url_launcher_macos | - | 3.0.1 | 3.0.1 |
url_launcher_platform_interface | - | 2.1.0 | 2.1.0 |
url_launcher_web | - | 2.0.12 | 2.0.12 |
url_launcher_windows | - | 3.0.1 | 3.0.1 |
vector_math | - | 2.1.2 | 2.1.2 |
watcher | - | 1.0.1 | 1.0.1 |
win32 | - | 2.7.0 | 2.7.0 |
xdg_directories | - | 0.2.0+1 | 0.2.0+1 |
xml | - | 5.4.1 | 6.1.0 |
yaml | - | 3.1.1 | 3.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.1.2` on material_segmented_control does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions material_segmented_control
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Null safety support has one or more issues.
Unable to access import.
Because:
package:cryfetch/cryfetch.dart
that imports:package:cryfetch/services/database.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/interfaces/coin_provider.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/providers/coingecko.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/providers/coinstats.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/services/chart_fetcher.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/services/database.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/widgets/chart.dart
that imports:package:cryfetch/widgets/chart_coin_picker.dart
that imports:package:cryfetch/widgets/chart_coin.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/widgets/chart_coin.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/widgets/chart_coin_picker.dart
that imports:package:cryfetch/widgets/chart_coin.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/widgets/coin.dart
that imports:package:cryfetch/cryfetch.dart
that imports:package:cryfetch/services/database.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
Unable to access import.
Because:
package:cryfetch/widgets/news_list.dart
that imports:package:cryfetch/cryfetch.dart
that imports:package:cryfetch/services/database.dart
that imports:package:cryfetch/models/cryptocurrency.dart
that imports:package:hive/hive.dart
that imports:package:hive/src/box_collection/box_collection_indexed_db.dart
that imports:dart:indexed_db
where dart:indexed_db is inaccessible.
For more information
Try running dart pub outdated --mode=null-safety
.
Be sure to read the migration guide.
Analysed with Pana 0.21.12
, Flutter 3.0.2
, Dart 2.17.3
.