I was trying to declare a variable in class level as below:
WebViewController _webViewController = WebViewController();
sothat I can reuse that in other functions.But for nullsafety issue I tried to initialize it, but showing doesn’t have a default constructor.I tried also like,
WebViewController _webViewController ; (it shows to add late modifier)
or
WebViewController _webViewController = null; (null can not be assigned)
how should I declare ?