tRexRunnerCss property

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WebPlatform(), WindowsPlatform(), LinuxPlatform()])
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 WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2
  • Linux WPE WebKit

Use the PlatformInAppWebViewController.isPropertySupported method to check if this property is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(),
    MacOSPlatform(),
    WebPlatform(),
    WindowsPlatform(),
    LinuxPlatform(),
  ],
)
Future<String> get tRexRunnerCss => throw UnimplementedError(
  '${PlatformInAppWebViewControllerProperty.tRexRunnerCss.name} is not implemented on the current platform',
);