BasicPopupMenuButton<T> constructor
const
BasicPopupMenuButton<T> ({
- Key? key,
- Icon? icon,
- Widget? child,
- VoidCallback? onPressed,
- required PopupMenuItemSelected<
T> onSelected, - required List<
BasicPopupMenuButtonItemModel< items,T> > - List<
BasicPopupMenuButtonItemModel< ? sectioned = const [],T> > - Offset offset = Offset.zero,
- bool iconIsRight = false,
- Color? iconItemColor,
- double? iconItemSize,
- TextStyle? style,
- EdgeInsets? padding,
Implementation
const BasicPopupMenuButton({
Key? key,
this.icon,
this.child,
this.onPressed,
required this.onSelected,
required this.items,
this.sectioned = const [],
this.offset = Offset.zero,
this.iconIsRight = false,
this.iconItemColor,
this.iconItemSize,
this.style,
this.padding,
}) : super(key: key);