Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update platform_interface.dart
  • Loading branch information
uc-apa authored Apr 30, 2020
commit 852329b362712b8f2a943f8a3c98e833714c6de8
5 changes: 4 additions & 1 deletion packages/webview_flutter/lib/platform_interface.dart
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ class CreationParams {
/// The `autoMediaPlaybackPolicy` parameter must not be null.
CreationParams({
this.initialUrl,
this.html,
this.baseUrl,
this.webSettings,
this.javascriptChannelNames,
this.userAgent,
Expand All @@ -431,7 +433,8 @@ class CreationParams {
///
/// When null the webview will be created without loading any page.
final String initialUrl;

final String baseUrl;
final String html;
/// The initial [WebSettings] for the new webview.
///
/// This can later be updated with [WebViewPlatformController.updateSettings].
Expand Down