PrintingInfo class

Capabilities supported for the current platform

Constructors

PrintingInfo({bool directPrint = false, bool dynamicLayout = false, bool canPrint = false, bool canConvertHtml = false, bool canListPrinters = false, bool canShare = false, bool canRaster = false})
Create an information object
const
PrintingInfo.fromMap(Map map)
Create an information object from a dictionary
factory

Properties

canConvertHtml bool
The platform implementation is able to convert an html document to Pdf
final
canListPrinters bool
The platform implementation is able list the available printers on the system
final
canPrint bool
The platform implementation is able to print a Pdf document
final
canRaster bool
The platform implementation is able to convert pages from a Pdf document to a stream of images
final
canShare bool
The platform implementation is able to share a Pdf document to other applications
final
directPrint bool
The platform can print directly to a printer
final
dynamicLayout bool
The platform can request a dynamic layout when the user change the printer or printer settings
final
hashCode int
The hash code for this object.
no setterinherited
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.
override

Operators

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

Constants

unavailable → const PrintingInfo
Default information with no feature available