Features
Opens menu after a long press. Supports the top and bottom menus.
Demo
Usage
DeepMenu(
child: Card(
child: Padding(
padding: EdgeInsets.all(10),
child: Text("Message!"),
)),
),
bodyMenu: Column(
children: [
ElevatedButton(onPressed: () {
Navigator.of(context).pop();
}, child: Text("Save"))
],
),
headMenu: Column(
children: [
ElevatedButton(onPressed: () {
Navigator.of(context).pop();
}, child: Text("Remove"))
],
),
)