Context constructor

Context({
  1. required PdfDocument document,
  2. PdfPage? page,
  3. PdfGraphics? canvas,
})

Implementation

factory Context({
  required PdfDocument document,
  PdfPage? page,
  PdfGraphics? canvas,
}) =>
    Context._(
      document: document,
      page: page,
      canvas: canvas,
      inherited: HashMap<Type, Inherited>(),
    );