目录

Contents

DartPad 问题排查

This page describes solutions to problems that might occur when you’re trying to use DartPad, whether at dartpad.dev or in a page that has embedded DartPads.

Embedded DartPads on flutter.dev are slow in Safari

Try using another major browser that Dart supports, such as Firefox, Edge (dev channel), or Chrome. This issue is being tracked in the WebKit issue tracker.

More information

Embedded DartPads don’t appear

The dart.dev homepage and many codelabs have embedded DartPads. If these DartPads don’t appear at all, then try the following:

  • Make sure you’re using a supported browser. DartPad might not work in other browsers, and is known not to work in the default configuration of the Brave browser.

  • If you’re using an ad blocker, disable it.

  • Check whether you’ve disabled third-party tracking cookies (Chrome instructions). If you’ve disabled cookies, change your settings to allow cookies for dartpad.dev.

  • If you repeatedly reload a page that contains embedded DartPads, then you might run into GitHub rate limiting. Within 60 minutes, you should be able to reload the page and see code in the embedded DartPads.

Although DartPad doesn’t use cookies, it does rely on local storage, which browsers usually disable when cookies are disabled.

DartPad doesn’t work in China

Try dartpad.cn.

Other issues

If you have any other problems when using DartPad, create an issue on GitHub.