CNIcon constructor

const CNIcon({
  1. Key? key,
  2. required CNSymbol symbol,
  3. double? size,
  4. Color? color,
  5. CNSymbolRenderingMode? mode,
  6. bool? gradient,
  7. double? height,
})

Creates a platform-rendered SF Symbol icon.

Implementation

const CNIcon({
  super.key,
  required this.symbol,
  this.size,
  this.color,
  this.mode,
  this.gradient,
  this.height,
});