PopupMenuEntry<T> constructor Null safety

const PopupMenuEntry<T>(
  1. {Key? key}
)

Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.

Implementation

const PopupMenuEntry({ Key? key }) : super(key: key);