tRexRunnerCss property

  1. @override
Future<String> get tRexRunnerCss

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

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

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