PopupMenuTitle constructor

const PopupMenuTitle(
  1. {@required String title,
  2. TextOverflow overflow = TextOverflow.ellipsis,
  3. TextStyle textStyle}
)

Creates the menu entry widget.

Specify the title to display with title. Specify the text overflow style with overflow. Specify a custom TextStyle with textStyle. The defaultFontWeight and primary theme color will be used by default.

Implementation

const PopupMenuTitle({
  @required this.title,
  this.overflow = TextOverflow.ellipsis,
  this.textStyle,
});