getAlertDialogIconColor static method

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

Implementation

static Color? getAlertDialogIconColor(
  BuildContext context, {
  UpStyle? override,
  UpStyle? style,
  UpColorType? colorType,
}) {
  return override?.alertDialogIconColor ??
      style?.alertDialogIconColor ??
      getStyleByType(UpConfig.of(context).theme, colorType)
          .alertDialogIconColor ??
      Theme.of(context).primaryColor;
}