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
{{ message }}
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
Hi, first of all I wanna thank you for such a great and fully featured plugin.
I need to handle user gestures after image is successfully loaded. I know there is loadedCallback, but I try to don't use any stateful widget, because I use Redux and almost all state-related properties are coming from Redux's store. By using loadedCallback I have to use a flag to determine if image is loaded to wrap whole widget into another widget (say GestureDetector) to handle gestures, and that flag should be defined in an stateful widget.
I think use can provide one of two below solutions to help me get rid of StatefullWidget usage.
Provide some gesture-related callbacks to handle gestures, e.g. onSuccessTap, onSuccessDoubleTap etc. This way isn't very flexible.
Add a callback which passes loaded image in and I can wrap it into any widget I wish, and then return the final widget to put it into the widget tree. This way I can do whatever I want.
Thanks in advance, Mohammad
The text was updated successfully, but these errors were encountered:
Hi, first of all I wanna thank you for such a great and fully featured plugin.
I need to handle user gestures after image is successfully loaded. I know there is loadedCallback, but I try to don't use any stateful widget, because I use Redux and almost all state-related properties are coming from Redux's store. By using loadedCallback I have to use a flag to determine if image is loaded to wrap whole widget into another widget (say GestureDetector) to handle gestures, and that flag should be defined in an stateful widget.
I think use can provide one of two below solutions to help me get rid of StatefullWidget usage.
Provide some gesture-related callbacks to handle gestures, e.g. onSuccessTap, onSuccessDoubleTap etc. This way isn't very flexible.
Add a callback which passes loaded image in and I can wrap it into any widget I wish, and then return the final widget to put it into the widget tree. This way I can do whatever I want.
Thanks in advance, Mohammad
The text was updated successfully, but these errors were encountered: