setStyle method
Implementation
void setStyle(Context context) {
if (paint && pattern != null) {
context.canvas
..saveContext()
..setLineCap(PdfLineCap.butt)
..setLineDashPattern(pattern!, phase);
}
}
void setStyle(Context context) {
if (paint && pattern != null) {
context.canvas
..saveContext()
..setLineCap(PdfLineCap.butt)
..setLineDashPattern(pattern!, phase);
}
}