• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    Dart
  • License
    BSD 3-Clause "New...
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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"))
        ],
    ),
)