CNIconView constructor
const
CNIconView({})
Creates a platform-rendered SF Symbol icon.
Implementation
const CNIconView({
super.key,
this.symbol,
this.imageAsset,
this.customIcon,
this.size,
this.color,
this.mode,
this.gradient,
this.height,
}) : assert(
symbol != null || imageAsset != null || customIcon != null,
'At least one of symbol, imageAsset, or customIcon must be provided',
);