You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because dartx >=0.2.0 <0.5.0 depends on collection >=1.14.11 <1.15.0 and every version of flutter from sdk depends on collection 1.15.0-nullsafety, dartx >=0.2.0 <0.5.0 is incompatible with flutter from sdk.
306
+
So, because wechat_assets_picker_demo depends on both flutter any from sdk and dartx ^0.4.2, version solving failed.
*[Version resolve conflict with `xxx` (e.g. `dartx`)](#version-resolve-conflict-with-xxx-e.g.-dartx)
54
55
*[How can I get path from the `AssetEntity` to integrate with `File` object, upload or edit?](#how-can-i-get-path-from-the-assetentity-to-integrate-with-file-object-upload-or-edit)
55
56
*[Create `AssetEntity` from `File` or `Uint8List` (rawData)](#create-assetentity-from-file-or-uint8list-rawdata)
56
57
*[Console warning 'Failed to find GeneratedAppGlideModule'](#glide-warning-failed-to-find-generatedappglidemodule)
@@ -88,7 +89,7 @@ Althought the package provide selection for assets, it still require users build
88
89
89
90
Flutter SDK: `>=1.17.0` .
90
91
91
-
If you got an error about `resolve conflict` when running `flutter pub get` , please use `dependency_overrides` to solve it.
92
+
If you got an error about `resolve conflict` when running `flutter pub get` , please use `dependency_overrides` to solve it. See [here](#version-resolve-conflict-with-xxx-e.g.-dartx) .
### Version resolve conflict with `xxx` (e.g. `dartx`)
320
+
321
+
For some reasons `dartx` or other packages may require a different version than yours. If you're facing this issue, and the error looks like:
322
+
323
+
```
324
+
Because dartx >=0.2.0 <0.5.0 depends on collection >=1.14.11 <1.15.0 and every version of flutter from sdk depends on collection 1.15.0-nullsafety, dartx >=0.2.0 <0.5.0 is incompatible with flutter from sdk.
325
+
So, because wechat_assets_picker_demo depends on both flutter any from sdk and dartx ^0.4.2, version solving failed.
326
+
```
327
+
328
+
Please add the code below to make it work.
329
+
330
+
```yaml
331
+
dependency_overrides:
332
+
dartx: ^0.4.2
333
+
```
334
+
318
335
### How can I get path from the `AssetEntity` to integrate with `File` object, upload or edit?
0 commit comments