PdfPageSize class

Represents a PDF page size with width and height in points (72 points = 1 inch)

Constructors

PdfPageSize.custom({required double width, required double height, String? name})
Create a custom page size width and height are in points (72 points = 1 inch)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height double
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert to a map for passing to native platforms
toString() String
A string representation of this object.
override

Operators

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

Constants

a3 → const PdfPageSize
A3 page size: 297mm x 420mm (11.69" x 16.54")
a4 → const PdfPageSize
A4 page size: 210mm x 297mm (8.27" x 11.69")
a5 → const PdfPageSize
A5 page size: 148mm x 210mm (5.83" x 8.27")
US Legal page size: 8.5" x 14"
letter → const PdfPageSize
US Letter page size: 8.5" x 11"
tabloid → const PdfPageSize
US Tabloid page size: 11" x 17"