PdfList class Null safety

Represents base class for lists.

//Create a new PDF document.
PdfDocument document = PdfDocument();
//Create a new ordered list.
PdfOrderedList(
    text: 'PDF\nXlsIO\nDocIO\nPPT',
    font: PdfStandardFont(PdfFontFamily.helvetica, 16,
        style: PdfFontStyle.italic),
    format: PdfStringFormat(lineSpacing: 20),
    marker: PdfOrderedMarker(style: PdfNumberStyle.numeric),
    style: PdfNumberStyle.numeric,
    indent: 15,
    textIndent: 10)
  ..draw(
      page: document.pages.add(), bounds: const Rect.fromLTWH(20, 20, 0, 0));
//Save the document.
List<int> bytes = document.save();
//Dispose the document.
document.dispose();
Inheritance
Implementers

Constructors

PdfList()

Properties

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

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited