PDFLayout enum

Page layout / scroll mode for PDF publications.

Platform mapping:

  • paginated
    • iOS (PDFKit): scroll = false — true paginated mode with page-flip animation and snap.
    • Android (Pdfium): scroll = false — snap-to-page, horizontal.
  • scrollVertical
    • iOS: scroll = true, scrollAxis = vertical.
    • Android: scroll = true, scrollAxis = vertical.
  • scrollHorizontal
    • iOS: scroll = true, scrollAxis = horizontal.
    • Android: scroll = true, scrollAxis = horizontal.
Inheritance
Available extensions

Values

paginated → const PDFLayout
scrollVertical → const PDFLayout
scrollHorizontal → const PDFLayout

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(String? value) → PDFLayout?

Constants

values → const List<PDFLayout>
A constant List of the values in this enum, in order of their declaration.