PrintJobMediaSize class

Class representing the supported media size for a PlatformPrintJobController. Media size is the dimension of the media on which the content is printed.

Constructors

PrintJobMediaSize({required int heightMils, required String id, String? label, required int widthMils})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
heightMils int
The media height in mils (thousandths of an inch).
final
id String
The unique media size id.
final
label String?
The human readable label.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widthMils int
The media width in mils (thousandths of an inch).
final

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) PrintJobMediaSize?
Gets a possible PrintJobMediaSize instance from a Map value.

Constants

ANSI_C → const PrintJobMediaSize
North America ANSI C media size: 17" x 22" (432mm x 559mm)
ANSI_D → const PrintJobMediaSize
North America ANSI D media size: 22" x 34" (559mm x 864mm)
ANSI_E → const PrintJobMediaSize
North America ANSI E media size: 34" x 44" (864mm x 1118mm)
ANSI_F → const PrintJobMediaSize
North America ANSI F media size: 28" x 40" (711mm x 1016mm)
ISO_A0 → const PrintJobMediaSize
ISO A0 media size: 841mm x 1189mm (33.11" x 46.81")
ISO_A1 → const PrintJobMediaSize
ISO A1 media size: 594mm x 841mm (23.39" x 33.11")
ISO_A2 → const PrintJobMediaSize
ISO A2 media size: 420mm x 594mm (16.54" x 23.39")
ISO_A3 → const PrintJobMediaSize
ISO A3 media size: 297mm x 420mm (11.69" x 16.54")
ISO_A4 → const PrintJobMediaSize
ISO A4 media size: 210mm x 297mm (8.27" x 11.69")
ISO_A5 → const PrintJobMediaSize
ISO A5 media size: 148mm x 210mm (5.83" x 8.27")
ISO_A6 → const PrintJobMediaSize
ISO A6 media size: 105mm x 148mm (4.13" x 5.83")
ISO_A7 → const PrintJobMediaSize
ISO A7 media size: 74mm x 105mm (2.91" x 4.13")
ISO_A8 → const PrintJobMediaSize
ISO A8 media size: 52mm x 74mm (2.05" x 2.91")
ISO_A9 → const PrintJobMediaSize
ISO A9 media size: 37mm x 52mm (1.46" x 2.05")
ISO_A10 → const PrintJobMediaSize
ISO A10 media size: 26mm x 37mm (1.02" x 1.46")
ISO_B0 → const PrintJobMediaSize
ISO B0 media size: 1000mm x 1414mm (39.37" x 55.67")
ISO_B1 → const PrintJobMediaSize
ISO B1 media size: 707mm x 1000mm (27.83" x 39.37")
ISO_B2 → const PrintJobMediaSize
ISO B2 media size: 500mm x 707mm (19.69" x 27.83")
ISO_B3 → const PrintJobMediaSize
ISO B3 media size: 353mm x 500mm (13.90" x 19.69")
ISO_B4 → const PrintJobMediaSize
ISO B4 media size: 250mm x 353mm (9.84" x 13.90")
ISO_B5 → const PrintJobMediaSize
ISO B5 media size: 176mm x 250mm (6.93" x 9.84")
ISO_B6 → const PrintJobMediaSize
ISO B6 media size: 125mm x 176mm (4.92" x 6.93")
ISO_B7 → const PrintJobMediaSize
ISO B7 media size: 88mm x 125mm (3.46" x 4.92")
ISO_B8 → const PrintJobMediaSize
ISO B8 media size: 62mm x 88mm (2.44" x 3.46")
ISO_B9 → const PrintJobMediaSize
ISO B9 media size: 44mm x 62mm (1.73" x 2.44")
ISO_B10 → const PrintJobMediaSize
ISO B10 media size: 31mm x 44mm (1.22" x 1.73")
ISO_C0 → const PrintJobMediaSize
ISO C0 media size: 917mm x 1297mm (36.10" x 51.06")
ISO_C1 → const PrintJobMediaSize
ISO C1 media size: 648mm x 917mm (25.51" x 36.10")
ISO_C2 → const PrintJobMediaSize
ISO C2 media size: 458mm x 648mm (18.03" x 25.51")
ISO_C3 → const PrintJobMediaSize
ISO C3 media size: 324mm x 458mm (12.76" x 18.03")
ISO_C4 → const PrintJobMediaSize
ISO C4 media size: 229mm x 324mm (9.02" x 12.76")
ISO_C5 → const PrintJobMediaSize
ISO C5 media size: 162mm x 229mm (6.38" x 9.02")
ISO_C6 → const PrintJobMediaSize
ISO C6 media size: 114mm x 162mm (4.49" x 6.38")
ISO_C7 → const PrintJobMediaSize
ISO C7 media size: 81mm x 114mm (3.19" x 4.49")
ISO_C8 → const PrintJobMediaSize
ISO C8 media size: 57mm x 81mm (2.24" x 3.19")
ISO_C9 → const PrintJobMediaSize
ISO C9 media size: 40mm x 57mm (1.57" x 2.24")
ISO_C10 → const PrintJobMediaSize
ISO C10 media size: 28mm x 40mm (1.10" x 1.57")
JIS_B0 → const PrintJobMediaSize
Japanese JIS B0 media size: 1030mm x 1456mm (40.551" x 57.323")
JIS_B1 → const PrintJobMediaSize
Japanese JIS B1 media size: 728mm x 1030mm (28.661" x 40.551")
JIS_B2 → const PrintJobMediaSize
Japanese JIS B2 media size: 515mm x 728mm (20.276" x 28.661")
JIS_B3 → const PrintJobMediaSize
Japanese JIS B3 media size: 364mm x 515mm (14.331" x 20.276")
JIS_B4 → const PrintJobMediaSize
Japanese JIS B4 media size: 257mm x 364mm (10.118" x 14.331")
JIS_B5 → const PrintJobMediaSize
Japanese JIS B5 media size: 182mm x 257mm (7.165" x 10.118")
JIS_B6 → const PrintJobMediaSize
Japanese JIS B6 media size: 128mm x 182mm (5.049" x 7.165")
JIS_B7 → const PrintJobMediaSize
Japanese JIS B7 media size: 91mm x 128mm (3.583" x 5.049")
JIS_B8 → const PrintJobMediaSize
Japanese JIS B8 media size: 64mm x 91mm (2.52" x 3.583")
JIS_B9 → const PrintJobMediaSize
Japanese JIS B9 media size: 45mm x 64mm (1.772" x 2.52")
JIS_B10 → const PrintJobMediaSize
Japanese JIS B10 media size: 32mm x 45mm (1.259" x 1.772")
JIS_EXEC → const PrintJobMediaSize
Japanese JIS Exec media size: 216mm x 330mm (8.504" x 12.992")
JPN_CHOU2 → const PrintJobMediaSize
Japanese Chou2 media size: 111.1mm x 146mm (4.374" x 5.748")
JPN_CHOU3 → const PrintJobMediaSize
Japanese Chou3 media size: 120mm x 235mm (4.724" x 9.252")
JPN_CHOU4 → const PrintJobMediaSize
Japanese Chou4 media size: 90mm x 205mm (3.543" x 8.071")
JPN_HAGAKI → const PrintJobMediaSize
Japanese Hagaki media size: 100mm x 148mm (3.937" x 5.827")
JPN_KAHU → const PrintJobMediaSize
Japanese Kahu media size: 240mm x 322.1mm (9.449" x 12.681")
JPN_KAKU2 → const PrintJobMediaSize
Japanese Kaku2 media size: 240mm x 332mm (9.449" x 13.071")
JPN_OE_PHOTO_L → const PrintJobMediaSize
Japanese Photo L media size: 89mm x 127mm (3.5 x 5")
JPN_OUFUKU → const PrintJobMediaSize
Japanese Oufuku media size: 148mm x 200mm (5.827" x 7.874")
JPN_YOU4 → const PrintJobMediaSize
Japanese You4 media size: 105mm x 235mm (4.134" x 9.252")
NA_ARCH_A → const PrintJobMediaSize
North America Arch A media size: 9" x 12" (229mm x 305mm)
NA_ARCH_B → const PrintJobMediaSize
North America Arch B media size: 12" x 18" (305mm x 457mm)
NA_ARCH_C → const PrintJobMediaSize
North America Arch C media size: 18" x 24" (457mm x 610mm)
NA_ARCH_D → const PrintJobMediaSize
North America Arch D media size: 24" x 36" (610mm x 914mm)
NA_ARCH_E → const PrintJobMediaSize
North America Arch E media size: 36" x 48" (914mm x 1219mm)
NA_ARCH_E1 → const PrintJobMediaSize
North America Arch E1 media size: 30" x 42" (762mm x 1067mm)
NA_FOOLSCAP → const PrintJobMediaSize
North America Foolscap media size: 8" x 13" (203mm x 330mm)
NA_GOVT_LETTER → const PrintJobMediaSize
North America Government-Letter media size: 8.0" x 10.5" (203mm x 267mm)
NA_INDEX_3X5 → const PrintJobMediaSize
North America Index Card 3x5 media size: 3" x 5" (76mm x 127mm)
NA_INDEX_4X6 → const PrintJobMediaSize
North America Index Card 4x6 media size: 4" x 6" (102mm x 152mm)
NA_INDEX_5X8 → const PrintJobMediaSize
North America Index Card 5x8 media size: 5" x 8" (127mm x 203mm)
North America Junior Legal media size: 8.0" x 5.0" (203mm × 127mm)
NA_LEDGER → const PrintJobMediaSize
North America Ledger media size: 17" x 11" (432mm × 279mm)
North America Legal media size: 8.5" x 14" (216mm x 356mm)
NA_LETTER → const PrintJobMediaSize
North America Letter media size: 8.5" x 11" (279mm x 216mm)
NA_MONARCH → const PrintJobMediaSize
North America Monarch media size: 7.25" x 10.5" (184mm x 267mm)
NA_QUARTO → const PrintJobMediaSize
North America Quarto media size: 8" x 10" (203mm x 254mm)
NA_SUPER_B → const PrintJobMediaSize
North America Super B media size: 13" x 19" (330mm x 483mm)
NA_TABLOID → const PrintJobMediaSize
North America Tabloid media size: 11" x 17" (279mm × 432mm)
OM_DAI_PA_KAI → const PrintJobMediaSize
Chinese Dai Pa Kai media size: 275mm x 395mm (10.827" x 15.551")
OM_JUURO_KU_KAI → const PrintJobMediaSize
Chinese Jurro Ku Kai media size: 198mm x 275mm (7.796" x 10.827")
OM_PA_KAI → const PrintJobMediaSize
Chinese Pa Kai media size: 267mm x 389mm (10.512" x 15.315")
PRC_1 → const PrintJobMediaSize
Chinese PRC 1 media size: 102mm x 165mm (4.015" x 6.496")
PRC_2 → const PrintJobMediaSize
Chinese PRC 2 media size: 102mm x 176mm (4.015" x 6.929")
PRC_3 → const PrintJobMediaSize
Chinese PRC 3 media size: 125mm x 176mm (4.921" x 6.929")
PRC_4 → const PrintJobMediaSize
Chinese PRC 4 media size: 110mm x 208mm (4.330" x 8.189")
PRC_5 → const PrintJobMediaSize
Chinese PRC 5 media size: 110mm x 220mm (4.330" x 8.661")
PRC_6 → const PrintJobMediaSize
Chinese PRC 6 media size: 120mm x 320mm (4.724" x 12.599")
PRC_7 → const PrintJobMediaSize
Chinese PRC 7 media size: 160mm x 230mm (6.299" x 9.055")
PRC_8 → const PrintJobMediaSize
Chinese PRC 8 media size: 120mm x 309mm (4.724" x 12.165")
PRC_9 → const PrintJobMediaSize
Chinese PRC 9 media size: 229mm x 324mm (9.016" x 12.756")
PRC_10 → const PrintJobMediaSize
Chinese PRC 10 media size: 324mm x 458mm (12.756" x 18.032")
PRC_16K → const PrintJobMediaSize
Chinese PRC 16k media size: 146mm x 215mm (5.749" x 8.465")
ROC_8K → const PrintJobMediaSize
Chinese ROC 8K media size: 270mm x 390mm (10.629" x 15.3543")
ROC_16K → const PrintJobMediaSize
Chinese ROC 16K media size: 195mm x 270mm (7.677" x 10.629")
UNKNOWN_LANDSCAPE → const PrintJobMediaSize
Unknown media size in portrait mode.
UNKNOWN_PORTRAIT → const PrintJobMediaSize
Unknown media size in portrait mode.