PrintDestination class
Explicitly selecting a destination opts Windows into direct spooling. Other platforms continue to use their native print surfaces.
Constructors
- PrintDestination({required String printer, bool color = true, PrintDuplex duplex = PrintDuplex.simplex, int tray = 0})
-
const
Properties
- color → bool
-
final
- duplex → PrintDuplex
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- printer → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tray → int
-
A native bin ID, or zero to keep the driver's paper-source default.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited