Created
December 19, 2018 05:13
-
-
Save shyjuzz/d6fd5562f97b36b0e2eb957eff3c687a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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