Outline constructor

Outline({
  1. Widget? child,
  2. required String name,
  3. required String title,
  4. int level = 0,
  5. PdfColor? color,
  6. PdfOutlineStyle style = PdfOutlineStyle.normal,
})

Implementation

Outline({
  Widget? child,
  required String name,
  required this.title,
  this.level = 0,
  this.color,
  this.style = PdfOutlineStyle.normal,
})  : assert(level >= 0),
      super(child: child, name: name, setX: true);