printMultipleLabelsWithGapDetection method
Future<bool>
printMultipleLabelsWithGapDetection({
- required List<
Map< labelDataList,String, dynamic> > - required double width,
- required double height,
- String? unit,
- int? dpi,
- int? copiesPerLabel,
- 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;
}