Skip to content

[Proposal] Add "onReorderStart" and "onReorderEnd" event in ReorderableListView class #95809

@hatano0x06

Description

@hatano0x06

I need
onReorderStart(key itemId)
onReorderEnd(key itemId)
in
ReorderableListView

https://api.flutter.dev/flutter/material/ReorderableListView-class.html

Use case & Proposal

"onReorderStart" detects that a reorder has started.

A list may contain images or a lot of text information.
We want to make it easy for the user to reorder the list by omitting some information.
For this reason, it would be nice to have a trigger at the start of sorting.
It would also be nice to know what was sorted (or grabbed) in order to make it scalable.


"onReorderEnd" detects that the reorder has ended.

This allows the data storage process to take place
Saving the data for each reorder is a waste of time, as it requires multiple communications.

In order to make it possible to save the data in a single operation, we need an event to detect the end of the operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.f: scrollingViewports, list views, slivers, etc.frameworkflutter/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