commoncode 0.0.52 icon indicating copy to clipboard operation
commoncode: ^0.0.52 copied to clipboard

Common code all flutter projects

0
likes
100/ 140
pub points
56%
popularity

We analyzed this package 2 hours ago, and awarded it 100 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: commoncode,
    • contains a version property, and,
    • does not contain a publish_to property.

Could not find any pubspec.yaml in the repository.

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: BSD-2-Clause.

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

0/10 points: 20% or more of the public API has dartdoc comments

4 out of 91 API elements (4.4 %) 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.

Some symbols that are missing documentation: commoncode, Config, Config, allChristianVersion, allChristianVersionCode.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ MacOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:commoncode/commoncode.dart that imports:
  • package:commoncode/src/image_cache.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:commoncode/commoncode.dart that imports:
  • package:commoncode/src/image_cache.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:commoncode/commoncode.dart that imports:
  • package:commoncode/src/image_cache.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
icon indicating section status
Pass static analysis
40 / 50icon to trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

lib/commoncode.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/src/common_function.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
cached_network_image ^3.2.3 3.3.0 3.3.0
excel ^3.0.0 3.0.0 4.0.0
flutter flutter 0.0.0 0.0.0
get ^4.6.5 4.6.6 4.6.6
google_fonts ^6.1.0 6.1.0 6.1.0
youtube_explode_dart ^2.0.2 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.4.9 3.4.9
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 3.0.0 3.0.0
cached_network_image_web - 1.1.0 1.1.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
equatable - 2.0.5 2.0.5
ffi - 2.1.0 2.1.0
file - 7.0.0 7.0.0
flutter_cache_manager - 3.3.1 3.3.1
freezed_annotation - 2.4.1 2.4.1
html - 0.15.4 0.15.4
http - 1.1.2 1.1.2
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.6.7
json_annotation - 4.8.1 4.8.1
material_color_utilities - 0.5.0 0.8.0
meta - 1.10.0 1.11.0
octo_image - 2.0.0 2.0.0
path - 1.8.3 1.8.3
path_provider - 2.1.1 2.1.1
path_provider_android - 2.2.1 2.2.1
path_provider_foundation - 2.3.1 2.3.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.1 2.1.1
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.3 3.1.3
plugin_platform_interface - 2.1.7 2.1.7
pointycastle - 3.7.3 3.7.3
rxdart - 0.27.7 0.27.7
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.3.0 2.3.0
sqflite_common - 2.5.0+2 2.5.0+2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0 3.1.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 4.2.1 4.2.1
vector_math - 2.1.4 2.1.4
web - 0.3.0 0.4.0
win32 - 5.1.1 5.1.1
xdg_directories - 1.0.3 1.0.3
xml - 6.4.2 6.4.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.0.0` on excel does not support the stable version `4.0.0`, that was published 5 days ago.

When excel is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions excel to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.21.43, Flutter 3.16.1, Dart 3.2.1.

Check the analysis log for details.

0
likes
100
pub points
56%
popularity

Publisher

unverified uploader

Common code all flutter projects

Homepage

Documentation

API reference

License

Icon for licenses.BSD-2-Clause (LICENSE)

Dependencies

cached_network_image, excel, flutter, get, google_fonts, youtube_explode_dart

More

Packages that depend on commoncode