showPopup method
dynamic
showPopup(
- dynamic context,
- dynamic w,
- dynamic h,
- dynamic actions,
- dynamic needSearch,
Implementation
showPopup(context, w, h, actions, needSearch) {
myLogAll('showPopup');
removeOverlay();
overlayEntry = OverlayEntry(builder: (BuildContext context) {
return MyPopup(
{gWidget: w, gHeight: h, gActions: actions, gSearch: needSearch});
/*return new Positioned(
top: MediaQuery.of(context).size.height * 0.7,
child: buildDraggable(context, MyPopup({gWidget: w, gHeight: h})));*/
});
Overlay.of(context).insert(overlayEntry!);
myNotifyListeners();
}