popupMenuOpacity property
Popup menu background opacity.
Used by FlexColorScheme to modify the opacity on the effective colorScheme.surface color used on the themed PopupMenu background color.
For opacity to be applied to the background a defined color also have
be passed. If opacity is not null, FlexColorScheme will apply it to its
colorScheme.surface
and pass it to
FlexSubThemes.popupMenuTheme's backgroundColor color
. If it is null,
FlexColorScheme will not pass any color the sub-theme background color,
and widget then uses its default behavior background color, which also
defaults to use ThemeData.colorscheme
and in it ColorScheme.surface.
If null, defaults to 1, fully opaque.
Implementation
final double? popupMenuOpacity;