IOSInAppWebViewOptions constructor
IOSInAppWebViewOptions({
- bool disallowOverScroll = false,
- bool enableViewportScale = false,
- bool suppressesIncrementalRendering = false,
- bool allowsAirPlayForMediaPlayback = true,
- bool allowsLinkPreview = true,
- bool ignoresViewportScaleLimits = false,
- bool allowsInlineMediaPlayback = false,
- bool allowsPictureInPictureMediaPlayback = true,
- bool isFraudulentWebsiteWarningEnabled = true,
- IOSWKSelectionGranularity selectionGranularity = IOSWKSelectionGranularity.DYNAMIC,
- List<
IOSWKDataDetectorTypes> dataDetectorTypes = const [IOSWKDataDetectorTypes.NONE], - bool automaticallyAdjustsScrollIndicatorInsets = false,
- bool accessibilityIgnoresInvertColors = false,
- IOSUIScrollViewDecelerationRate decelerationRate = IOSUIScrollViewDecelerationRate.NORMAL,
- bool alwaysBounceVertical = false,
- bool alwaysBounceHorizontal = false,
- bool scrollsToTop = true,
- bool isPagingEnabled = false,
- double maximumZoomScale = 1.0,
- double minimumZoomScale = 1.0,
- IOSUIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior = IOSUIScrollViewContentInsetAdjustmentBehavior.NEVER,
- bool isDirectionalLockEnabled = false,
- String? mediaType,
- double pageZoom = 1.0,
- bool applePayAPIEnabled = false,
- Uri? allowingReadAccessTo,
- bool disableLongPressContextMenuOnLinks = false,
- bool disableInputAccessoryView = false,
Implementation
IOSInAppWebViewOptions(
{this.disallowOverScroll = false,
this.enableViewportScale = false,
this.suppressesIncrementalRendering = false,
this.allowsAirPlayForMediaPlayback = true,
this.allowsBackForwardNavigationGestures = true,
this.allowsLinkPreview = true,
this.ignoresViewportScaleLimits = false,
this.allowsInlineMediaPlayback = false,
this.allowsPictureInPictureMediaPlayback = true,
this.isFraudulentWebsiteWarningEnabled = true,
this.selectionGranularity = IOSWKSelectionGranularity.DYNAMIC,
this.dataDetectorTypes = const [IOSWKDataDetectorTypes.NONE],
this.sharedCookiesEnabled = false,
this.automaticallyAdjustsScrollIndicatorInsets = false,
this.accessibilityIgnoresInvertColors = false,
this.decelerationRate = IOSUIScrollViewDecelerationRate.NORMAL,
this.alwaysBounceVertical = false,
this.alwaysBounceHorizontal = false,
this.scrollsToTop = true,
this.isPagingEnabled = false,
this.maximumZoomScale = 1.0,
this.minimumZoomScale = 1.0,
this.contentInsetAdjustmentBehavior =
IOSUIScrollViewContentInsetAdjustmentBehavior.NEVER,
this.isDirectionalLockEnabled = false,
this.mediaType,
this.pageZoom = 1.0,
this.limitsNavigationsToAppBoundDomains = false,
this.useOnNavigationResponse = false,
this.applePayAPIEnabled = false,
this.allowingReadAccessTo,
this.disableLongPressContextMenuOnLinks = false,
this.disableInputAccessoryView = false}) {
assert(
allowingReadAccessTo == null || allowingReadAccessTo!.isScheme("file"));
}