HighlightPopupMenuButton<T> constructor

const HighlightPopupMenuButton<T>({
  1. Key? key,
  2. HighlightController? highlightController,
  3. required List<PopupMenuEntry<T>> itemBuilder(
    1. BuildContext
    ),
  4. String? tooltip,
  5. void onSelected(
    1. T
    )?,
  6. Widget? icon,
  7. bool repeatUntilOpen = false,
})

Implementation

const HighlightPopupMenuButton({
  Key? key,
  this.highlightController,
  required this.itemBuilder,
  this.tooltip,
  this.onSelected,
  this.icon,
  this.repeatUntilOpen = false,
})  : assert(!repeatUntilOpen || highlightController == null),
      super(key: key);