barcode method
Future<bool>
barcode(
- int x,
- int y,
- BarcodeType barcodeType,
- int height,
- HumanReadable readable,
- Rotation rotation,
- int narrow,
- int wide,
- String content,
override
Implementation
@override
Future<bool> barcode(
int x,
int y,
BarcodeType barcodeType,
int height,
HumanReadable readable,
Rotation rotation,
int narrow,
int wide,
String content,
) async {
return await methodChannel.invokeMethod<bool>('barcode', <String, dynamic>{
'x': x,
'y': y,
'barcodeType': _barcodeTypeToValue(barcodeType),
'height': height,
'readable': _humanReadableToValue(readable),
'rotation': _rotationToDegrees(rotation),
'narrow': narrow,
'wide': wide,
'content': content,
}) ??
false;
}