getDropdownMenuTextColor static method

Color getDropdownMenuTextColor(
  1. BuildContext context, {
  2. UpStyle? override,
  3. UpStyle? style,
  4. UpColorType? colorType,
})

Implementation

static Color getDropdownMenuTextColor(
  BuildContext context, {
  UpStyle? override,
  UpStyle? style,
  UpColorType? colorType,
}) {
  return override?.dropdownMenuTextColor ??
      style?.dropdownMenuTextColor ??
      getStyleByType(
        UpConfig.of(context).theme,
        colorType,
      ).dropdownMenuTextColor ??
      UpConfig.of(context).theme.baseColor.shade900;
}