WebViewController constructor
WebViewController({
- Set<
String> allowedSchemes = const {'http', 'https'}, - void onLoadError(
- WebViewLoadError error
Implementation
WebViewController({
Set<String> allowedSchemes = const {'http', 'https'},
this.onNavigation,
this.onLoadError,
}) : allowedSchemes = allowedSchemes
.map((scheme) => scheme.toLowerCase())
.toSet();