SfSymbolConfig constructor

const SfSymbolConfig({
  1. required String name,
  2. required double size,
  3. FontWeight weight = FontWeight.normal,
  4. SfSymbolScale scale = SfSymbolScale.medium,
  5. SfSymbolRenderingMode renderingMode = SfSymbolRenderingMode.monochrome,
  6. List<Color> colors = const <Color>[],
  7. double? variableValue,
  8. SfSymbolEffect? effect,
  9. bool effectRepeats = true,
})

Implementation

const SfSymbolConfig({
  required this.name,
  required this.size,
  this.weight = FontWeight.normal,
  this.scale = SfSymbolScale.medium,
  this.renderingMode = SfSymbolRenderingMode.monochrome,
  this.colors = const <Color>[],
  this.variableValue,
  this.effect,
  this.effectRepeats = true,
});