default From Surface
Creates a PopupMenuColors with colors derived from the surface color scheme.
Return
A PopupMenuColors with appropriate background and foreground colors.
Parameters
color Scheme
The color scheme to derive colors from. Defaults to the current MaterialTheme.colorScheme.