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

Set HitTestBehavior to Opaque for GestureDetector #82

Open
superakabo opened this issue May 25, 2022 · 0 comments
Open

Set HitTestBehavior to Opaque for GestureDetector #82

superakabo opened this issue May 25, 2022 · 0 comments

Comments

@superakabo
Copy link

It is difficult to tap or drag widgets with a small paint area. Setting gesture detector behavior to HitTestBehavior.opaque fixes this issue.

GestureDetector(
      behavior: HitTestBehavior.opaque,
      onTapDown: (details) {},
    );
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