Skip to content
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

Works on stable channel #11

Closed
gitboss opened this issue Jun 30, 2019 · 3 comments
Closed

Works on stable channel #11

gitboss opened this issue Jun 30, 2019 · 3 comments

Comments

@gitboss
Copy link

gitboss commented Jun 30, 2019

The code works with stable channel as well by getting the local position using the following code :

RenderBox getBox = context.findRenderObject();
getBox.globalToLocal(details.globalPosition))

Can you please confirm if the offsets received with the above code are correct?

@artur-ios-dev
Copy link
Owner

artur-ios-dev commented Jul 2, 2019

Thank you for your feedback. I guess you are right, although there should be a new stable version next week (8. July) so I think it is best to just wait a few more days and all will be good for everyone ^^

@gitboss
Copy link
Author

gitboss commented Jul 3, 2019

I forgot to mention, please use the debouncer class instead of checking for interval by datetime. Currently the IDE shows a warning because the datetime is not immutable. If you like I can provide the code of how is can be implemented..

@artur-ios-dev
Copy link
Owner

@gitboss Sure, go ahead, pull requests are welcome as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Release 1.0.0
  
Done
Development

No branches or pull requests

2 participants