Skip to content

[wearable_rotary] Add a RotatoryDetector widget #544

Open
@alestiago

Description

@alestiago

Description

As a Flutter developer I'm used to using a GestureDetector to listen to user gesture inputs. Where I pass callbacks and I don't have to deal with disposing controllers.

I would like to have a RotatoryDetector widget or similar that allows me listening to events with an API similar to the one offered by GestureDetector.

For example:

RotatoryDetector(
  onRotate: (details) => {},
);

I would expect the details to have information such as RotatoryDirection and other values available with a RotatoryScrollController.

I think the API is opened for discussion. I'm willing to contribute once agreed on a solution. Thanks for this plugin.

[Issue opened on wearable_rotary 2.0.0]

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