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.
This commit is contained in:
parent
a6d62ca8de
commit
c313083a88
@ -13,7 +13,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<iframe class="snippet-dartpad"
|
<iframe class="snippet-dartpad"
|
||||||
src="https://dartpad.dev/embed-flutter.html?split=60&run=true&null_safety=true&sample_id={{id}}&sample_channel={{channel}}&channel={{channel}}">
|
src="https://dartpad.dev/embed-flutter.html?split=60&run=true&sample_id={{id}}&sample_channel={{channel}}&channel={{channel}}">
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
{@end-inject-html}
|
{@end-inject-html}
|
@ -444,7 +444,6 @@ void sanityCheckDocs([Platform platform = const LocalPlatform()]) {
|
|||||||
final List<String> argumentRegExps = <String>[
|
final List<String> argumentRegExps = <String>[
|
||||||
r'split=\d+',
|
r'split=\d+',
|
||||||
r'run=true',
|
r'run=true',
|
||||||
r'null_safety=true',
|
|
||||||
r'sample_id=widgets\.Listener\.\d+',
|
r'sample_id=widgets\.Listener\.\d+',
|
||||||
'sample_channel=$expectedBranch',
|
'sample_channel=$expectedBranch',
|
||||||
'channel=$expectedBranch',
|
'channel=$expectedBranch',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user