backgroundColor property

Color? backgroundColor
final

If provided, the background color used for the menu.

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

Implementation

final Color? backgroundColor;