deep_menu 1.0.1 deep_menu: ^1.0.1 copied to clipboard
Opens menu after a long press
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"))
],
),
)