XImage.icon constructor
Implementation
factory XImage.icon(
String icon, {
double? width,
double? height,
}) {
return XImage(
uri: null,
remote: true,
width: width,
height: height,
overrideWidget: XIcon(XIconData(icon)),
);
}