Fix samples so that they present properly in the docs#97224
Fix samples so that they present properly in the docs#97224fluttergithubbot merged 2 commits intoflutter:masterfrom
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
a29872c to
d80049d
Compare
|
Gold has detected about 38 new digest(s) on patchset 1. |
4a61ddc to
383d787
Compare
|
Contrary to what the bot thinks, I did add a sanity test that will make sure examples have some source code in them. It's just not in a file that ends in |
383d787 to
60a07cf
Compare
Description
Currently the code samples created with
{@tool sample}(there are only a few of these) present incorrectly: they show an empty tab initially, and you can switch to a tab with the code in it.They should not have tabs at all, and show the code in a blue box.
This PR fixes that.
Related Issues
Tests