Skip to content

LongPressDraggable should have a flag to use rootOverlay and hitTestBehavior #78443

@salihgueler

Description

@salihgueler

Use case

In scenarios that we use LongPressDraggable, we might be needing to have an access to rootOverlay and hitTestBehavior. Even though, the parent class Draggable have these values at the current master channel, there is no access to either rootOverlay or hitTestBehavior.

Proposal

Add two new variables to LongPressDraggable constructor and pass them with the super call which will take these two variables directly to the parent class.

I will create a Pull Request to fix this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: gesturesflutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions