RESPONSIVE property

PrintJobRenderingQuality RESPONSIVE
final

Sacrifices the least possible amount of rendering quality for speed to maintain a responsive user interface. This option should be used only after establishing that best quality rendering does indeed make the user interface unresponsive.

Officially Supported Platforms/Implementations:

  • iOS WKWebView
  • macOS WKWebView

Implementation

static final RESPONSIVE = PrintJobRenderingQuality._internalMultiPlatform(
  1,
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.iOS:
        return 1;
      case TargetPlatform.macOS:
        return 1;
      default:
        break;
    }
    return null;
  },
);