icon static method

Icon icon(
  1. IconData iconData, {
  2. double size = 24,
  3. Color? color,
})

Implementation

static Icon icon(IconData iconData, {double size = 24, Color? color}) => Icon(
      iconData,
      color: color ?? AppColors.textColor,
      size: size,
    );