cryfetch 0.0.3 icon indicating copy to clipboard operation
cryfetch: ^0.0.3 copied to clipboard

A simple and effective framework for fetching and displaying cryptocurrency data.

0
likes
55/ 130
pub points
6%
popularity

We analyzed this package 2 days ago, and awarded it 55 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
5 / 20icon to trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

  • pubspec.yaml doesn't have a homepage entry.
  • pubspec.yaml doesn't have a repository 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.

icon indicating section status
Provide documentation
0 / 20icon to trigger folding of the section

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.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
charts_flutter^0.12.00.12.00.12.0
flutterflutter0.0.00.0.0
hive^2.0.42.2.22.2.2
hive_flutter^1.1.01.1.01.1.0
hive_generator^1.1.11.1.31.1.3
http^0.13.40.13.40.13.4
material_segmented_control^3.1.23.1.24.0.0
url_launcher^6.0.186.1.46.1.4
webfeed^0.7.00.7.00.7.0
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-40.0.040.0.0
analyzer-4.1.04.1.0
args-2.3.12.3.1
async-2.9.02.9.0
build-2.3.02.3.0
characters-1.2.01.2.1
charts_common-0.12.00.12.0
clock-1.1.11.1.1
collection-1.16.01.16.0
convert-3.0.23.0.2
crypto-3.0.23.0.2
dart_style-2.2.32.2.3
ffi-2.0.12.0.1
file-6.1.26.1.2
flutter_web_plugins-0.0.00.0.0
glob-2.1.02.1.0
http_parser-4.0.14.0.1
intl-0.17.00.17.0
js-0.6.40.6.4
logging-1.0.21.0.2
material_color_utilities-0.1.40.1.5
meta-1.7.01.8.0
package_config-2.1.02.1.0
path-1.8.21.8.2
path_provider-2.0.112.0.11
path_provider_android-2.0.152.0.15
path_provider_ios-2.0.102.0.10
path_provider_linux-2.1.72.1.7
path_provider_macos-2.0.62.0.6
path_provider_platform_interface-2.0.42.0.4
path_provider_windows-2.1.02.1.0
petitparser-5.0.05.0.0
platform-3.1.03.1.0
plugin_platform_interface-2.1.22.1.2
process-4.2.44.2.4
pub_semver-2.1.12.1.1
sky_engine-0.0.990.0.99
source_gen-1.2.21.2.2
source_helper-1.3.21.3.2
source_span-1.9.01.9.0
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
url_launcher_android-6.0.176.0.17
url_launcher_ios-6.0.176.0.17
url_launcher_linux-3.0.13.0.1
url_launcher_macos-3.0.13.0.1
url_launcher_platform_interface-2.1.02.1.0
url_launcher_web-2.0.122.0.12
url_launcher_windows-3.0.13.0.1
vector_math-2.1.22.1.2
watcher-1.0.11.0.1
win32-2.7.02.7.0
xdg_directories-0.2.0+10.2.0+1
xml-5.4.16.1.0
yaml-3.1.13.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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

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.

0
likes
55
pub points
6%
popularity

Publisher

unverified uploader

A simple and effective framework for fetching and displaying cryptocurrency data.

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

charts_flutter, flutter, hive, hive_flutter, hive_generator, http, material_segmented_control, url_launcher, webfeed

More

Packages that depend on cryfetch