getTRexRunnerHtml method Null safety

Future<String> getTRexRunnerHtml()

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

Implementation

Future<String> getTRexRunnerHtml() async {
  return await rootBundle
      .loadString("packages/flutter_inappwebview/t_rex_runner/t-rex.html");
}