setStyle method

void setStyle(
  1. Context context
)

Implementation

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