getTRexRunnerCss method Null safety

Future<String> getTRexRunnerCss()

Gets the css of the Chromium's t-rex runner game. Used in combination with getTRexRunnerHtml.

Supported Platforms/Implementations:

  • Android native WebView
  • iOS

Implementation

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