popupMenuButton<T> function
PopupMenuButton<T>
popupMenuButton<T>(
- AppModel app,
- BuildContext context, {
- String? tooltip,
- Widget? icon,
- Widget? child,
- required PopupMenuItemBuilder<
T> itemBuilder, - PopupMenuItemSelected<
T> ? onSelected,
Implementation
PopupMenuButton<T> popupMenuButton<T>(AppModel app, BuildContext context,
{String? tooltip,
Widget? icon,
Widget? child,
required PopupMenuItemBuilder<T> itemBuilder,
PopupMenuItemSelected<T>? onSelected}) =>
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.buttonStyle()
.popupMenuButton(app, context,
tooltip: tooltip,
icon: icon,
child: child,
itemBuilder: itemBuilder,
onSelected: onSelected);