drishya_picker 2.0.0 drishya_picker: ^2.0.0 copied to clipboard
Assets picker which is inspired by messenger camera and gallery.
We analyzed this package 45 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 license: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
638 out of 912 API elements (70.0 %) 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.dart
that imports:package:drishya_picker/src/gallery/gallery_view.dart
that imports:package:drishya_picker/src/gallery/src/widgets/widgets.dart
that imports:package:drishya_picker/src/gallery/src/widgets/gallery_view_field.dart
that imports:package:drishya_picker/src/animations/animations.dart
that imports:package:drishya_picker/src/animations/src/route_transition.dart
that imports:package:drishya_picker/src/camera/src/widgets/ui_handler.dart
that imports:package:camera/camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:drishya_picker/drishya_picker.dart
that imports:package:drishya_picker/src/gallery/gallery_view.dart
that imports:package:drishya_picker/src/gallery/src/widgets/widgets.dart
that imports:package:drishya_picker/src/gallery/src/widgets/gallery_view_field.dart
that imports:package:drishya_picker/src/animations/animations.dart
that imports:package:drishya_picker/src/animations/src/route_transition.dart
that imports:package:drishya_picker/src/camera/src/widgets/ui_handler.dart
that imports:package:camera/camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:drishya_picker/drishya_picker.dart
that imports:package:drishya_picker/src/gallery/gallery_view.dart
that imports:package:drishya_picker/src/gallery/src/widgets/widgets.dart
that imports:package:drishya_picker/src/gallery/src/widgets/gallery_view_field.dart
that imports:package:drishya_picker/src/animations/animations.dart
that imports:package:drishya_picker/src/animations/src/route_transition.dart
that imports:package:drishya_picker/src/camera/src/widgets/ui_handler.dart
that imports:package:camera/camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:drishya_picker/drishya_picker.dart
that imports:package:drishya_picker/src/gallery/gallery_view.dart
that imports:package:drishya_picker/src/gallery/src/gallery_view.dart
that imports:package:drishya_picker/src/gallery/src/widgets/gallery_header.dart
that imports:package:drishya_picker/src/gallery/src/widgets/album_builder.dart
that imports:package:drishya_picker/src/gallery/src/widgets/gallery_permission_view.dart
that imports:package:photo_manager/photo_manager.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 35 issues. Showing the first 2:
ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.
lib/src/editor/src/entities/editor_background.dart:197:46
╷
197 │ style: Theme.of(context).textTheme.subtitle1?.copyWith(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/editor/src/entities/editor_background.dart
ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.
lib/src/editor/src/entities/editor_background.dart:216:50
╷
216 │ style: Theme.of(context).textTheme.subtitle1?.copyWith(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/editor/src/entities/editor_background.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
camera |
^0.10.0+4 |
0.10.6 | 0.11.0+2 |
collection |
^1.16.0 |
1.19.0 | 1.19.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
meta |
^1.8.0 |
1.15.0 | 1.16.0 |
path |
^1.8.2 |
1.9.1 | 1.9.1 |
photo_manager |
^2.5.0 |
2.8.2 | 3.6.3 |
uuid |
^3.0.6 |
3.0.7 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
camera_android |
- | 0.10.9+17 | 0.10.9+17 |
camera_avfoundation |
- | 0.9.17+5 | 0.9.17+5 |
camera_platform_interface |
- | 2.8.0 | 2.8.0 |
camera_web |
- | 0.3.5 | 0.3.5 |
characters |
- | 1.3.0 | 1.4.0 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
flutter_plugin_android_lifecycle |
- | 2.0.24 | 2.0.24 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
stream_transform |
- | 2.1.1 | 2.1.1 |
typed_data |
- | 1.4.0 | 1.4.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
.
Found 3 issues. Showing the first 2:
The constraint `^0.10.0+4` on camera does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions camera
to update the constraint.
The constraint `^2.5.0` on photo_manager does not support the stable version `3.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 18 errors:
UNDEFINED_GETTER
-lib/src/editor/src/entities/editor_background.dart:197:46
- The getter 'subtitle1' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/src/editor/src/entities/editor_background.dart:216:50
- The getter 'subtitle1' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/src/editor/src/widgets/editor_close_button.dart:91:44
- The getter 'button' isn't defined for the type 'TextTheme'.
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.