icon static method
Implementation
static Icon icon(
  IconData icon, {
  Key? key,
  double? size,
  Color? color,
  String? semanticLabel,
  TextDirection? textDirection,
  bool animate = false,
}) =>
    animate
        ? _StyledAnimatedIconContainer(
            icon,
            color: color,
            size: size,
            semanticLabel: semanticLabel,
            textDirection: textDirection,
          )
        : Icon(
            icon,
            color: color,
            size: size,
            semanticLabel: semanticLabel,
            textDirection: textDirection,
          );