ToolbarOverflowMenuItem constructor

const ToolbarOverflowMenuItem({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. required String label,
  4. List<ToolbarOverflowMenuItem>? subMenuItems,
  5. bool? isSelected,
})

Builds a menu-item that belongs in the toolbar overflowed actions menu.

Implementation

const ToolbarOverflowMenuItem({
  super.key,
  this.onPressed,
  required this.label,
  this.subMenuItems,
  this.isSelected,
});