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

Inject hook GestureDetector无效 #142

Open
lwy980328 opened this issue Jun 24, 2022 · 0 comments
Open

Inject hook GestureDetector无效 #142

lwy980328 opened this issue Jun 24, 2022 · 0 comments

Comments

@lwy980328
Copy link

lwy980328 commented Jun 24, 2022

我使用tag1.0.5的AspectD和flutter1.22.6,尝试像样例那样使用Inject hook GestureDetector 不成功。有人知道是什么原因吗?或者该怎么调试

@Inject("package:flutter/src/widgets/gesture_detector.dart","GestureDetector","-build", lineNum:794) @pragma("vm:entry-point") static void onTapBuild() { Object instance; //Aspectd Ignore Object context; //Aspectd Ignore print(instance); print(context); print('---onTapBuild---'); }

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