PrintJobColorMode class

Class representing how the printed content of a PlatformPrintJobController should be laid out.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() → dynamic
Gets dynamic native value if supported by the current platform, otherwise null.
toString() String
A string representation of this object.
override
toValue() int
Gets int value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

COLOR PrintJobColorMode
Color color scheme, for example many colors are used.
final
DEFAULT PrintJobColorMode
Monochrome color scheme, for example one color is used.
final
MONOCHROME PrintJobColorMode
Monochrome color scheme, for example one color is used.
final
values Set<PrintJobColorMode>
Set of all values of PrintJobColorMode.
final

Static Methods

asNameMap() Map<String, PrintJobColorMode>
Creates a map from the names of PrintJobColorMode values to the values.
byName(String? name) PrintJobColorMode?
Gets a possible PrintJobColorMode instance value with name name.
fromNativeValue(dynamic value) PrintJobColorMode?
Gets a possible PrintJobColorMode instance from a native value.
fromValue(int? value) PrintJobColorMode?
Gets a possible PrintJobColorMode instance from int value.