EasyWebView constructor
const
EasyWebView({
- Key? key,
- required String src,
- required void onLoaded(),
- double? height,
- double? width,
- bool webAllowFullScreen = true,
- bool isHtml = false,
- bool isMarkdown = false,
- bool convertToWidgets = false,
- Map<
String, String> headers = const {}, - bool widgetsTextSelectable = false,
- List<
CrossWindowEvent> crossWindowEvents = const [],
Implementation
const EasyWebView({
Key? key,
required this.src,
required this.onLoaded,
this.height,
this.width,
this.webAllowFullScreen = true,
this.isHtml = false,
this.isMarkdown = false,
this.convertToWidgets = false,
this.headers = const {},
this.widgetsTextSelectable = false,
this.crossWindowEvents = const [],
this.webNavigationDelegate,
}) : assert((isHtml && isMarkdown) == false),
super(key: key);