LONG_EDGE property

PrintJobDuplexMode LONG_EDGE
final

Duplex printing that flips the back page along the long edge of the paper. Pages are turned sideways along the long edge - like a book.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

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