10000 EtchGestureDetector · Issue #1 · d3xvn/etch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
EtchGestureDetector #1
Open
Open
@TimWhiting

Description

@TimWhiting

I would like some sort of easy way to have a callback invoked when a touch is registered within a Etch geometry.

Not sure the best API design. Hit tests occur even if a cursor is just hovered/moved over a point on the screen I believe, and it is important to distinguish that from actual clicks, I would like to know about both though. Which means the custom paint would need to be wrapped in a GestureDetector or Listener widget or possibly both.

The main advantage over doing it outside of the etch package is that the transforms and shapes of the geometries are already given to etch, and so it seems natural to defer the bounds / intersection testing to etch as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0