color property

Color? color
final

If provided, the background color used for the menu.

If this property is null, then PopupMenuThemeData.color is used. If PopupMenuThemeData.color is also null, then Theme.of(context).cardColor is used.

Implementation

final Color? color;