Open
Description
flutter_slidable: 3.1.1
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
child: ListView.builder(
itemCount: 3,
itemBuilder: (context, index) {
return Column(
children: [
Text("Header"),
ListView.builder(
itemCount: 3,
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
itemBuilder: ((context, index) {
return Slidable(
endActionPane:
ActionPane(motion: DrawerMotion(), children: [
SlidableAction(
label: "Delete",
onPressed: (context) {},
)
]),
child: Container(
width: double.infinity,
height: 40,
child: Text("data"),
),
);
})),
],
);
}),
),
);
}
Metadata
Assignees
Labels
No labels