Open WillianSalceda opened 1 year ago
Noted, thank you for the reproducible code.
also the position of the item while it's being dragged changes slightly to the left or right depending on the width you set
Any updates on how to fix this with v1.1.0 ?
Facing same issue with ReorderableListView, when dragging, the item overflows and become bigger than original size. Quick dirty solution is to use internal padding as follows
ReorderableListView(
padding:
const EdgeInsets.symmetric(horizontal: 30, vertical: 20),
This puts some padding around the list view item so that on drag, it doesn't overflow screen width.
No solution yet?
The Problem
The width parameter of the ResponsiveScaledBox widget must not be larger than the default width already set by Flutter itself, otherwise an exception/assertion will be thrown whilst using ReorderableListView.
When it happens
Using ReorderableListView (and perhaps any other type of "Reorderable" widget) will be guaranteed to have an exception/assertion thrown while trying to rearrange the children order.
Log
Minimum reproducible code