PdfPageFormat class Null safety

Constructors

PdfPageFormat(double width, double height, {double marginTop = 0.0, double marginBottom = 0.0, double marginLeft = 0.0, double marginRight = 0.0, double? marginAll})
const

Properties

availableDimension PdfPoint
Total page dimensions excluding margins
read-only
availableHeight double
Total page height excluding margins
read-only
availableWidth double
Total page width excluding margins
read-only
dimension PdfPoint
Total page dimensions
read-only
hashCode int
The hash code for this object. [...]
read-only, override
height double
final
landscape PdfPageFormat
read-only
marginBottom double
final
marginLeft double
final
marginRight double
final
marginTop double
final
portrait PdfPageFormat
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width double
final

Methods

applyMargin({required double left, required double top, required double right, required double bottom}) PdfPageFormat
copyWith({double? width, double? height, double? marginTop, double? marginBottom, double? marginLeft, double? marginRight}) PdfPageFormat
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. [...]
override

Constants

a3 → const PdfPageFormat
PdfPageFormat(29.7 * cm, 42 * cm, marginAll: 2.0 * cm)
a4 → const PdfPageFormat
PdfPageFormat(21.0 * cm, 29.7 * cm, marginAll: 2.0 * cm)
a5 → const PdfPageFormat
PdfPageFormat(14.8 * cm, 21.0 * cm, marginAll: 2.0 * cm)
a6 → const PdfPageFormat
PdfPageFormat(105 * mm, 148 * mm, marginAll: 1.0 * cm)
cm → const double
inch / 2.54
inch → const double
72.0
PdfPageFormat(8.5 * inch, 14.0 * inch, marginAll: inch)
letter → const PdfPageFormat
PdfPageFormat(8.5 * inch, 11.0 * inch, marginAll: inch)
mm → const double
inch / 25.4
point → const double
1.0
roll57 → const PdfPageFormat
PdfPageFormat(57 * mm, double.infinity, marginAll: 5 * mm)
roll80 → const PdfPageFormat
PdfPageFormat(80 * mm, double.infinity, marginAll: 5 * mm)
standard → const PdfPageFormat
a4
undefined → const PdfPageFormat
PdfPageFormat(double.infinity, double.infinity)