PaperFormat class
Constructors
- PaperFormat.cm({required num width, required num height})
- PaperFormat.fromString(String value)
-
value
is paper size in string | default: a4 Example :PaperFormat.fromString("a4")
factory - PaperFormat.inches({required num width, required num height})
-
const
- PaperFormat.mm({required num width, required num height})
- PaperFormat.px({required int width, required int height})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, num> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- a0 → const PaperFormat
- a1 → const PaperFormat
- a2 → const PaperFormat
- a3 → const PaperFormat
- a4 → const PaperFormat
- a5 → const PaperFormat
- a6 → const PaperFormat
- ledger → const PaperFormat
- legal → const PaperFormat
- letter → const PaperFormat
- tabloid → const PaperFormat