iconDestructiveForeground property

  1. @Deprecated('Legacy color')
WrappedIcon get iconDestructiveForeground

Wraps the icon with destructive foreground color.

Deprecated: Use alternative color scheme methods instead.

Implementation

@Deprecated('Legacy color')
WrappedIcon get iconDestructiveForeground {
  return WrappedIcon(
      data: (context, theme) =>
          IconThemeData(color: theme.colorScheme.destructiveForeground),
      child: this);
}