Skip to content

Draggable: onDragUpdate callback #39490

@rostopira

Description

@rostopira

Use case

I'm creating widget, like free-transform in photoshop
I have main draggable (big rectangle) and small draggable (small circles) in each corner
To be able to update all their positions I had to add onDragUpdate callback to Draggable

Proposal

Draggable should have parameter Function(DragUpdateDetails) onDragUpdate

I can provide a PR if any maintainer approve this as valid feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions