-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Features] Initial image zoom and other features #9
Comments
Hi @RoyalCoder88, I created this package because i needed a solution to ensure that the pictures picked by the user are either in 1/1 or 4/5 ratio. Regarding your questions:
I will try to look about those points soon but the video support will not be available any time soon i think. |
Hi @LeGoffMael , Thanks for your quick reply,
Thanks a lot for your support! |
You can now use InstaAssetPicker.pickAssets(
context,
title: 'Select images',
specialItemBuilder: (context, asset, id) {
return ElevatedButton(
onPressed: () => print('test'),
child: Text('mychild'),
);
},
// since the list is revert, use prepend to be at the top
specialItemPosition: SpecialItemPosition.prepend,
onCompleted: (cropStream) { },
), for the other feature i still have to think about it, removing the crop is kind of out of scope for this package, so i have to think about it. |
Hey @LeGoffMael, Your package is seriously top-notch, and I appreciate how well you've put it together. I've been thinking it would be pretty sweet to have a video picker feature where we could choose the video's aspect ratio like instagram. Although, that's more of a nice-to-have, not a necessity. What's really key, though, is being able to use this one package to handle both photos and videos. Is there anyway i could support you and your work. All the best, |
Hey @lucapirolo, Video crop support would be indeed a really nice feature to this package, but requires a lot of work and time that i unfortunately won't have soon. My plan is to adapt my other package video_editor, to use a similar UI than the one used in this package. I also have to think about the exportation process, if on the device or not. If you're motivated and want to help build this feature, you could check how to adapt the video_editor crop UI (LeGoffMael/video_editor#114), if you could open a PR with this feature i would love to review it. If you just want to display videos & images, you can look into the example i made in flutter_wechat_assets_picker. There is no crop action, but you can select either images, videos or both. Although it seems that there is some issue with the video player (fluttercandies/flutter_wechat_assets_picker#416), it might help you to achieve your goal. |
Issue closed on favor of #42 |
Hi @LeGoffMael, first thanks for your great package, I have a few questions:
Thanks in advance!
The text was updated successfully, but these errors were encountered: