DuplexOption class
An option to set the duplex printing mode.
This controls whether and how pages are printed on both sides of the paper:
- DuplexMode.singleSided: Print on one side only
- DuplexMode.duplexLongEdge: Print on both sides, flip on long edge (book-style)
- DuplexMode.duplexShortEdge: Print on both sides, flip on short edge (notepad-style)
Note: The actual duplex printing depends on the printer's capabilities. If the printer doesn't support duplex printing, single-sided printing will be used.
- Inheritance
-
- Object
- PrintOption
- DuplexOption
Constructors
- DuplexOption.new(DuplexMode mode)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → DuplexMode
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited