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({
  super.child,
  required super.name,
  required this.title,
  this.level = 0,
  this.color,
  this.style = PdfOutlineStyle.normal,
})  : assert(level >= 0),
      super(setX: true);