showPopupItem method

dynamic showPopupItem(
  1. dynamic item,
  2. dynamic typeOwner,
  3. dynamic name,
  4. dynamic value,
  5. dynamic id,
  6. dynamic backcolor,
  7. dynamic context,
  8. dynamic needSearch,
)

Implementation

showPopupItem(
    item, typeOwner, name, value, id, backcolor, context, needSearch) async {
  myLogAll('showPopupItem');
  if (overlayEntry != null) {
    return;
  }

  List actions = [];
  actions.add({
    gType: gIcon,
    gValue: 0xef49,
    gLabel: gConfirm,
    gAction: gLocalAction,
    gItem: item,
    gTypeOwner: typeOwner,
    gName: name,
    gId: id,
  });
  Widget w = await getItemSubWidget(
      item, typeOwner, name, context, id, backcolor, actions);

  //}
  showPopup(context, w, null, actions, needSearch);
  //}
}