secondaryColor property

Color? secondaryColor
final

Optional secondary color for multi-color QR styles.

Used for gradient, fancyEyes, mosaic, and pixelArt styles. This color is used in different ways depending on the style:

  • As the end color in gradients
  • As the color for eye patterns in fancyEyes style
  • As the alternate color in mosaic patterns
  • As a secondary color in pixelArt style

Implementation

final Color? secondaryColor;