CNToolbarMenu constructor
const
CNToolbarMenu({
- String? id,
- required String label,
- required List<
CNPopupMenuEntry> items, - CNSymbol? icon,
- IconData? customIcon,
- CNImageAsset? imageAsset,
- String? tooltip,
- bool enabled = true,
- bool showsIndicator = true,
- bool centered = false,
- ValueChanged<
List< ? onSelected,int> >
Creates a menu item.
Implementation
const CNToolbarMenu({
super.id,
required this.label,
required this.items,
this.icon,
this.customIcon,
this.imageAsset,
this.tooltip,
this.enabled = true,
this.showsIndicator = true,
this.centered = false,
this.onSelected,
});