putText method
Draw some text
Implementation
void putText(PdfStream stream, String text) {
try {
PdfString(latin1.encode(text),
format: PdfStringFormat.literal, encrypted: false)
.output(this, stream);
} catch (_) {
assert(() {
print(_cannotDecodeMessage);
return true;
}());
rethrow;
}
}