printMultipleLabelsWithGapDetection method

  1. @override
Future<bool> printMultipleLabelsWithGapDetection({
  1. required List<Map<String, dynamic>> labelDataList,
  2. required double width,
  3. required double height,
  4. String? unit,
  5. int? dpi,
  6. int? copiesPerLabel,
  7. int? textSize,
})
override

Print multiple labels with different content and proper gap detection

Implementation

@override
Future<bool> printMultipleLabelsWithGapDetection({
  required List<Map<String, dynamic>> labelDataList,
  required double width,
  required double height,
  String? unit,
  int? dpi,
  int? copiesPerLabel,
  int? textSize,
}) async {
  final result = await methodChannel.invokeMethod<bool>('printMultipleLabelsWithGapDetection', {
    'labelDataList': labelDataList,
    'width': width,
    'height': height,
    'unit': unit,
    'dpi': dpi,
    'copiesPerLabel': copiesPerLabel,
    'textSize': textSize,
  });
  return result ?? false;
}