PORTRAIT property
final
Pages are printed in portrait orientation.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
Implementation
static final PORTRAIT = PrintJobOrientation._internalMultiPlatform(0, () {
switch (defaultTargetPlatform) {
case TargetPlatform.android:
return 0;
case TargetPlatform.iOS:
return 0;
case TargetPlatform.macOS:
return 0;
case TargetPlatform.windows:
return 0;
default:
break;
}
return null;
});