flutterx_color_picker 1.1.2
flutterx_color_picker: ^1.1.2 copied to clipboard
Material color picker inspired by chrome devtools. Also includes material palettes
We analyzed this package 4 days ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.1.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
10 out of 57 API elements (17.5 %) 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: flutterx_color_picker
, flutterx_color_picker.ColorAffinity
, flutterx_color_picker.ColorAffinity.color
, flutterx_color_picker.ColorAffinity.difference
, flutterx_color_picker.ColorAffinity.differencePercentage
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutterx_color_picker/flutterx_color_picker.dart
that imports:package:flutterx_color_picker/src/color_picker.dart
that imports:package:flutterx_application/flutterx_ui.dart
that imports:package:flutterx_application/src/ui/responsive_screen_content.dart
that imports:package:flutterx_application/flutterx_application.dart
that imports:package:flutterx_application/src/utils/token_handler.dart
that imports:package:flutterx_preferences/flutterx_preferences.dart
that imports:package:flutterx_preferences/src/preferences.dart
that imports:package:flutterx_preferences/src/impl/local_storage.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/color_picker.dart:152:38
╷
152 │ borderColor: mainColor.withOpacity(.4),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/color_picker.dart
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.
lib/src/color_picker_label.dart:157:30
╷
157 │ yield hsvColor.toColor().value.toDouble();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/color_picker_label.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutterx_application |
^2.3.5 |
2.3.5 | 2.3.5 | |
flutterx_live_data |
^1.10.0 |
1.10.1 | 1.10.1 | |
flutterx_utils |
^1.7.2 |
1.7.5 | 1.7.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutterx_preferences |
- | 1.2.6 | 1.2.6 | |
intl |
- | 0.20.2 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
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 | |
pointer_interceptor |
- | 0.9.3+7 | 0.10.1+2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.