initialFile property
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WebPlatform(requiresSameOrigin: false), WindowsPlatform(), LinuxPlatform()])
final
Initial asset file that will be loaded. See InAppWebViewController.loadFile for explanation.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Web <iframe>
- Windows WebView2
- Linux WPE WebKit
Use the PlatformWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(),
IOSPlatform(),
MacOSPlatform(),
WebPlatform(requiresSameOrigin: false),
WindowsPlatform(),
LinuxPlatform(),
],
)
final String? initialFile;