loadContent abstract method
Set webview content to the specified content.
Example: https://flutter.cn/
Example2: '
Hi
If fromAssets param is set to true,
content param must be a String path to an asset
Example: assets/some_url.txt
headers are optional HTTP headers.
body is only used on the WEB version, when clicking on a submit button in a form
Implementation
Future<void> loadContent(
String content,
SourceType sourceType, {
Map<String, String>? headers,
Object? body,
bool fromAssets = false,
});