reIcon method
Implementation
Widget reIcon({Color? color, double? size}) {
final self = this;
if (self is Icon) {
return Icon(
self.icon,
color: color ?? self.color,
size: size ?? self.size,
);
} else {
return self;
}
}