drishya_picker 1.0.3
drishya_picker: ^1.0.3 copied to clipboard
Clone of messanger camera and gallery which is combined as single component.
We analyzed this package 47 hours ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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 licenses: Apache-2.0, MIT.
10/10 points: 20% or more of the public API has dartdoc comments
185 out of 337 API elements (54.9 %) have documentation comments.
Some symbols that are missing documentation: custom_icons.CustomIcons, custom_icons.CustomIcons.camera, custom_icons.CustomIcons.cameraRotate, custom_icons.CustomIcons.close, custom_icons.CustomIcons.flashoff.
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:drishya_picker/drishya_picker.dartthat imports:package:drishya_picker/src/gallery/gallery_view.dartthat imports:package:drishya_picker/src/gallery/src/gallery_view.dartthat imports:package:drishya_picker/src/gallery/src/widgets/gallery_recent_preview.dartthat imports:package:photo_manager/photo_manager.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:drishya_picker/drishya_picker.dartthat imports:package:drishya_picker/src/gallery/gallery_view.dartthat imports:package:drishya_picker/src/gallery/src/gallery_view.dartthat imports:package:drishya_picker/src/gallery/src/widgets/gallery_recent_preview.dartthat imports:package:photo_manager/photo_manager.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:drishya_picker/drishya_picker.dartthat imports:package:drishya_picker/src/gallery/gallery_view.dartthat imports:package:drishya_picker/src/gallery/src/gallery_view.dartthat imports:package:drishya_picker/src/playground/playground.dartthat imports:package:drishya_picker/src/playground/src/widgets/playground_overlay.dartthat imports:package:drishya_picker/src/playground/src/widgets/playground_capture_button.dartthat imports:package:drishya_picker/src/camera/src/widgets/ui_handler.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:drishya_picker/drishya_picker.dartthat imports:package:drishya_picker/src/gallery/gallery_view.dartthat imports:package:drishya_picker/src/gallery/src/gallery_view.dartthat imports:package:drishya_picker/src/gallery/src/widgets/gallery_recent_preview.dartthat imports:package:photo_manager/photo_manager.dartthat declares support for platforms:Android,iOS,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 77 issues. Showing the first 2:
ERROR: The method 'disallowGlow' isn't defined for the type 'OverscrollIndicatorNotification'.
lib/src/animations/src/scroll_listener.dart:153:20
╷
153 │ notification.disallowGlow();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/animations/src/scroll_listener.dart
ERROR: The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.
lib/src/camera/src/camera_view.dart:150:18
╷
150 │ SystemChrome.setEnabledSystemUIOverlays([]);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/camera/src/camera_view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.9.2+1 |
0.9.8+1 | 0.11.3+1 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
photo_manager |
^1.3.1 |
1.3.10 | 3.8.3 | |
uuid |
^3.0.4 |
3.0.7 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
camera_android |
- | 0.9.8+3 | 0.10.10+14 | |
camera_avfoundation |
- | 0.9.23+2 | 0.9.23+2 | |
camera_platform_interface |
- | 2.12.0 | 2.12.0 | |
camera_web |
- | 0.2.1+6 | 0.3.5+3 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+2 | 0.3.5+2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^0.9.2+1` on camera does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions camera to update the constraint.
The constraint `^1.3.1` on photo_manager does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions photo_manager to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 26 errors:
UNDEFINED_METHOD-lib/src/animations/src/scroll_listener.dart:153:20- The method 'disallowGlow' isn't defined for the type 'OverscrollIndicatorNotification'.UNDEFINED_METHOD-lib/src/camera/src/camera_view.dart:150:18- The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.UNDEFINED_METHOD-lib/src/camera/src/camera_view.dart:155:18- The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.9, Flutter 3.38.9, Dart 3.10.8.
Check the analysis log for details.