forked from firka/flutter
Fix is in the second commit. The logic here went out of sync with the logic in the snippets generator from https://github.com/flutter/assets-for-api-docs, whose version was bumped as part of this change.
This commit is contained in:
committed by
GitHub
parent
f3ce9d2fcb
commit
e41ffcb742
@@ -441,7 +441,7 @@ void main() {
|
||||
</code>
|
||||
</pre>
|
||||
''');
|
||||
const String queryParams = 'split=1&run=true&sample_id=widgets.Listener.123&sample_channel=master&channel=master';
|
||||
const String queryParams = 'split=1&run=true&sample_id=widgets.Listener.123&channel=main';
|
||||
widgetsDir.childFile('Listener-class.html').writeAsStringSync('''
|
||||
<iframe class="snippet-dartpad" src="https://dartpad.dev/embed-flutter.html?$queryParams">
|
||||
</iframe>
|
||||
|
||||
Reference in New Issue
Block a user