WebView constructor

const WebView({
  1. Key? key,
  2. required WebViewController controller,
})

Creates a WebView widget.

The controller parameter must not be null and should be initialized before the widget is displayed.

Implementation

const WebView({
  super.key,
  required this.controller,
});