getDropdownMenuColor static method
Color
getDropdownMenuColor(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static Color getDropdownMenuColor(
BuildContext context, {
UpStyle? override,
UpStyle? style,
UpColorType? colorType,
}) {
return override?.dropdownMenuColor ??
style?.dropdownMenuColor ??
getStyleByType(
UpConfig.of(context).theme,
colorType,
).dropdownMenuColor ??
UpConfig.of(context).theme.baseColor.shade50;
}