CQRCode constructor

CQRCode({
  1. required int x,
  2. required int y,
  3. required String content,
  4. CCodeRotation codeRotation = CCodeRotation.rotation_0,
  5. required int width,
  6. CCorrectLevel? correctLevel = CCorrectLevel.l,
})

Implementation

CQRCode({
  required int x,
  required int y,
  required String content,
  CCodeRotation codeRotation = CCodeRotation.rotation_0,
  required int width,
  CCorrectLevel? correctLevel = CCorrectLevel.l,
}) {
  _x = x;
  _y = y;
  _content = content;
  _codeRotation = codeRotation;
  _width = width;
  _level = correctLevel!;
}