barcodeRatios top-level property
Implementation
final Map<int, double> barcodeRatios = <int, double>{
Format.aztec: 3.0 / 3.0, // recommended ratio: 3:3 (square)
Format.codabar: 3.0 / 1.0, // recommended ratio: 3:1
Format.code39: 3.0 / 1.0, // recommended ratio: 3:1
Format.code93: 3.0 / 1.0, // recommended ratio: 3:1
Format.code128: 2.0 / 1.0, // recommended ratio: 2:1
Format.dataBar: 3.0 / 1.0, // recommended ratio: 3:1
Format.dataBarExpanded: 1.0 / 1.0, // recommended ratio: 1:1 (square)
Format.dataMatrix: 3.0 / 3.0, // recommended ratio: 3:3 (square)
Format.ean8: 3.0 / 1.0, // recommended ratio: 3:1
Format.ean13: 3.0 / 1.0, // recommended ratio: 3:1
Format.itf: 3.0 / 1.0, // recommended ratio: 3:1
Format.maxiCode: 3.0 / 3.0, // recommended ratio: 3:3 (square)
Format.pdf417: 3.0 / 1.0, // recommended ratio: 3:1
Format.qrCode: 3.0 / 3.0, // recommended ratio: 3:3 (square)
Format.upca: 3.0 / 1.0, // recommended ratio: 3:1
Format.upce: 1.0 / 1.0, // recommended ratio: 1:1 (square)
Format.microQRCode: 3.0 / 3.0, // recommended ratio: 3:3 (square)
Format.rmqrCode: 3.0 / 3.0, // recommended ratio: 3:3 (square)
};