AppPopupMenu<T> constructor
AppPopupMenu<T> ({
- Key? key,
- List<
T> ? items, - PopupMenuItemBuilder<
T> ? itemBuilder, - T? initialValue,
- PopupMenuItemSelected<
T> ? onSelected, - PopupMenuCanceled? onCanceled,
- String? tooltip,
- double? elevation,
- EdgeInsetsGeometry? padding = const EdgeInsets.all(8),
- Widget? child,
- Widget? icon,
- Offset? offset = Offset.zero,
- bool? enabled = true,
- ShapeBorder? shape,
- Color? color,
- bool? captureInheritedThemes = true,
Implementation
AppPopupMenu({
this.key,
this.items,
this.itemBuilder,
this.initialValue,
this.onSelected,
this.onCanceled,
this.tooltip,
this.elevation,
this.padding = const EdgeInsets.all(8),
this.child,
this.icon,
this.offset = Offset.zero,
this.enabled = true,
this.shape,
this.color,
this.captureInheritedThemes = true,
});