COLOR property
final
Color color scheme, for example many colors are used.
Officially Supported Platforms/Implementations:
- Android WebView
- macOS WKWebView
- Windows WebView2
Implementation
static final COLOR = PrintJobColorMode._internalMultiPlatform(2, () {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return 2;
case TargetPlatform.macOS:
return 'RGB';
case TargetPlatform.windows:
return 1;
default:
break;
}
return null;
});