InAppWebViewInitialData constructor

InAppWebViewInitialData({
  1. @Deprecated('Use historyUrl instead') Uri? androidHistoryUrl,
  2. WebUri? baseUrl,
  3. required String data,
  4. String encoding = "utf8",
  5. WebUri? historyUrl,
  6. String mimeType = "text/html",
})

Implementation

InAppWebViewInitialData({
  @Deprecated('Use historyUrl instead') this.androidHistoryUrl,
  this.baseUrl,
  required this.data,
  this.encoding = "utf8",
  this.historyUrl,
  this.mimeType = "text/html",
}) {
  historyUrl =
      historyUrl ??
      (androidHistoryUrl != null ? WebUri.uri(androidHistoryUrl!) : null);
}