LayoutStrategy class

Utility class that defines how to layout the webview

Constructors

LayoutStrategy.a0()
A0 Paper Dimensions: 2384 × 3370 pixels
const
LayoutStrategy.a1()
A1 Paper Dimensions: 1684 × 2384 pixels
const
LayoutStrategy.a2()
A2 Paper Dimensions: 1191 × 1684 pixels
const
LayoutStrategy.a3()
A3 Paper Dimensions: 842 × 1191 pixels
const
LayoutStrategy.a4()
A4 Paper Dimensions: 595 × 842 pixels
const
LayoutStrategy.a5()
A5 Paper Dimensions: 420 × 595 pixels
const
LayoutStrategy.a6()
A6 Paper Dimensions: 298 × 420 pixels
const
LayoutStrategy.a7()
A7 Paper Dimensions: 210 × 298 pixels
const
LayoutStrategy.a8()
A8 Paper Dimensions: 147 × 210 pixels
const
LayoutStrategy.a9()
A9 Paper Dimensions: 105 × 147 pixels
const
LayoutStrategy.a10()
A10 Paper Dimensions: 74 × 105 pixels
const
LayoutStrategy.deviceDefault()
Uses device width and height as the webview layout dimensions
const
LayoutStrategy.t57()
57mm Thermal paper dimensions: 162 × variable pixels
const
LayoutStrategy.t76()
76mm Thermal paper dimensions: 215 × variable pixels
const
LayoutStrategy.t80()
80mm Thermal paper dimensions: 227 × variable pixels
const
LayoutStrategy.withDimensions({int? width, int? height})
Uses the provided width and height as the webview layout dimensions
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int?
Height of the webview
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int?
Width of the webview
final

Methods

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

Operators

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