awesome_datepicker 0.1.1 copy "awesome_datepicker: ^0.1.1" to clipboard
awesome_datepicker: ^0.1.1 copied to clipboard

A sleek widget that lets your users input dates using a color picker!

1
likes
130/ 160
pub points
40
downloads

We analyzed this package 4 days ago, and awarded it 130 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

Homepage URL doesn't exist.

At the time of the analysis https://adityarajput.co/awesome_datepicker/ was unreachable. Make sure that the website is reachable via HEAD requests.

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: AGPL-3.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

22 out of 41 API elements (53.7 %) have documentation comments.

Some symbols that are missing documentation: awesome_datepicker.AwesomeDatePicker, awesome_datepicker.AwesomeDatePicker.AwesomeDatePicker, awesome_datepicker.AwesomeDatePicker.backgroundColor, awesome_datepicker.AwesomeDatePicker.colorPickerHeight, awesome_datepicker.AwesomeDatePicker.hueRingStrokeWidth.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:awesome_datepicker/awesome_datepicker.dart that imports:
  • package:awesome_datepicker/src/field.dart that imports:
  • package:awesome_datepicker/src/dialog.dart that imports:
  • package:awesome_datepicker/src/utils/help_text.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:awesome_datepicker/awesome_datepicker.dart that imports:
  • package:awesome_datepicker/src/field.dart that imports:
  • package:awesome_datepicker/src/dialog.dart that imports:
  • package:awesome_datepicker/src/utils/help_text.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:awesome_datepicker/awesome_datepicker.dart that imports:
  • package:awesome_datepicker/src/field.dart that imports:
  • package:awesome_datepicker/src/dialog.dart that imports:
  • package:awesome_datepicker/src/utils/help_text.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.

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

Package not compatible with platform Web

Because:

  • package:awesome_datepicker/awesome_datepicker.dart that imports:
  • package:awesome_datepicker/src/field.dart that imports:
  • package:awesome_datepicker/src/dialog.dart that imports:
  • package:awesome_datepicker/src/utils/help_text.dart that imports:
  • package:fluttertoast/fluttertoast.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:awesome_datepicker/awesome_datepicker.dart that imports:
  • package:awesome_datepicker/src/field.dart that imports:
  • package:awesome_datepicker/src/dialog.dart that imports:
  • package:awesome_datepicker/src/utils/help_text.dart that imports:
  • package:fluttertoast/fluttertoast.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 8 issues. Showing the first 2:

INFO: 'opacity' is deprecated and shouldn't be used. Use .a.

lib/src/components/slider.dart:30:58

   ╷
30 │           15.0 + (box.maxWidth - 30.0) * color.toColor().opacity;
   │                                                          ^^^^^^^
   ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/components/slider.dart:31:42

   ╷
31 │       Color thumbColor = color.toColor().withOpacity(color.alpha);
   │                                          ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/slider.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
flutter flutter 0.0.0 0.0.0
fluttertoast ^8.2.2 8.2.10 8.2.10
intl ^0.18.1 0.18.1 0.20.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0

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

The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl 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.

1
likes
130
points
40
downloads

Publisher

verified publisheradityarajput.co

Weekly Downloads

A sleek widget that lets your users input dates using a color picker!

Homepage

Documentation

API reference

License

AGPL-3.0 (license)

Dependencies

flutter, fluttertoast, intl

More

Packages that depend on awesome_datepicker