dghub_picker 0.0.5 copy "dghub_picker: ^0.0.5" to clipboard
dghub_picker: ^0.0.5 copied to clipboard

Min Thant Htet.

1
likes
120/ 160
pub points
52
downloads

We analyzed this package 12 hours ago, and awarded it 120 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger 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.

Homepage URL doesn't exist.

At the time of the analysis https://pub.dghub.in was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/DGFlutterPub/dghub_picker was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/DGFlutterPub/dghub_picker/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: dghub_picker,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

36 out of 293 API elements (12.3 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: dghub_picker, dghub_picker.Country.Country.from, dghub_picker.Country.displayNameNoE164Cc, dghub_picker.Country.e164Key, dghub_picker.Country.e164Sc.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger 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 does not support platform `Web`.

Because:

  • package:dghub_picker/dghub_picker.dart that imports:
  • package:dghub_picker/src/image_picker/image_picker_single.dart that imports:
  • package:dghub_image/dghub_image.dart that imports:
  • package:dghub_image/src/dghub_image.dart that imports:
  • package:dghub_image/src/image/image_network.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:dghub_picker/dghub_picker.dart that imports:
  • package:dghub_picker/src/file_picker/file_picker_single.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:dghub_picker/dghub_picker.dart that imports:
  • package:dghub_picker/src/file_picker/file_picker_single.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:dghub_picker/dghub_picker.dart that imports:
  • package:dghub_picker/src/file_picker/file_picker_single.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:dghub_picker/dghub_picker.dart that imports:
  • package:dghub_picker/src/file_picker/file_picker_single.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dghub_picker/dghub_picker.dart that imports:
  • package:dghub_picker/src/file_picker/file_picker_single.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g.

lib/src/color_picker/dg_color_picker.dart:58:46

   ╷
58 │                     hint: theme.primaryColor.value
   │                                              ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/color_picker/dg_color_picker.dart

INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/src/color_picker/dg_color_picker_button.dart:59:38

   ╷
59 │             color: theme.colorScheme.background),
   │                                      ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/color_picker/dg_color_picker_button.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
country_picker ^2.0.22 2.0.27 2.0.27
currency_picker ^2.0.19 2.0.21 2.0.21
dghub_edittext ^0.0.1 0.0.7 0.0.7
dghub_image ^1.0.2 1.0.8 1.0.8
dghub_listview ^0.0.2 0.0.5 0.0.5
file_picker ^6.1.1 6.2.1 8.1.7
flutter flutter 0.0.0 0.0.0
flutter_colorpicker ^1.0.3 1.1.0 1.1.0
font_awesome_flutter ^10.6.0 10.8.0 10.8.0
iconsax ^0.0.8 0.0.8 0.0.8
language_picker ^0.4.3 0.4.5 0.4.5
marquee_widget ^1.2.0 1.2.0 1.2.0
path_provider ^2.1.1 2.1.5 2.1.5
universal_io ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
ffi - 2.1.3 2.1.3
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_staggered_animations - 1.1.1 1.1.1
flutter_staggered_grid_view - 0.7.0 0.7.0
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
recase - 4.1.0 4.1.0
shimmer - 3.0.0 3.0.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^6.1.1` on file_picker does not support the stable version `7.0.2`.

Try running dart pub upgrade --major-versions file_picker 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.