prepare method
Prepare the object to be written to the stream
Implementation
@override
void prepare() {
super.prepare();
params['/S'] =
PdfName('/${'SDBIU'.substring(style.index, style.index + 1)}');
params['/W'] = PdfNum(width);
if (dash != null) {
params['/D'] = PdfArray.fromNum(dash!);
}
}