Skip to content

Commit

Permalink
🚀 support picker 9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
LeGoffMael committed Sep 20, 2024
1 parent 24832f0 commit 6d85107
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
12 changes: 6 additions & 6 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ packages:
dependency: transitive
description:
name: fraction
sha256: "09e9504c9177bbd77df56e5d147abfbb3b43360e64bf61510059c14d6a82d524"
sha256: ac0d9904bb8211eb28606bdf623ff9f222c53240d8e9b927a07c149d356eddc2
url: "https://pub.dev"
source: hosted
version: "5.0.2"
version: "5.0.3"
html:
dependency: transitive
description:
Expand Down Expand Up @@ -589,10 +589,10 @@ packages:
dependency: transitive
description:
name: wechat_assets_picker
sha256: f4b3eb0662f9a9f0453a591f056f5f63244586b772b62b79730a54e501b02671
sha256: aea82a6b523e118197187c6371301de5d15ce5572f353b575b5dcdeb2d17d44a
url: "https://pub.dev"
source: hosted
version: "9.1.0"
version: "9.2.2"
wechat_camera_picker:
dependency: "direct main"
description:
Expand All @@ -605,10 +605,10 @@ packages:
dependency: transitive
description:
name: wechat_picker_library
sha256: a47cdb227955f64494fe55bc42d91a76bfc626a446075d4284a070f1e1297b4e
sha256: "886cdf80a708fa955c2d7e6a2349c9b4519b322cd941e8c7334512c25294b1b1"
url: "https://pub.dev"
source: hosted
version: "1.0.0"
version: "1.0.2"
win32:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions lib/src/widget/crop_viewer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ class _InnerCropViewState extends State<InnerCropView>
LocallyAvailableBuilder(
key: ValueKey<String>(widget.asset.id),
asset: widget.asset,
isOriginal: true,
builder: (BuildContext context, AssetEntity asset) =>
insta_crop_view.Crop(
key: widget.cropKey,
Expand Down
1 change: 1 addition & 0 deletions lib/src/widget/video_player_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ mixin InstaAssetVideoPlayerMixin<T extends InstaAssetVideoPlayerStatefulWidget>
LocallyAvailableBuilder(
key: ValueKey<String>(widget.asset.id),
asset: widget.asset,
isOriginal: false,
builder: builder,
);

Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ dependencies:
sdk: flutter

insta_assets_crop: ^0.1.0-dev.2 # custom package from image_crop
fraction: ^5.0.2 # to show crop ratio in crop view
fraction: ^5.0.3 # to show crop ratio in crop view

wechat_assets_picker: ^9.1.0
wechat_assets_picker: ^9.2.2

# match with wechat_assets_picker package
photo_manager: ^3.0.0
wechat_picker_library: ^1.0.0
wechat_picker_library: ^1.0.2
extended_image: ^8.2.0
provider: ^6.0.5
video_player: ^2.7.0
Expand Down

0 comments on commit 6d85107

Please sign in to comment.