Can someone show me a small example of how to create a popup widget,
where you can insert any content (e.g. button or TextField) (in the Designer)?
I found an example of a popup in which you can display a string list here in the forum.
How can you use the itemBuilder: (context) so that you can insert any widget in the
FlutterFlow Designer instead?
itemBuilder: (context) {
return widget.values.mapIndexed((int index, dynamic value) {
return PopupMenuItem<int>(
value: index,
child: Text(value,
style: TextStyle(
color: widget.menuFontColor ??
FlutterFlowTheme.of(context).primaryText,
fontSize: widget.menuFontSize)),
);
}).toList();
});