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
I see a lot of older implementations of custom logic, for when the image is uploaded but before it's accepted, but none of those are working anymore.
Is there a way to add custom logic when the image is selected by the user? I want to be able to reject it based on it's size, dimensions and a couple other factors. I also want to be able to convert the image to bytes and use Image.memory to display the image.
I see imageProviderBuilder method but it's not asynchronous and it does not allow me to reject the image altogether.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I see a lot of older implementations of custom logic, for when the image is uploaded but before it's accepted, but none of those are working anymore.
Is there a way to add custom logic when the image is selected by the user? I want to be able to reject it based on it's size, dimensions and a couple other factors. I also want to be able to convert the image to bytes and use Image.memory to display the image.
I see imageProviderBuilder method but it's not asynchronous and it does not allow me to reject the image altogether.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions