iconColor method

Icon iconColor(
  1. Color color
)

Extension method to directly access Icon's color without wrapping or with dot operator.

Implementation

Icon iconColor(Color color) => copyWith(color: color);