Skip to content

Commit

Permalink
* TODO: IOS不能使用BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
heqian committed Jun 14, 2020
1 parent 09a818f commit 56ad30b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 21 deletions.
49 changes: 28 additions & 21 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/head_image_cropper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ class CropperImageElement extends RenderObjectElement {
listener = ImageStreamListener((image, synchronousCall) {
renderObject.image = image.image;
stream.removeListener(listener);
}, onError: (exception, stackTrace) {
stream.removeListener(listener);
});
stream.addListener(listener);
}
Expand Down

0 comments on commit 56ad30b

Please sign in to comment.