WindowsPlatformWebViewController constructor

WindowsPlatformWebViewController(
  1. PlatformWebViewControllerCreationParams params
)

Implementation

WindowsPlatformWebViewController(
    PlatformWebViewControllerCreationParams params)
    : super.implementation(params) {
  String? userDataFolder;
  if (params is WindowsPlatformWebViewControllerCreationParams) {
    userDataFolder = params.userDataFolder;
  }
  controller = WinWebViewController(userDataFolder: userDataFolder);
}