Skip to content

Inject hook GestureDetector无效 #142

@lwy980328

Description

@lwy980328

我使用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---'); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions