SHORT_EDGE property

PrintJobDuplexMode SHORT_EDGE
final

Duplex print that flips the back page along the short edge of the paper. Pages are turned upwards along the short edge - like a notepad.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

static final SHORT_EDGE =
    PrintJobDuplexMode._internalMultiPlatform('SHORT_EDGE', () {
  switch (defaultTargetPlatform) {
    case TargetPlatform.android:
      return 4;
    case TargetPlatform.iOS:
      return 2;
    case TargetPlatform.macOS:
      return 3;
    default:
      break;
  }
  return null;
});