qrCode method

Future<void> qrCode({
  1. required String content,
  2. int x = 0,
  3. int y = 0,
  4. int width = 6,
})

Implementation

Future<void> qrCode({
  required String content,
  int x = 0,
  int y = 0,
  int width = 6, // 1-32
}) async {
  Map<String, dynamic> params = {
    "content": content,
    "x": x,
    "y": y,
    "cellWidth": width,
  };
  await methodChannel.invokeMethod<void>('qrCode', params);
}