CNSymbol constructor

const CNSymbol(
  1. String name, {
  2. double size = 24.0,
  3. Color? color,
  4. List<Color>? paletteColors,
  5. CNSymbolRenderingMode? mode,
  6. bool? gradient,
})

Creates a symbol description for native rendering.

Implementation

const CNSymbol(
  this.name, {
  this.size = 24.0,
  this.color,
  this.paletteColors,
  this.mode,
  this.gradient,
});