mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
21 lines
907 B
HTML
21 lines
907 B
HTML
{@inject-html}
|
|
<a name="{{id}}"></a>
|
|
<div class="anchor-container">
|
|
<a class="anchor-button-overlay anchor-button" title="Copy link to clipboard"
|
|
onmouseenter="fixHref(this, '{{id}}');"
|
|
onclick="fixHref(this, '{{id}}'); copyStringToClipboard(this.href);"
|
|
href="#">
|
|
<i class="material-icons copy-image">link</i>
|
|
</a>
|
|
</div>
|
|
<div class="snippet-container">
|
|
<div class="snippet" id="longSnippet{{serial}}">
|
|
{{description}}
|
|
<iframe class="snippet-dartpad" src="https://dartpad.dev/embed-flutter.html?split=60&run=true&null_safety=true&sample_id={{id}}&sample_channel={{channel}}"></iframe>
|
|
<div class="snippet-description">To create a local project with this code sample, run:<br/>
|
|
<span class="snippet-create-command">flutter create --sample={{id}} mysample</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{@end-inject-html}
|