popupMenuItem<T> function

PopupMenuItem<T> popupMenuItem<T>(
  1. AppModel app,
  2. BuildContext context, {
  3. required String label,
  4. bool enabled = true,
  5. T? value,
})

Implementation

PopupMenuItem<T> popupMenuItem<T>(AppModel app, BuildContext context,
        {required String label, bool enabled = true, T? value}) =>
    StyleRegistry.registry()
        .styleWithApp(app)
        .frontEndStyle()
        .buttonStyle()
        .popupMenuItem(app, context,
            label: label, enabled: enabled, value: value);