Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
[ad_1]
this can be 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 holding the EdgeInsets between listing components? That is how the white spacing seems to be like when reordering the merchandise:
And that is my code to construct the physique of the Scaffold:
physique:
Stack(
kids: [
Positioned(
child: ReorderableListView.builder(
buildDefaultDragHandles: false,
itemCount: widget.cards.length,
itemBuilder: (context, index) {
return Dismissible(
key: Key(widget.cards[index].title),
onDismissed: (route) {
setState(() {});
},
youngster:
Card(
margin: EdgeInsets.symmetric(vertical: 4),
youngster:
SizedBox(
top: 75,
youngster: ListTile(
tileColor: Colours.purple.shade200,
title: Textual content(widget.playing cards[index].title),
trailing: ReorderableDragStartListener(
index: index,
youngster: const Icon(Icons.drag_handle),
),
onTap: (){
},
),
),
),
);
},
),
)
])
[ad_2]