lucid 0.0.1
lucid: ^0.0.1 copied to clipboard
A desktop widget kit for Flutter
We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 160):
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 50 to 180 characters to describe the package, what it does, and its target use case.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
58 out of 132 API elements (43.9 %) have documentation comments.
Some symbols that are missing documentation: lucid, lucid.ActivationActor, lucid.DatePicker.DatePicker.new, lucid.DatePicker.focusNode, lucid.DatePickerButton.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:lucid/lucid.dartthat imports:package:lucid/src/date_and_time/date/date_picker.dartthat imports:package:follow_the_leader/follow_the_leader.dartthat imports:package:follow_the_leader/src/follower.dartthat imports:package:super_keyboard/super_keyboard.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:lucid/lucid.dartthat imports:package:lucid/src/date_and_time/date/date_picker.dartthat imports:package:follow_the_leader/follow_the_leader.dartthat imports:package:follow_the_leader/src/follower.dartthat imports:package:super_keyboard/super_keyboard.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:lucid/lucid.dartthat imports:package:lucid/src/date_and_time/date/date_picker.dartthat imports:package:follow_the_leader/follow_the_leader.dartthat imports:package:follow_the_leader/src/follower.dartthat imports:package:super_keyboard/super_keyboard.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:lucid/lucid.dartthat imports:package:lucid/src/date_and_time/date/date_picker.dartthat imports:package:follow_the_leader/follow_the_leader.dartthat imports:package:follow_the_leader/src/follower.dartthat imports:package:super_keyboard/super_keyboard.dartthat declares support for platforms:Android,iOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The argument type 'FollowerAlignment Function(Rect, Size)' can't be assigned to the parameter type 'FollowerAlignment Function(Rect, Size, [Rect?])'.
lib/src/date_and_time/date/date_picker.dart:120:27
╷
120 │ delegate: (Rect globalLeaderRect, Size followerSize) {
│ ┌───────────────────────────^
121 │ │ if (globalLeaderRect.top > followerSize.height + 8) {
122 │ │ return FollowerAlignment(
123 │ │ leaderAnchor: Alignment.topCenter,
124 │ │ followerAnchor: Alignment.bottomCenter,
125 │ │ followerOffset: Offset(0, -8),
126 │ │ );
127 │ │ } else {
128 │ │ return FollowerAlignment(
129 │ │ leaderAnchor: Alignment.bottomCenter,
130 │ │ followerAnchor: Alignment.topCenter,
│ └─────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/date_and_time/date/date_picker.dart
ERROR: The named parameter 'screenSize' isn't defined.
lib/src/date_and_time/date/date_picker.dart:137:17
╷
137 │ screenSize: MediaQuery.sizeOf(context),
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/date_and_time/date/date_picker.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
follow_the_leader |
^0.0.4+8 |
0.0.5 | 0.5.2 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
overlord |
^0.0.3+5 |
0.0.4 | 0.4.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
flutter_test_runners |
- | 0.0.4 | 1.0.0 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
super_keyboard |
- | 0.2.2 | 0.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.9 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.0.4+8` on follow_the_leader does not support the stable version `0.5.0`.
Try running dart pub upgrade --major-versions follow_the_leader to update the constraint.
The constraint `^0.0.3+5` on overlord does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions overlord 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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.