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

Type for parameters #2

Open
geekydiamond opened this issue Sep 25, 2018 · 0 comments
Open

Type for parameters #2

geekydiamond opened this issue Sep 25, 2018 · 0 comments

Comments

@geekydiamond
Copy link

Hi,

I'm pretty new to flutter so copied your example for drag and drop. I couldn't get it to work for ages, but finally got it working when I added parameter types to the onAccept and onWillAccept methods.

Not sure why that would be required, perhaps the framework couldn't find the correct method based on parameter types.

If this does seem like a valid correction then can you correct the example so others do not get stuck. Thanks so much for the code sample though, got me 90% of the way there.

Thanks,
Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant