getTRexRunnerHtml method
Gets the html (with javascript) of the Chromium's t-rex runner game. Used in combination with getTRexRunnerCss.
Supported Platforms/Implementations:
- Android native WebView
- iOS
Implementation
Future<String> getTRexRunnerHtml() async {
return await rootBundle.loadString(
"packages/flutter_inappwebview/assets/t_rex_runner/t-rex.html");
}