wechat_assets_picker 9.7.0 copy "wechat_assets_picker: ^9.7.0" to clipboard
wechat_assets_picker: ^9.7.0 copied to clipboard

An image picker (also with videos and audio) for Flutter projects based on WeChat's UI, with full support for customization.

85/ 160
pub points
35.7k
downloads

We analyzed this package 16 hours ago, and awarded it 85 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:520:48

    ╷
520 │ <td align="center" valign="top" width="14.28%"><a href="http://about.me/gasol"><img src="https://avatars.githubusercontent.com/u/108053?v=4?s=50" width="50px;" alt="Gasol Wu"/><br /><sub><b>Gasol Wu</b></sub></a><br /><a href="#translation-Gasol" title="Translation">🌍</a></td>
    │                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

907 out of 1392 API elements (65.2 %) have documentation comments.

Some symbols that are missing documentation: wechat_assets_picker, wechat_assets_picker.AlbumType.AlbumType.new, wechat_assets_picker.AndroidMediaColumns.AndroidMediaColumns.new, wechat_assets_picker.AndroidMediaColumns.album, wechat_assets_picker.AndroidMediaColumns.albumArtist.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:wechat_assets_picker/wechat_assets_picker.dart that imports:
  • package:wechat_assets_picker/src/widget/builder/asset_entity_grid_item_builder.dart that imports:
  • package:wechat_assets_picker/src/internals/singleton.dart that imports:
  • package:wechat_assets_picker/src/delegates/sort_path_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:wechat_assets_picker/wechat_assets_picker.dart that imports:
  • package:wechat_assets_picker/src/widget/builder/asset_entity_grid_item_builder.dart that imports:
  • package:wechat_assets_picker/src/internals/singleton.dart that imports:
  • package:wechat_assets_picker/src/delegates/sort_path_delegate.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:wechat_assets_picker/wechat_assets_picker.dart that imports:
  • package:wechat_assets_picker/src/widget/builder/asset_entity_grid_item_builder.dart that imports:
  • package:wechat_assets_picker/src/internals/singleton.dart that imports:
  • package:wechat_assets_picker/src/delegates/sort_path_delegate.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.

Failed check 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.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 64 issues. Showing the first 2:

ERROR: The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.

lib/src/delegates/asset_picker_delegate.dart:271:28

    ╷
271 │           bottomAppBarTheme: BottomAppBarTheme(
    │ ┌────────────────────────────^
272 │ │           color: Colors.grey[100],
273 │ │         ),
    │ └─────────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/delegates/asset_picker_delegate.dart

ERROR: The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.

lib/src/delegates/asset_picker_delegate.dart:324:26

    ╷
324 │         bottomAppBarTheme: BottomAppBarTheme(
    │ ┌──────────────────────────^
325 │ │         color: Colors.grey[850],
326 │ │       ),
    │ └───────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/delegates/asset_picker_delegate.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
extended_image >=8.3.0 <11.0.0 10.0.1 10.0.1
photo_manager ^3.5.0 3.7.1 3.7.1
photo_manager_image_provider ^2.2.0 2.2.0 2.2.0
provider ^6.0.5 6.1.5+1 6.1.5+1
video_player ^2.7.0 2.10.0 2.10.0
visibility_detector ^0.4.0 0.4.0+2 0.4.0+2
wechat_picker_library ^1.0.5 1.0.7 1.0.7
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
extended_image_library - 5.0.1 5.0.1
ffi - 2.1.4 2.1.4
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_client_helper - 3.0.0 3.0.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.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.20 2.2.20
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
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.2.0 2.2.0
video_player_android - 2.8.17 2.8.17
video_player_avfoundation - 2.8.4 2.8.4
video_player_platform_interface - 6.5.0 6.5.0
video_player_web - 2.4.0 2.4.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/delegates/asset_picker_delegate.dart:271:28 - The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/delegates/asset_picker_delegate.dart:324:26 - The argument type 'BottomAppBarTheme' can't be assigned to the parameter type 'BottomAppBarThemeData?'.
  • INVALID_ASSIGNMENT - lib/src/widget/asset_picker_app_bar.dart:108:37 - A value of type 'AppBarThemeData' can't be assigned to a variable of type 'AppBarTheme'.

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.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
839
likes
85
points
35.7k
downloads
screenshot

Publisher

verified publisherfluttercandies.com

Weekly Downloads

An image picker (also with videos and audio) for Flutter projects based on WeChat's UI, with full support for customization.

Repository (GitHub)
View/report issues

Topics

#picker #image #audio #video #wechat

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

extended_image, flutter, photo_manager, photo_manager_image_provider, provider, video_player, visibility_detector, wechat_picker_library

More

Packages that depend on wechat_assets_picker