Description
Describe the bug
在使用wechat_assets_picker: 9.5.1之后无法运行项目,报错为:
../../.pub-cache/hosted/pub.dev/wechat_assets_picker-9.5.1/lib/src/delegates/asset_picker_builder_delegate.dart:1872:7: Error: No named parameter with the name 'withSubtype'.
withSubtype: false,
^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/wechat_picker_library-1.0.3/lib/src/widgets/locally_available_builder.dart:13:9: Context: Found this candidate, but the arguments don't match.
const LocallyAvailableBuilder({
^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/wechat_assets_picker-9.5.1/lib/src/widget/builder/image_page_builder.dart:138:7: Error: No named parameter with the name 'withSubtype'.
withSubtype: _isOriginal,
^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/wechat_picker_library-1.0.3/lib/src/widgets/locally_available_builder.dart:13:9: Context: Found this candidate, but the arguments don't match.
const LocallyAvailableBuilder({
^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
Expected behavior
Screenshots (If contains)
Version information
- Device: [e.g. iPhone X]
- OS: [e.g. iOS 14.7.1]
- Package Version: [e.g. 9.5.1]
- Flutter Version: [e.g. v3.29.2 stable]