Add the channel parameter to the Dartpad samples (#115018)

* Add the channel paramter to the Dartpad samples

* Add sanity check test

* Make sample_id more generic
This commit is contained in:
Greg Spencer
2022-11-09 15:47:05 -08:00
committed by GitHub
parent dccc761e53
commit d0491dcf15
2 changed files with 26 additions and 8 deletions

View File

@@ -13,7 +13,7 @@
</p>
</div>
<iframe class="snippet-dartpad"
src="https://dartpad.dev/embed-flutter.html?split=60&amp;run=true&amp;null_safety=true&amp;sample_id={{id}}&amp;sample_channel={{channel}}">
src="https://dartpad.dev/embed-flutter.html?split=60&amp;run=true&amp;null_safety=true&amp;sample_id={{id}}&amp;sample_channel={{channel}}&amp;channel={{channel}}">
</iframe>
</div>
{@end-inject-html}