PopupMenuThemeData constructor Null safety

const PopupMenuThemeData(
  1. {Color? color,
  2. ShapeBorder? shape,
  3. double? elevation,
  4. TextStyle? textStyle,
  5. bool? enableFeedback,
  6. MaterialStateProperty<MouseCursor?>? mouseCursor}
)

Creates the set of properties used to configure PopupMenuTheme.

Implementation

const PopupMenuThemeData({
  this.color,
  this.shape,
  this.elevation,
  this.textStyle,
  this.enableFeedback,
  this.mouseCursor,
});