WebviewScaffold constructor

const WebviewScaffold({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. required String url,
  4. Map<String, String>? headers,
  5. Set<JavascriptChannel> javascriptChannels = const <JavascriptChannel>{},
  6. bool withJavascript = true,
  7. bool clearCache = false,
  8. bool clearCookies = false,
  9. bool mediaPlaybackRequiresUserGesture = true,
  10. bool enableAppScheme = true,
  11. String? userAgent,
  12. bool primary = true,
  13. List<Widget>? persistentFooterButtons,
  14. Widget? bottomNavigationBar,
  15. bool withZoom = false,
  16. bool displayZoomControls = false,
  17. bool withLocalStorage = true,
  18. bool withLocalUrl = false,
  19. String? localUrlScope,
  20. bool withOverviewMode = false,
  21. bool useWideViewPort = false,
  22. bool scrollBar = true,
  23. bool supportMultipleWindows = false,
  24. bool appCacheEnabled = false,
  25. bool hidden = false,
  26. Widget? initialChild,
  27. bool allowFileURLs = false,
  28. bool resizeToAvoidBottomInset = false,
  29. String? invalidUrlRegex,
  30. bool geolocationEnabled = false,
  31. bool debuggingEnabled = false,
  32. bool ignoreSSLErrors = false,
})

Implementation

const WebviewScaffold({
  Key? key,
  this.appBar,
  required this.url,
  this.headers,
  this.javascriptChannels = const <JavascriptChannel>{},
  this.withJavascript = true,
  this.clearCache = false,
  this.clearCookies = false,
  this.mediaPlaybackRequiresUserGesture = true,
  this.enableAppScheme = true,
  this.userAgent,
  this.primary = true,
  this.persistentFooterButtons,
  this.bottomNavigationBar,
  this.withZoom = false,
  this.displayZoomControls = false,
  this.withLocalStorage = true,
  this.withLocalUrl = false,
  this.localUrlScope,
  this.withOverviewMode = false,
  this.useWideViewPort = false,
  this.scrollBar = true,
  this.supportMultipleWindows = false,
  this.appCacheEnabled = false,
  this.hidden = false,
  this.initialChild,
  this.allowFileURLs = false,
  this.resizeToAvoidBottomInset = false,
  this.invalidUrlRegex,
  this.geolocationEnabled = false,
  this.debuggingEnabled = false,
  this.ignoreSSLErrors = false,
}) : super(key: key);