popupWidget2 function
dynamic
popupWidget2(
- GlobalKey<
State< _popupKey,StatefulWidget> > - ComboData2 data,
- dynamic setValue(),
- String stringSearchText, {
- dynamic selectMany = false,
Implementation
popupWidget2(GlobalKey _popupKey, ComboData2 data, Function(String) setValue,
String stringSearchText,
{selectMany = false}) {
_stringSearchText = stringSearchText;
if (!_isPresent(_popupKey))
_popups.add(_PopupWindow(
_popupKey, data: data, setValue: setValue, selectMany: selectMany));
_PopupWindow current = _getCurrent(_popupKey);
current.setValue = setValue;
current.data = data;
}