CNSymbol constructor
const
CNSymbol(})
Creates a symbol description for native rendering.
Example:
CNSymbol(
'star.fill',
size: 24,
color: CupertinoColors.systemYellow,
mode: CNSymbolRenderingMode.monochrome,
)
Implementation
const CNSymbol(
this.name, {
this.size = 24.0,
this.color,
this.paletteColors,
this.mode,
this.gradient,
});