tRexRunnerHtml property

  1. @override
Future<String> get tRexRunnerHtml

Gets the html (with javascript) of the Chromium's t-rex runner game. Used in combination with tRexRunnerCss.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

@override
Future<String> get tRexRunnerHtml async => await rootBundle.loadString(
    'packages/flutter_inappwebview/assets/t_rex_runner/t-rex.html');