add method
Inserts a sub menu in the tree. If already existing, it's updated with the
provided menu
Implementation
void add(Widget menu, GlobalKey key) {
setState(() => _menus[key] = menu);
}
Inserts a sub menu in the tree. If already existing, it's updated with the
provided menu
void add(Widget menu, GlobalKey key) {
setState(() => _menus[key] = menu);
}