Skip to content

Sharing guide

Parker Lougheed edited this page Jan 30, 2024 · 4 revisions

DartPad uses GitHub gists to publicly share your creations.

Share with a gist

DartPad looks for a file named main.dart within your gist.

To share your code with others:

  1. Create a gist with a main.dart file.
  2. Direct DartPad to the gist ID, without any username specified. For example, to view in DartPad, use the URL

Some example gists:

Happy sharing!

Share within DartPad

DartPad previously supported sharing and updating Gists directly within the DartPad UI. This is no longer supported. To provide feedback on or support for a potential replacement, check out