it is a follow-up of this query.
I am getting some white area after I drag the listing merchandise to reorder it. How can I do away with the white spacing whereas retaining the EdgeInsets between listing parts? That is how the white spacing appears like when reordering the merchandise:
And that is my code to construct the physique of the Scaffold:
physique:
Stack(
youngsters: [
Positioned(
child: ReorderableListView.builder(
buildDefaultDragHandles: false,
itemCount: widget.cards.length,
itemBuilder: (context, index) {
return Dismissible(
key: Key(widget.cards[index].title),
onDismissed: (path) {
setState(() {});
},
little one:
Card(
margin: EdgeInsets.symmetric(vertical: 4),
little one:
SizedBox(
peak: 75,
little one: ListTile(
tileColor: Colours.purple.shade200,
title: Textual content(widget.playing cards[index].title),
trailing: ReorderableDragStartListener(
index: index,
little one: const Icon(Icons.drag_handle),
),
onTap: (){
},
),
),
),
);
},
),
)
])