Unverified Commit c313083a authored by Parker Lougheed's avatar Parker Lougheed Committed by GitHub

Remove null-safety argument from DartPad doc samples (#127345)

Removes the `null_safety=true` query parameter from DartPad samples in the API docs, since all DartPad channels only support null safety now and the parameter does nothing.

## Test

Removing code, but updates the check in the dartdoc tool for the removal.
parent a6d62ca8
......@@ -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}}&amp;channel={{channel}}">
src="https://dartpad.dev/embed-flutter.html?split=60&amp;run=true&amp;sample_id={{id}}&amp;sample_channel={{channel}}&amp;channel={{channel}}">
</iframe>
</div>
{@end-inject-html}
\ No newline at end of file
......@@ -444,7 +444,6 @@ void sanityCheckDocs([Platform platform = const LocalPlatform()]) {
final List<String> argumentRegExps = <String>[
r'split=\d+',
r'run=true',
r'null_safety=true',
r'sample_id=widgets\.Listener\.\d+',
'sample_channel=$expectedBranch',
'channel=$expectedBranch',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment