Skip to content

Instantly share code, notes, and snippets.

@shyjuzz
Created December 19, 2018 05:13
Show Gist options
  • Save shyjuzz/d6fd5562f97b36b0e2eb957eff3c687a to your computer and use it in GitHub Desktop.
Save shyjuzz/d6fd5562f97b36b0e2eb957eff3c687a to your computer and use it in GitHub Desktop.
class TestWebView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new WebviewScaffold(
appBar: new AppBar(title: Text('Webview'),),
url: new Uri.dataFromString(
"Follow<a class='sup'><sup>pl</sup></a> what was sent down to you from your"
" Lord, and do not follow other guardians apart from Him. Little do <span class='h'>you remind yourselves</span><a class='f'><sup f=2437>1</sup></a>. ",
mimeType: 'text/html')
.toString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment