CWebViewController constructor

CWebViewController({
  1. required String initialUrl,
  2. String allow = "",
  3. bool allowFullScreen = true,
  4. List<CSandboxAllow> sandbox = const [],
})

Constructor for the object.

Implementation

CWebViewController({
  required String initialUrl,
  this.allow = "",
  this.allowFullScreen = true,
  this.sandbox = const [],
}) {
  _url = initialUrl;
}