WebView constructor
Creates a web view.
Implementation
WebView(
this.url, {
@required this.aspectRatio,
bool autoResize,
this.autoResizeIntervals = const [
null,
Duration(seconds: 1),
Duration(seconds: 2),
],
this.interceptNavigationRequest,
this.js = true,
this.unsupportedWorkaroundForIssue37 = false,
Key key,
}) : assert(url != null),
assert(aspectRatio != null),
autoResize = !js ? false : autoResize ?? js,
super(key: key);