PdfUnorderedMarkerStyle enum Null safety

Specifies the marker style.

//Create a new PDF document.
PdfDocument document = PdfDocument();
//Create a new unordered list.
PdfUnorderedList(
    items: PdfListItemCollection(['Essential tools', 'Essential grid']),
    font: PdfStandardFont(PdfFontFamily.helvetica, 16,
        style: PdfFontStyle.italic),
    marker: PdfUnorderedMarker(style: PdfUnorderedMarkerStyle.disk))
  ..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();

Constants

asterisk → const PdfUnorderedMarkerStyle

Marker is like a Asterisk.

const PdfUnorderedMarkerStyle(3)
circle → const PdfUnorderedMarkerStyle

Marker is like a circle.

const PdfUnorderedMarkerStyle(4)
customImage → const PdfUnorderedMarkerStyle

Marker is custom image.

const PdfUnorderedMarkerStyle(6)
customString → const PdfUnorderedMarkerStyle

Marker is custom string.

const PdfUnorderedMarkerStyle(5)
customTemplate → const PdfUnorderedMarkerStyle

Marker is custom template.

const PdfUnorderedMarkerStyle(7)
disk → const PdfUnorderedMarkerStyle

Marker is like a disk.

const PdfUnorderedMarkerStyle(1)
none → const PdfUnorderedMarkerStyle

Marker have no style.

const PdfUnorderedMarkerStyle(0)
square → const PdfUnorderedMarkerStyle

Marker is like a square.

const PdfUnorderedMarkerStyle(2)
values → const List<PdfUnorderedMarkerStyle>

A constant List of the values in this enum, in order of their declaration.

const List<PdfUnorderedMarkerStyle>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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