PrettyQrSmoothSymbol constructor

  1. @literal
const PrettyQrSmoothSymbol({
  1. double roundFactor = 1,
  2. Color color = const Color(0xFF000000),
})

Creates a pretty QR shape.

Implementation

@literal
const PrettyQrSmoothSymbol({
  this.roundFactor = 1,
  this.color = const Color(0xFF000000),
})  : assert(roundFactor <= 1, 'roundFactor must be less than 1'),
      assert(roundFactor >= 0, 'roundFactor must be greater than 0');