popupMenuButton<T> function

PopupMenuButton<T> popupMenuButton<T>(
  1. AppModel app,
  2. BuildContext context, {
  3. String? tooltip,
  4. Widget? icon,
  5. Widget? child,
  6. required PopupMenuItemBuilder<T> itemBuilder,
  7. 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);