fh_assets_picker 3.0.4 fh_assets_picker: ^3.0.4 copied to clipboard
An image (and videos) picker similar with Instagram, supports multi picking, crop and aspect ratio.
We analyzed this package 3 days ago, and awarded it 140 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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
912 out of 1376 API elements (66.3 %) have documentation comments.
Some symbols that are missing documentation: insta_assets_picker
, insta_assets_picker.AndroidMediaColumns.album
, insta_assets_picker.AndroidMediaColumns.albumArtist
, insta_assets_picker.AndroidMediaColumns.artist
, insta_assets_picker.AndroidMediaColumns.author
.
10/10 points: Package has an example and has no issues with screenshots
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:fh_assets_picker/fh_assets_picker.dart
that imports:package:wechat_assets_picker/src/delegates/asset_picker_text_delegate.dart
that imports:package:photo_manager/photo_manager.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:fh_assets_picker/fh_assets_picker.dart
that imports:package:wechat_assets_picker/src/delegates/asset_picker_text_delegate.dart
that imports:package:photo_manager/photo_manager.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `macOS`.
Because:
package:fh_assets_picker/fh_assets_picker.dart
that imports:package:fh_assets_picker/src/widget/crop_transform.dart
that imports:package:insta_assets_crop/insta_assets_crop.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:fh_assets_picker/fh_assets_picker.dart
that imports:package:wechat_assets_picker/src/delegates/asset_picker_text_delegate.dart
that imports:package:photo_manager/photo_manager.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:fh_assets_picker/fh_assets_picker.dart
that imports:package:wechat_assets_picker/src/delegates/asset_picker_text_delegate.dart
that imports:package:photo_manager/photo_manager.dart
that imports:package:photo_manager/src/utils/column_utils.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/widget/crop_viewer.dart:272:54
╷
272 │ color: widget.theme?.cardColor.withOpacity(0.4),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/crop_viewer.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/widget/insta_asset_picker_delegate.dart:644:43
╷
644 │ : theme.unselectedWidgetColor.withOpacity(.2),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/insta_asset_picker_delegate.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
extended_image |
^8.2.0 |
8.3.1 | 9.0.9 |
flutter |
flutter |
0.0.0 | 0.0.0 |
fraction |
^5.0.2 |
5.0.4 | 5.0.4 |
insta_assets_crop |
^0.1.0-dev.2 |
0.1.0 | 0.1.0 |
photo_manager |
^3.0.0 |
3.6.3 | 3.6.3 |
provider |
^6.0.5 |
6.1.2 | 6.1.2 |
video_player |
^2.9.2 |
2.9.2 | 2.9.2 |
wechat_assets_picker |
^9.1.0 |
9.4.2 | 9.4.2 |
wechat_picker_library |
^1.0.0 |
1.0.5 | 1.0.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
csslib |
- | 1.0.2 | 1.0.2 |
extended_image_library |
- | 4.0.5 | 4.0.5 |
ffi |
- | 2.1.3 | 2.1.3 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
html |
- | 0.15.5 | 0.15.5 |
http |
- | 1.2.2 | 1.2.2 |
http_client_helper |
- | 3.0.0 | 3.0.0 |
http_parser |
- | 4.1.1 | 4.1.1 |
js |
- | 0.7.1 | 0.7.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.0 |
path |
- | 1.9.1 | 1.9.1 |
path_provider |
- | 2.1.5 | 2.1.5 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.1 |
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 |
photo_manager_image_provider |
- | 2.2.0 | 2.2.0 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
video_player_android |
- | 2.7.16 | 2.7.16 |
video_player_avfoundation |
- | 2.6.5 | 2.6.5 |
video_player_platform_interface |
- | 6.2.3 | 6.2.3 |
video_player_web |
- | 2.3.3 | 2.3.3 |
visibility_detector |
- | 0.4.0+2 | 0.4.0+2 |
web |
- | 1.1.0 | 1.1.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^8.2.0` on extended_image does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions extended_image
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.