PdfOrderedList class Null safety

Represents the ordered list.

//Create a new PDF document.
PdfDocument document = PdfDocument();
//Create a new ordered list.
    items: PdfListItemCollection(['PDF', 'XlsIO', 'DocIO', 'PPT']),
    font: PdfStandardFont(PdfFontFamily.helvetica, 16,
        style: PdfFontStyle.italic),
    format: PdfStringFormat(lineSpacing: 20),
    marker: PdfOrderedMarker(style: PdfNumberStyle.numeric),
    style: PdfNumberStyle.numeric,
    indent: 15,
    textIndent: 10)
      page: document.pages.add(), bounds: const Rect.fromLTWH(20, 20, 0, 0));
//Save the document.
List<int> bytes = await document.save();
//Dispose the document.


PdfOrderedList({PdfOrderedMarker? marker, PdfListItemCollection? items, String? text, PdfFont? font, PdfNumberStyle style = PdfNumberStyle.numeric, PdfStringFormat? format, bool markerHierarchy = false, double indent = 10, double textIndent = 5})
Initialize a new instance of the PdfOrderedList class.


beginItemLayout BeginItemLayoutCallback?
Event that rises when item begin layout.
read / write, inherited
beginPageLayout BeginPageLayoutCallback?
Raises before the element should be printed on the page.
read / write, inherited
brush PdfBrush?
The brush for the list.
read / write, inherited
endItemLayout EndItemLayoutCallback?
Event that rises when item end layout.
read / write, inherited
endPageLayout EndPageLayoutCallback?
Raises after the element was printed on the page.
read / write, inherited
font PdfFont?
Gets or sets the list font.
read / write, inherited
hashCode int
The hash code for this object.
read-only, inherited
indent double
Tabulation for items.
read / write, inherited
items PdfListItemCollection
Gets items of the list.
read-only, inherited
marker PdfOrderedMarker
Gets or sets marker of the list items.
read / write
markerHierarchy bool
True if user want to use numbering hierarchy, otherwise false.
read / write
pen PdfPen?
The pen for the list.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringFormat PdfStringFormat?
The string format for the list.
read / write, inherited
textIndent double
Indent between marker and text.
read / write, inherited


draw({PdfGraphics? graphics, PdfPage? page, Rect? bounds, PdfLayoutFormat? format}) PdfLayoutResult?
Draws an element on the graphics or page.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.